@intelligencebank/connectingib 4.0.0 → 5.2.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/README.md +124 -2
- package/dist/components/AssetBrowser/AssetBrowser.d.ts.map +1 -1
- package/dist/components/AssetBrowser/AssetBrowser.types.d.ts +5 -1
- package/dist/components/AssetBrowser/AssetBrowser.types.d.ts.map +1 -1
- package/dist/components/AssetCard/AssetCard.d.ts +6 -2
- package/dist/components/AssetCard/AssetCard.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +35 -0
- package/dist/components/Box/Box.d.ts.map +1 -0
- package/dist/components/Box/Box.types.d.ts +79 -0
- package/dist/components/Box/Box.types.d.ts.map +1 -0
- package/dist/components/Box/index.d.ts +3 -0
- package/dist/components/Box/index.d.ts.map +1 -0
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.d.ts.map +1 -1
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.d.ts +13 -1
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.types.d.ts +10 -2
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.types.d.ts +25 -1
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/CategoryFilters/CategoryFilters.d.ts +23 -0
- package/dist/components/CategoryFilters/CategoryFilters.d.ts.map +1 -0
- package/dist/components/CategoryFilters/CategoryFilters.types.d.ts +61 -0
- package/dist/components/CategoryFilters/CategoryFilters.types.d.ts.map +1 -0
- package/dist/components/CategoryFilters/index.d.ts +22 -0
- package/dist/components/CategoryFilters/index.d.ts.map +1 -0
- package/dist/components/Center/Center.d.ts +25 -0
- package/dist/components/Center/Center.d.ts.map +1 -0
- package/dist/components/Center/Center.types.d.ts +53 -0
- package/dist/components/Center/Center.types.d.ts.map +1 -0
- package/dist/components/Center/index.d.ts +3 -0
- package/dist/components/Center/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +168 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +7 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.types.d.ts +7 -1
- package/dist/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/components/ConnectedAppCard/ConnectedAppCard.d.ts +5 -0
- package/dist/components/ConnectedAppCard/ConnectedAppCard.d.ts.map +1 -0
- package/dist/components/ConnectedAppCard/ConnectedAppCard.types.d.ts +136 -0
- package/dist/components/ConnectedAppCard/ConnectedAppCard.types.d.ts.map +1 -0
- package/dist/components/ConnectedAppCard/index.d.ts +3 -0
- package/dist/components/ConnectedAppCard/index.d.ts.map +1 -0
- package/dist/components/CreateReview/CreateReview.d.ts +44 -0
- package/dist/components/CreateReview/CreateReview.d.ts.map +1 -0
- package/dist/components/CreateReview/CreateReview.types.d.ts +180 -0
- package/dist/components/CreateReview/CreateReview.types.d.ts.map +1 -0
- package/dist/components/CreateReview/index.d.ts +3 -0
- package/dist/components/CreateReview/index.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +7 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/Divider.types.d.ts +37 -0
- package/dist/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +3 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/DropZone/DropZone.d.ts.map +1 -1
- package/dist/components/DropZone/DropZone.types.d.ts +7 -1
- package/dist/components/DropZone/DropZone.types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +10 -8
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +7 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts +40 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +3 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/FieldLabel/FieldLabel.d.ts +1 -1
- package/dist/components/FieldLabel/FieldLabel.d.ts.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.types.d.ts +9 -1
- package/dist/components/FieldLabel/FieldLabel.types.d.ts.map +1 -1
- package/dist/components/FiltersPanel/FiltersPanel.d.ts.map +1 -1
- package/dist/components/FiltersPanel/FiltersPanel.types.d.ts +9 -1
- package/dist/components/FiltersPanel/FiltersPanel.types.d.ts.map +1 -1
- package/dist/components/FolderCard/FolderCard.d.ts +6 -2
- package/dist/components/FolderCard/FolderCard.d.ts.map +1 -1
- package/dist/components/FolderTree/FolderTree.d.ts.map +1 -1
- package/dist/components/FolderTree/FolderTree.types.d.ts +5 -1
- package/dist/components/FolderTree/FolderTree.types.d.ts.map +1 -1
- package/dist/components/FormControl/FormControl.d.ts.map +1 -1
- package/dist/components/FormControl/FormControl.types.d.ts +9 -1
- package/dist/components/FormControl/FormControl.types.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/Grid.types.d.ts +10 -2
- package/dist/components/Grid/Grid.types.d.ts.map +1 -1
- package/dist/components/HStack/HStack.d.ts +24 -0
- package/dist/components/HStack/HStack.d.ts.map +1 -0
- package/dist/components/HStack/HStack.types.d.ts +19 -0
- package/dist/components/HStack/HStack.types.d.ts.map +1 -0
- package/dist/components/HStack/index.d.ts +3 -0
- package/dist/components/HStack/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.types.d.ts +9 -1
- package/dist/components/Icon/Icon.types.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.types.d.ts +19 -16
- package/dist/components/Input/Input.types.d.ts.map +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/LatestReview/FieldSelectionDialog.d.ts +22 -0
- package/dist/components/LatestReview/FieldSelectionDialog.d.ts.map +1 -0
- package/dist/components/LatestReview/LatestReview.d.ts +37 -0
- package/dist/components/LatestReview/LatestReview.d.ts.map +1 -0
- package/dist/components/LatestReview/LatestReview.types.d.ts +169 -0
- package/dist/components/LatestReview/LatestReview.types.d.ts.map +1 -0
- package/dist/components/LatestReview/index.d.ts +4 -0
- package/dist/components/LatestReview/index.d.ts.map +1 -0
- package/dist/components/LinearLoading/LinearLoading.d.ts.map +1 -1
- package/dist/components/LinearLoading/LinearLoading.types.d.ts +5 -1
- package/dist/components/LinearLoading/LinearLoading.types.d.ts.map +1 -1
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +25 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts.map +1 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.types.d.ts +69 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.types.d.ts.map +1 -0
- package/dist/components/LoadingPlaceholder/index.d.ts +3 -0
- package/dist/components/LoadingPlaceholder/index.d.ts.map +1 -0
- package/dist/components/LoginForm/LoginForm.d.ts.map +1 -1
- package/dist/components/LoginForm/LoginForm.types.d.ts +9 -1
- package/dist/components/LoginForm/LoginForm.types.d.ts.map +1 -1
- package/dist/components/Message/Message.d.ts +18 -13
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Message/Message.types.d.ts +119 -4
- package/dist/components/Message/Message.types.d.ts.map +1 -1
- package/dist/components/Message/SnackbarProvider.d.ts +55 -0
- package/dist/components/Message/SnackbarProvider.d.ts.map +1 -0
- package/dist/components/Message/SnackbarProvider.types.d.ts +101 -0
- package/dist/components/Message/SnackbarProvider.types.d.ts.map +1 -0
- package/dist/components/Message/SnackbarStack.d.ts +33 -0
- package/dist/components/Message/SnackbarStack.d.ts.map +1 -0
- package/dist/components/Message/SnackbarStack.types.d.ts +81 -0
- package/dist/components/Message/SnackbarStack.types.d.ts.map +1 -0
- package/dist/components/Message/index.d.ts +15 -2
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/MetadataDetails/MetadataDetails.d.ts.map +1 -1
- package/dist/components/MetadataDetails/MetadataDetails.types.d.ts +8 -0
- package/dist/components/MetadataDetails/MetadataDetails.types.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +16 -2
- package/dist/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/Multiselect/Multiselect.d.ts.map +1 -1
- package/dist/components/Multiselect/Multiselect.types.d.ts +11 -3
- package/dist/components/Multiselect/Multiselect.types.d.ts.map +1 -1
- package/dist/components/NavBar/NavBar.d.ts +1 -1
- package/dist/components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/components/NavBar/NavBar.types.d.ts +13 -2
- package/dist/components/NavBar/NavBar.types.d.ts.map +1 -1
- package/dist/components/Paginator/Paginator.d.ts +1 -1
- package/dist/components/Paginator/Paginator.d.ts.map +1 -1
- package/dist/components/Paginator/Paginator.types.d.ts +5 -16
- package/dist/components/Paginator/Paginator.types.d.ts.map +1 -1
- package/dist/components/PresetSelector/PresetSelector.d.ts +1 -1
- package/dist/components/PresetSelector/PresetSelector.d.ts.map +1 -1
- package/dist/components/PresetSelector/PresetSelector.types.d.ts +9 -1
- package/dist/components/PresetSelector/PresetSelector.types.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/ReviewDetails/ReviewDetails.d.ts +34 -0
- package/dist/components/ReviewDetails/ReviewDetails.d.ts.map +1 -0
- package/dist/components/ReviewDetails/ReviewDetails.types.d.ts +77 -0
- package/dist/components/ReviewDetails/ReviewDetails.types.d.ts.map +1 -0
- package/dist/components/ReviewDetails/index.d.ts +9 -0
- package/dist/components/ReviewDetails/index.d.ts.map +1 -0
- package/dist/components/ReviewFiles/ReviewFiles.d.ts +16 -0
- package/dist/components/ReviewFiles/ReviewFiles.d.ts.map +1 -0
- package/dist/components/ReviewFiles/ReviewFiles.types.d.ts +91 -0
- package/dist/components/ReviewFiles/ReviewFiles.types.d.ts.map +1 -0
- package/dist/components/ReviewFiles/index.d.ts +33 -0
- package/dist/components/ReviewFiles/index.d.ts.map +1 -0
- package/dist/components/ReviewProcessing/ReviewProcessing.d.ts +37 -0
- package/dist/components/ReviewProcessing/ReviewProcessing.d.ts.map +1 -0
- package/dist/components/ReviewProcessing/ReviewProcessing.types.d.ts +52 -0
- package/dist/components/ReviewProcessing/ReviewProcessing.types.d.ts.map +1 -0
- package/dist/components/ReviewProcessing/index.d.ts +3 -0
- package/dist/components/ReviewProcessing/index.d.ts.map +1 -0
- package/dist/components/ReviewResults/ReviewResults.d.ts +33 -0
- package/dist/components/ReviewResults/ReviewResults.d.ts.map +1 -0
- package/dist/components/ReviewResults/ReviewResults.types.d.ts +56 -0
- package/dist/components/ReviewResults/ReviewResults.types.d.ts.map +1 -0
- package/dist/components/ReviewResults/index.d.ts +9 -0
- package/dist/components/ReviewResults/index.d.ts.map +1 -0
- package/dist/components/RiskCard/RiskCard.d.ts +38 -0
- package/dist/components/RiskCard/RiskCard.d.ts.map +1 -0
- package/dist/components/RiskCard/RiskCard.types.d.ts +98 -0
- package/dist/components/RiskCard/RiskCard.types.d.ts.map +1 -0
- package/dist/components/RiskCard/index.d.ts +3 -0
- package/dist/components/RiskCard/index.d.ts.map +1 -0
- package/dist/components/RiskItemCard/RiskItemCard.d.ts +42 -0
- package/dist/components/RiskItemCard/RiskItemCard.d.ts.map +1 -0
- package/dist/components/RiskItemCard/RiskItemCard.types.d.ts +111 -0
- package/dist/components/RiskItemCard/RiskItemCard.types.d.ts.map +1 -0
- package/dist/components/RiskItemCard/index.d.ts +3 -0
- package/dist/components/RiskItemCard/index.d.ts.map +1 -0
- package/dist/components/SearchForm/SearchForm.d.ts.map +1 -1
- package/dist/components/SearchForm/SearchForm.types.d.ts +5 -1
- package/dist/components/SearchForm/SearchForm.types.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.types.d.ts +13 -18
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/SelectableItem/SelectableItem.d.ts +23 -0
- package/dist/components/SelectableItem/SelectableItem.d.ts.map +1 -0
- package/dist/components/SelectableItem/SelectableItem.types.d.ts +53 -0
- package/dist/components/SelectableItem/SelectableItem.types.d.ts.map +1 -0
- package/dist/components/SelectableItem/index.d.ts +3 -0
- package/dist/components/SelectableItem/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.types.d.ts +17 -8
- package/dist/components/Spinner/Spinner.types.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +39 -0
- package/dist/components/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Stack/Stack.types.d.ts +45 -0
- package/dist/components/Stack/Stack.types.d.ts.map +1 -0
- package/dist/components/Stack/index.d.ts +3 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Status/Status.d.ts.map +1 -1
- package/dist/components/Status/Status.types.d.ts +5 -1
- package/dist/components/Status/Status.types.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.types.d.ts +15 -1
- package/dist/components/Switch/Switch.types.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +2 -2
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.types.d.ts +31 -1
- package/dist/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +16 -2
- package/dist/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +45 -0
- package/dist/components/Typography/Typography.d.ts.map +1 -0
- package/dist/components/Typography/Typography.types.d.ts +140 -0
- package/dist/components/Typography/Typography.types.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +4 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +39 -12
- package/dist/components/index.d.ts.map +1 -1
- package/dist/connectingib.css +1 -1
- package/dist/index.js +2400 -1311
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13851 -10961
- package/dist/index.mjs.map +1 -1
- package/dist/theme/colors.d.ts +29 -29
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/typography.d.ts +8 -5
- package/dist/theme/typography.d.ts.map +1 -1
- package/dist/tokens/index.d.ts +1 -157
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs +23 -96
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/riskReview.d.ts +258 -0
- package/dist/types/riskReview.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/components/Accordion/Accordion.d.ts +0 -32
- package/dist/components/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/Accordion/Accordion.types.d.ts +0 -102
- package/dist/components/Accordion/Accordion.types.d.ts.map +0 -1
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/index.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/AssistiveMessage.d.ts +0 -19
- package/dist/components/AssistiveMessage/AssistiveMessage.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/AssistiveMessage.types.d.ts +0 -19
- package/dist/components/AssistiveMessage/AssistiveMessage.types.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/index.d.ts +0 -7
- package/dist/components/AssistiveMessage/index.d.ts.map +0 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +0 -19
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/dist/components/ErrorMessage/ErrorMessage.types.d.ts +0 -28
- package/dist/components/ErrorMessage/ErrorMessage.types.d.ts.map +0 -1
- package/dist/components/ErrorMessage/index.d.ts +0 -7
- package/dist/components/ErrorMessage/index.d.ts.map +0 -1
- package/dist/components/Snackbar/Snackbar.d.ts +0 -7
- package/dist/components/Snackbar/Snackbar.d.ts.map +0 -1
- package/dist/components/Snackbar/Snackbar.types.d.ts +0 -75
- package/dist/components/Snackbar/Snackbar.types.d.ts.map +0 -1
- package/dist/components/Snackbar/SnackbarProvider.d.ts +0 -7
- package/dist/components/Snackbar/SnackbarProvider.d.ts.map +0 -1
- package/dist/components/Snackbar/index.d.ts +0 -4
- package/dist/components/Snackbar/index.d.ts.map +0 -1
- package/dist/components/WarningMessage/WarningMessage.d.ts +0 -19
- package/dist/components/WarningMessage/WarningMessage.d.ts.map +0 -1
- package/dist/components/WarningMessage/WarningMessage.types.d.ts +0 -28
- package/dist/components/WarningMessage/WarningMessage.types.d.ts.map +0 -1
- package/dist/components/WarningMessage/index.d.ts +0 -7
- package/dist/components/WarningMessage/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -90,11 +90,10 @@ Foundation-level presentation components:
|
|
|
90
90
|
- **Status** - Status indicators
|
|
91
91
|
- **LinearLoading** - Progress bars
|
|
92
92
|
- **Spinner** - Loading spinners
|
|
93
|
-
- **Overlay** - Modal overlays
|
|
94
93
|
- **ActionMenuButtons** - Action button groups
|
|
95
94
|
- **Paginator** - Pagination controls
|
|
96
95
|
- **DropZone** - File upload dropzone
|
|
97
|
-
- **
|
|
96
|
+
- **DataContainerCard** - Titled section container with optional expand/collapse
|
|
98
97
|
|
|
99
98
|
### Integration Components
|
|
100
99
|
|
|
@@ -111,6 +110,129 @@ Domain-specific components for IntelligenceBank integrations:
|
|
|
111
110
|
- **PresetSelector** - Preset selection
|
|
112
111
|
- **SearchForm** - Search interface
|
|
113
112
|
|
|
113
|
+
### Risk Review Integration Components
|
|
114
|
+
|
|
115
|
+
Components for building AI-powered risk review workflows:
|
|
116
|
+
|
|
117
|
+
#### Core Components
|
|
118
|
+
|
|
119
|
+
- **ReviewProcessing** - Processing/loading overlay for single or batch reviews with progress indicators
|
|
120
|
+
- **ReviewDetails** - Displays review metadata (type, file, filters, timestamp, ID)
|
|
121
|
+
- **ReviewResults** - Displays risk findings with status and expandable multi-file sections
|
|
122
|
+
- **ReviewFiles** - File list with single/multiple selection, removal, and validation errors
|
|
123
|
+
- **CategoryFilters** - Dynamic filter dropdowns (single/multi-select) from API categories
|
|
124
|
+
|
|
125
|
+
#### Composite Components
|
|
126
|
+
|
|
127
|
+
- **CreateReview** - Complete review creation form with platform modes (extension/webapp)
|
|
128
|
+
- **LatestReview** - Complete results view with actions and Send to IB integration
|
|
129
|
+
|
|
130
|
+
#### Usage Example
|
|
131
|
+
|
|
132
|
+
```tsx
|
|
133
|
+
import {
|
|
134
|
+
CreateReview,
|
|
135
|
+
LatestReview,
|
|
136
|
+
ReviewProcessing,
|
|
137
|
+
ReviewDetails,
|
|
138
|
+
ReviewResults,
|
|
139
|
+
ReviewFiles,
|
|
140
|
+
CategoryFilters,
|
|
141
|
+
type ReviewContentType,
|
|
142
|
+
type RiskItem,
|
|
143
|
+
type ReviewFileItem,
|
|
144
|
+
} from '@intelligencebank/connectingib';
|
|
145
|
+
|
|
146
|
+
// Composite component for review creation
|
|
147
|
+
function ReviewCreationPage() {
|
|
148
|
+
return (
|
|
149
|
+
<CreateReview
|
|
150
|
+
platform="webapp"
|
|
151
|
+
files={files}
|
|
152
|
+
onFilesChange={setFiles}
|
|
153
|
+
categories={categories}
|
|
154
|
+
selectedCategories={selectedCategories}
|
|
155
|
+
onCategoryChange={handleCategoryChange}
|
|
156
|
+
onSubmit={handleSubmit}
|
|
157
|
+
isSubmitting={isSubmitting}
|
|
158
|
+
/>
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Composite component for results display
|
|
163
|
+
function ReviewResultsPage() {
|
|
164
|
+
return (
|
|
165
|
+
<LatestReview
|
|
166
|
+
reviewData={reviewData}
|
|
167
|
+
onSendToIB={handleSendToIB}
|
|
168
|
+
isSending={isSending}
|
|
169
|
+
/>
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Building blocks for custom layouts
|
|
174
|
+
function CustomReviewLayout() {
|
|
175
|
+
return (
|
|
176
|
+
<>
|
|
177
|
+
<ReviewProcessing
|
|
178
|
+
isProcessing={isProcessing}
|
|
179
|
+
mode="multi"
|
|
180
|
+
progressData={progressData}
|
|
181
|
+
/>
|
|
182
|
+
<ReviewDetails
|
|
183
|
+
contentType="document"
|
|
184
|
+
fileName="report.pdf"
|
|
185
|
+
timestamp={new Date()}
|
|
186
|
+
reviewId="abc123"
|
|
187
|
+
/>
|
|
188
|
+
<CategoryFilters
|
|
189
|
+
categories={categories}
|
|
190
|
+
selectedCategories={selectedCategories}
|
|
191
|
+
onCategoryChange={handleCategoryChange}
|
|
192
|
+
/>
|
|
193
|
+
<ReviewFiles
|
|
194
|
+
files={files}
|
|
195
|
+
mode="multiple"
|
|
196
|
+
onSelect={handleSelect}
|
|
197
|
+
onRemove={handleRemove}
|
|
198
|
+
/>
|
|
199
|
+
<ReviewResults
|
|
200
|
+
risks={risks}
|
|
201
|
+
status="completed"
|
|
202
|
+
mode="single"
|
|
203
|
+
/>
|
|
204
|
+
</>
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
#### Types
|
|
210
|
+
|
|
211
|
+
```tsx
|
|
212
|
+
import type {
|
|
213
|
+
// Content and risk types
|
|
214
|
+
ReviewContentType,
|
|
215
|
+
RiskItem,
|
|
216
|
+
ReviewFileItem,
|
|
217
|
+
ReviewResultData,
|
|
218
|
+
|
|
219
|
+
// Multi-file review types
|
|
220
|
+
MultiFileReviewResultData,
|
|
221
|
+
MultiFileProgressData,
|
|
222
|
+
FileProgressData,
|
|
223
|
+
|
|
224
|
+
// Filter types
|
|
225
|
+
FilterCategoryData,
|
|
226
|
+
FilterValueData,
|
|
227
|
+
CategorySelection,
|
|
228
|
+
|
|
229
|
+
// Upload types
|
|
230
|
+
UploadFieldData,
|
|
231
|
+
} from '@intelligencebank/connectingib';
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
See [Storybook](http://localhost:6006) for interactive examples of all Risk Review components.
|
|
235
|
+
|
|
114
236
|
## Theming
|
|
115
237
|
|
|
116
238
|
The library uses Emotion for theming. Wrap your app with `ThemeProvider`:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetBrowser.d.ts","sourceRoot":"","sources":["../../../src/components/AssetBrowser/AssetBrowser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAOpD,OAAO,KAAK,EAAE,iBAAiB,EAAkB,MAAM,sBAAsB,CAAC;AAyQ9E;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"AssetBrowser.d.ts","sourceRoot":"","sources":["../../../src/components/AssetBrowser/AssetBrowser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAOpD,OAAO,KAAK,EAAE,iBAAiB,EAAkB,MAAM,sBAAsB,CAAC;AAyQ9E;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+MpD,CAAC"}
|
|
@@ -66,7 +66,11 @@ export interface AssetBrowserProps {
|
|
|
66
66
|
onPageChange?: (page: number) => void;
|
|
67
67
|
/** Additional CSS classes */
|
|
68
68
|
className?: string;
|
|
69
|
-
/** Test ID for testing */
|
|
69
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
70
70
|
'data-testid'?: string;
|
|
71
|
+
/** Test identifier for automated testing */
|
|
72
|
+
dataTestId?: string;
|
|
73
|
+
/** Data identifier for ib-ui compatibility */
|
|
74
|
+
dataId?: string;
|
|
71
75
|
}
|
|
72
76
|
//# sourceMappingURL=AssetBrowser.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetBrowser.types.d.ts","sourceRoot":"","sources":["../../../src/components/AssetBrowser/AssetBrowser.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+BAA+B;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,qCAAqC;IACrC,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1
|
+
{"version":3,"file":"AssetBrowser.types.d.ts","sourceRoot":"","sources":["../../../src/components/AssetBrowser/AssetBrowser.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+BAA+B;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,wBAAwB;IACxB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAC;IACrC,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC/C,uCAAuC;IACvC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,yBAAyB;IACzB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,4BAA4B;IAC5B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC,gCAAgC;IAChC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,+BAA+B;IAC/B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,yBAAyB;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -19,8 +19,12 @@ export interface AssetCardProps {
|
|
|
19
19
|
allowedActions?: string[];
|
|
20
20
|
/** Custom className */
|
|
21
21
|
className?: string;
|
|
22
|
-
/** Test ID for testing */
|
|
22
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
23
23
|
'data-testid'?: string;
|
|
24
|
+
/** Test identifier for automated testing */
|
|
25
|
+
dataTestId?: string;
|
|
26
|
+
/** Data identifier for ib-ui compatibility */
|
|
27
|
+
dataId?: string;
|
|
24
28
|
/** Enable drag-and-drop functionality */
|
|
25
29
|
draggable?: boolean;
|
|
26
30
|
/** Callback when drag starts */
|
|
@@ -40,7 +44,7 @@ export interface AssetCardProps {
|
|
|
40
44
|
* Based on IntelligenceBank imagecard.jsx
|
|
41
45
|
*/
|
|
42
46
|
export declare const AssetCard: {
|
|
43
|
-
({ asset, selected, onSelect, onDownload, onInsertLink, onCopy, onGoto, allowedActions, className, "data-testid": testId, draggable, onDragStart, onDragEnd, presets, selectedPresetId, onPresetChange, }: AssetCardProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
({ asset, selected, onSelect, onDownload, onInsertLink, onCopy, onGoto, allowedActions, className, "data-testid": testId, dataTestId, dataId, draggable, onDragStart, onDragEnd, presets, selectedPresetId, onPresetChange, }: AssetCardProps): import("react/jsx-runtime").JSX.Element;
|
|
44
48
|
displayName: string;
|
|
45
49
|
};
|
|
46
50
|
//# sourceMappingURL=AssetCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetCard.d.ts","sourceRoot":"","sources":["../../../src/components/AssetCard/AssetCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAWjD,MAAM,WAAW,cAAc;IAC7B,iBAAiB;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mCAAmC;IACnC,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,sCAAsC;IACtC,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,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,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACvD,8BAA8B;IAC9B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrD,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,6CAA6C;IAC7C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AA+HD;;;;GAIG;AACH,eAAO,MAAM,SAAS;mOAmBnB,cAAc;;CAkNhB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BoxProps } from './Box.types';
|
|
2
|
+
/**
|
|
3
|
+
* Box component - A basic container with spacing and visual styling props
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* // Padding on all sides
|
|
8
|
+
* <Box p={4}>
|
|
9
|
+
* <Content />
|
|
10
|
+
* </Box>
|
|
11
|
+
*
|
|
12
|
+
* // Horizontal and vertical padding
|
|
13
|
+
* <Box px={4} py={2}>
|
|
14
|
+
* <Content />
|
|
15
|
+
* </Box>
|
|
16
|
+
*
|
|
17
|
+
* // Individual spacing values
|
|
18
|
+
* <Box pt={4} pb={2} ml={3}>
|
|
19
|
+
* <Content />
|
|
20
|
+
* </Box>
|
|
21
|
+
*
|
|
22
|
+
* // As a section element
|
|
23
|
+
* <Box as="section" p={4} mb={3}>
|
|
24
|
+
* <Content />
|
|
25
|
+
* </Box>
|
|
26
|
+
*
|
|
27
|
+
* // Accented variant with custom color (for branded sections)
|
|
28
|
+
* <Box variant="accented" accentColor="#6161FF" p={5} borderRadius="md">
|
|
29
|
+
* <BrandedContent />
|
|
30
|
+
* </Box>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare const Box: import('react').ForwardRefExoticComponent<BoxProps & import('react').RefAttributes<HTMLElement>>;
|
|
34
|
+
export default Box;
|
|
35
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAiC,MAAM,aAAa,CAAC;AA6E3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,GAAG,kGAqEf,CAAC;AAIF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ReactNode, HTMLAttributes, ElementType } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Spacing value - can be a theme spacing index (number) or a CSS value (string)
|
|
4
|
+
*/
|
|
5
|
+
export type SpacingValue = number | string;
|
|
6
|
+
/**
|
|
7
|
+
* Box variant for visual styling
|
|
8
|
+
* - 'default': No visual styling applied
|
|
9
|
+
* - 'accented': Applies gradient background and colored border using accentColor
|
|
10
|
+
*/
|
|
11
|
+
export type BoxVariant = 'default' | 'accented';
|
|
12
|
+
/**
|
|
13
|
+
* Border radius options for Box
|
|
14
|
+
*/
|
|
15
|
+
export type BoxBorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
16
|
+
/**
|
|
17
|
+
* Props for the Box component
|
|
18
|
+
*/
|
|
19
|
+
export interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
20
|
+
/** Box content */
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
/** Padding on all sides */
|
|
23
|
+
p?: SpacingValue;
|
|
24
|
+
/** Horizontal padding (left and right) */
|
|
25
|
+
px?: SpacingValue;
|
|
26
|
+
/** Vertical padding (top and bottom) */
|
|
27
|
+
py?: SpacingValue;
|
|
28
|
+
/** Padding top */
|
|
29
|
+
pt?: SpacingValue;
|
|
30
|
+
/** Padding right */
|
|
31
|
+
pr?: SpacingValue;
|
|
32
|
+
/** Padding bottom */
|
|
33
|
+
pb?: SpacingValue;
|
|
34
|
+
/** Padding left */
|
|
35
|
+
pl?: SpacingValue;
|
|
36
|
+
/** Margin on all sides */
|
|
37
|
+
m?: SpacingValue;
|
|
38
|
+
/** Horizontal margin (left and right) */
|
|
39
|
+
mx?: SpacingValue;
|
|
40
|
+
/** Vertical margin (top and bottom) */
|
|
41
|
+
my?: SpacingValue;
|
|
42
|
+
/** Margin top */
|
|
43
|
+
mt?: SpacingValue;
|
|
44
|
+
/** Margin right */
|
|
45
|
+
mr?: SpacingValue;
|
|
46
|
+
/** Margin bottom */
|
|
47
|
+
mb?: SpacingValue;
|
|
48
|
+
/** Margin left */
|
|
49
|
+
ml?: SpacingValue;
|
|
50
|
+
/**
|
|
51
|
+
* Visual variant of the box
|
|
52
|
+
* - 'default': No visual styling
|
|
53
|
+
* - 'accented': Gradient background and colored border using accentColor
|
|
54
|
+
* @default 'default'
|
|
55
|
+
*/
|
|
56
|
+
variant?: BoxVariant;
|
|
57
|
+
/**
|
|
58
|
+
* Accent color for the 'accented' variant (hex color value)
|
|
59
|
+
* Creates a subtle gradient background and colored border
|
|
60
|
+
* @example '#6161FF'
|
|
61
|
+
*/
|
|
62
|
+
accentColor?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Border radius preset
|
|
65
|
+
* @default 'none'
|
|
66
|
+
*/
|
|
67
|
+
borderRadius?: BoxBorderRadius;
|
|
68
|
+
/** Polymorphic element type */
|
|
69
|
+
as?: ElementType;
|
|
70
|
+
/** Additional CSS classes */
|
|
71
|
+
className?: string;
|
|
72
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
73
|
+
'data-testid'?: string;
|
|
74
|
+
/** Test identifier for automated testing */
|
|
75
|
+
dataTestId?: string;
|
|
76
|
+
/** Data identifier for ib-ui compatibility */
|
|
77
|
+
dataId?: string;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=Box.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.types.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;AAE3C;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IAC7E,kBAAkB;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2BAA2B;IAC3B,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,0CAA0C;IAC1C,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,wCAAwC;IACxC,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,kBAAkB;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,oBAAoB;IACpB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,qBAAqB;IACrB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,mBAAmB;IACnB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,0BAA0B;IAC1B,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,yCAAyC;IACzC,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,uCAAuC;IACvC,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,iBAAiB;IACjB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,mBAAmB;IACnB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,oBAAoB;IACpB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,kBAAkB;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,+BAA+B;IAC/B,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserLoginConfirmation.d.ts","sourceRoot":"","sources":["../../../src/components/BrowserLoginConfirmation/BrowserLoginConfirmation.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEtF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"BrowserLoginConfirmation.d.ts","sourceRoot":"","sources":["../../../src/components/BrowserLoginConfirmation/BrowserLoginConfirmation.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEtF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,0HA0FpC,CAAC;AAIF,eAAe,wBAAwB,CAAC"}
|
|
@@ -29,13 +29,25 @@ export interface BrowserLoginConfirmationProps {
|
|
|
29
29
|
* Callback when user clicks Back button
|
|
30
30
|
*/
|
|
31
31
|
onBack: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Error message to display (e.g., SSO login failed)
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
32
36
|
/**
|
|
33
37
|
* Additional class name for the wrapper
|
|
34
38
|
*/
|
|
35
39
|
className?: string;
|
|
36
40
|
/**
|
|
37
|
-
* Test ID for testing
|
|
41
|
+
* Test ID for testing (deprecated, use dataTestId)
|
|
38
42
|
*/
|
|
39
43
|
'data-testid'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Test identifier for automated testing
|
|
46
|
+
*/
|
|
47
|
+
dataTestId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Data identifier for ib-ui compatibility
|
|
50
|
+
*/
|
|
51
|
+
dataId?: string;
|
|
40
52
|
}
|
|
41
53
|
//# sourceMappingURL=BrowserLoginConfirmation.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserLoginConfirmation.types.d.ts","sourceRoot":"","sources":["../../../src/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BrowserLoginConfirmation.types.d.ts","sourceRoot":"","sources":["../../../src/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAuiBlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,MAAM,2GA6HlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Visual variants for the Button component
|
|
5
5
|
* Extended to match ib-ui platform variants
|
|
6
6
|
*/
|
|
7
|
-
export type ButtonVariant = 'primary' | 'primaryInverse' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'positive' | 'danger' | 'destructive' | 'outlinePrimary' | 'outlineSecondary' | 'outlineSuccess' | 'outlineError' | 'outlineDanger' | 'outlineWarning';
|
|
7
|
+
export type ButtonVariant = 'primary' | 'primaryInverse' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'ghostDanger' | 'positive' | 'danger' | 'destructive' | 'link' | 'outlinePrimary' | 'outlineSecondary' | 'outlineSuccess' | 'outlineError' | 'outlineDanger' | 'outlineWarning';
|
|
8
8
|
/**
|
|
9
9
|
* Font weight options for button text
|
|
10
10
|
*/
|
|
@@ -57,8 +57,12 @@ interface BaseButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
57
57
|
className?: string;
|
|
58
58
|
/** Accessible label */
|
|
59
59
|
'aria-label'?: string;
|
|
60
|
-
/** Test ID for testing */
|
|
60
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
61
61
|
'data-testid'?: string;
|
|
62
|
+
/** Test identifier for automated testing */
|
|
63
|
+
dataTestId?: string;
|
|
64
|
+
/** Data identifier for ib-ui compatibility */
|
|
65
|
+
dataId?: string;
|
|
62
66
|
/** Active/pressed state for toggle buttons */
|
|
63
67
|
active?: boolean;
|
|
64
68
|
/** Tooltip content - wraps button in Tooltip component */
|
|
@@ -75,6 +79,10 @@ interface BaseButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
75
79
|
fontWeight?: ButtonFontWeight;
|
|
76
80
|
/** Custom outline color for outline variants (CSS color value) */
|
|
77
81
|
outlineColor?: string;
|
|
82
|
+
/** Custom background color for solid variants (CSS color value) */
|
|
83
|
+
backgroundColor?: string;
|
|
84
|
+
/** Custom text color for solid variants (CSS color value) */
|
|
85
|
+
textColor?: string;
|
|
78
86
|
}
|
|
79
87
|
/**
|
|
80
88
|
* Button with children (text content)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,gBAAgB,GAChB,WAAW,GACX,kBAAkB,GAClB,OAAO,GACP,cAAc,GACd,UAAU,GACV,QAAQ,GACR,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC;AAErB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,eAAgB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IACzF,qBAAqB;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,mBAAmB;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,wBAAwB;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oDAAoD;IACpD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iCAAiC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,oBAAoB;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,gBAAgB,GAChB,WAAW,GACX,kBAAkB,GAClB,OAAO,GACP,cAAc,GACd,aAAa,GACb,UAAU,GACV,QAAQ,GACR,aAAa,GACb,MAAM,GACN,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC;AAErB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD;;GAEG;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AC,EAAE,MAAM,CAAC;IAGhB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,6CAA6C;IAC7C,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kCAAkC;IAClC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,eAAe;IAClD,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,UAAU,cAAe,SAAQ,eAAe;IAC9C,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,6CAA6C;IAC7C,IAAI,EAAE,SAAS,CAAC;IAChB,yDAAyD;IACzD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAwTtB,QAAA,MAAM,iBAAiB;;;;;CAKrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -26,30 +26,54 @@ export interface CardProps {
|
|
|
26
26
|
'aria-label'?: string;
|
|
27
27
|
/** ARIA disabled state */
|
|
28
28
|
'aria-disabled'?: boolean;
|
|
29
|
-
/** Test ID */
|
|
29
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
30
30
|
'data-testid'?: string;
|
|
31
|
+
/** Test identifier for automated testing */
|
|
32
|
+
dataTestId?: string;
|
|
33
|
+
/** Data identifier for ib-ui compatibility */
|
|
34
|
+
dataId?: string;
|
|
31
35
|
}
|
|
32
36
|
export interface CardHeaderProps {
|
|
33
37
|
children: ReactNode;
|
|
34
38
|
className?: string;
|
|
39
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
35
40
|
'data-testid'?: string;
|
|
41
|
+
/** Test identifier for automated testing */
|
|
42
|
+
dataTestId?: string;
|
|
43
|
+
/** Data identifier for ib-ui compatibility */
|
|
44
|
+
dataId?: string;
|
|
36
45
|
}
|
|
37
46
|
export interface CardMediaProps {
|
|
38
47
|
src: string;
|
|
39
48
|
alt: string;
|
|
40
49
|
aspectRatio?: '1:1' | '4:3' | '16:9' | '3:2';
|
|
41
50
|
className?: string;
|
|
51
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
42
52
|
'data-testid'?: string;
|
|
53
|
+
/** Test identifier for automated testing */
|
|
54
|
+
dataTestId?: string;
|
|
55
|
+
/** Data identifier for ib-ui compatibility */
|
|
56
|
+
dataId?: string;
|
|
43
57
|
}
|
|
44
58
|
export interface CardContentProps {
|
|
45
59
|
children: ReactNode;
|
|
46
60
|
className?: string;
|
|
61
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
47
62
|
'data-testid'?: string;
|
|
63
|
+
/** Test identifier for automated testing */
|
|
64
|
+
dataTestId?: string;
|
|
65
|
+
/** Data identifier for ib-ui compatibility */
|
|
66
|
+
dataId?: string;
|
|
48
67
|
}
|
|
49
68
|
export interface CardActionsProps {
|
|
50
69
|
children: ReactNode;
|
|
51
70
|
align?: 'left' | 'right' | 'center' | 'space-between';
|
|
52
71
|
className?: string;
|
|
72
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
53
73
|
'data-testid'?: string;
|
|
74
|
+
/** Test identifier for automated testing */
|
|
75
|
+
dataTestId?: string;
|
|
76
|
+
/** Data identifier for ib-ui compatibility */
|
|
77
|
+
dataId?: string;
|
|
54
78
|
}
|
|
55
79
|
//# sourceMappingURL=Card.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,MAAM,WAAW,SAAS;IACxB,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB;IACrB,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC7C,kDAAkD;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACtC,oBAAoB;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD,2BAA2B;IAC3B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC5D,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC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ACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CategoryFiltersProps } from './CategoryFilters.types';
|
|
2
|
+
/**
|
|
3
|
+
* CategoryFilters component - Displays filter category dropdowns
|
|
4
|
+
*
|
|
5
|
+
* EXACT copy of FilterSection styling from web-app-risk-reviews
|
|
6
|
+
*
|
|
7
|
+
* Displays each category as a Select (single) or Multiselect (multiple) component.
|
|
8
|
+
* Required categories show orange asterisk indicator.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <CategoryFilters
|
|
13
|
+
* categories={categories}
|
|
14
|
+
* selectedValues={selectedValues}
|
|
15
|
+
* onSelect={handleSelect}
|
|
16
|
+
* isLoading={isLoading}
|
|
17
|
+
* loadError={loadError}
|
|
18
|
+
* />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const CategoryFilters: React.FC<CategoryFiltersProps>;
|
|
22
|
+
export default CategoryFilters;
|
|
23
|
+
//# sourceMappingURL=CategoryFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryFilters.d.ts","sourceRoot":"","sources":["../../../src/components/CategoryFilters/CategoryFilters.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAuC,MAAM,yBAAyB,CAAC;AA8LzG;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuE1D,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Filter value in a category - matches web-app-risk-reviews FilterValue type
|
|
4
|
+
*/
|
|
5
|
+
export interface FilterValue {
|
|
6
|
+
uuid: string;
|
|
7
|
+
value: string;
|
|
8
|
+
sortOrder: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Filter category - matches web-app-risk-reviews FilterCategory type
|
|
12
|
+
*/
|
|
13
|
+
export interface FilterCategory {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
required: '0' | '1';
|
|
17
|
+
multiple: '0' | '1';
|
|
18
|
+
filterValues: FilterValue[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Selection callback parameters
|
|
22
|
+
*/
|
|
23
|
+
export interface FilterSelectionParams {
|
|
24
|
+
categoryId: string;
|
|
25
|
+
categoryName: string;
|
|
26
|
+
values: string[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Size variants for CategoryFilters (sm: 32px, md: 36px)
|
|
30
|
+
*/
|
|
31
|
+
export type CategoryFiltersSize = 'sm' | 'md';
|
|
32
|
+
/**
|
|
33
|
+
* Props for CategoryFilters component
|
|
34
|
+
*
|
|
35
|
+
* EXACT match of FilterSection props from web-app-risk-reviews
|
|
36
|
+
*/
|
|
37
|
+
export interface CategoryFiltersProps {
|
|
38
|
+
/** Categories to display */
|
|
39
|
+
categories: FilterCategory[];
|
|
40
|
+
/** Currently selected values per category (categoryId -> values) */
|
|
41
|
+
selectedValues: Record<string, string[]>;
|
|
42
|
+
/** Callback when a filter selection changes */
|
|
43
|
+
onSelect: (categoryId: string, categoryName: string, values: string[]) => void;
|
|
44
|
+
/** Whether filters are loading */
|
|
45
|
+
isLoading?: boolean;
|
|
46
|
+
/** Error message if loading failed */
|
|
47
|
+
loadError?: string | null;
|
|
48
|
+
/** Whether to disable all filters */
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
/** Size variant for all Select/Multiselect components (sm: 32px, md: 36px) */
|
|
51
|
+
size?: CategoryFiltersSize;
|
|
52
|
+
/** Additional CSS class */
|
|
53
|
+
className?: string;
|
|
54
|
+
/** Data test ID for testing */
|
|
55
|
+
dataTestId?: string;
|
|
56
|
+
/** Data ID for analytics */
|
|
57
|
+
dataId?: string;
|
|
58
|
+
/** Inline styles */
|
|
59
|
+
style?: CSSProperties;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=CategoryFilters.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryFilters.types.d.ts","sourceRoot":"","sources":["../../../src/components/CategoryFilters/CategoryFilters.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,GAAG,GAAG,CAAC;IACpB,QAAQ,EAAE,GAAG,GAAG,GAAG,CAAC;IACpB,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,4BAA4B;IAC5B,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACzC,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC/E,kCAAkC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CategoryFilters Component
|
|
3
|
+
*
|
|
4
|
+
* Display and manage category-based filter selections.
|
|
5
|
+
* EXACT match of FilterSection styling from web-app-risk-reviews.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* import { CategoryFilters } from '@intelligencebank/connectingib';
|
|
10
|
+
*
|
|
11
|
+
* <CategoryFilters
|
|
12
|
+
* categories={categories}
|
|
13
|
+
* selectedValues={selectedValues}
|
|
14
|
+
* onSelect={handleSelect}
|
|
15
|
+
* isLoading={isLoading}
|
|
16
|
+
* loadError={loadError}
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export { CategoryFilters } from './CategoryFilters';
|
|
21
|
+
export type { CategoryFiltersProps, CategoryFiltersSize, FilterCategory, FilterValue, FilterSelectionParams, } from './CategoryFilters.types';
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CategoryFilters/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,qBAAqB,GACtB,MAAM,yBAAyB,CAAC"}
|