@juspay/blend-design-system 0.0.29-beta → 0.0.30-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.
- package/dist/assets/main.css +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +3 -2
- package/dist/components/Accordion/accessibility/AccordionAccessibility.d.ts +5 -0
- package/dist/components/Accordion/accessibility/AccordionAccessibilityReport.d.ts +2 -0
- package/dist/components/Accordion/accessibility/index.d.ts +2 -0
- package/dist/components/Alert/accessibility/AlertAccessibility.d.ts +5 -0
- package/dist/components/Alert/accessibility/AlertAccessibilityReport.d.ts +44 -0
- package/dist/components/Alert/accessibility/index.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts +4 -0
- package/dist/components/Avatar/accessibility/AvatarAccessibility.d.ts +5 -0
- package/dist/components/Avatar/accessibility/AvatarAccessibilityReport.d.ts +2 -0
- package/dist/components/Avatar/accessibility/index.d.ts +2 -0
- package/dist/components/Avatar/avatarUtils.d.ts +1 -1
- package/dist/components/Avatar/types.d.ts +5 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +6 -3
- package/dist/components/AvatarGroup/accessibility/AvatarGroupAccessibility.d.ts +5 -0
- package/dist/components/AvatarGroup/accessibility/AvatarGroupAccessibilityReport.d.ts +2 -0
- package/dist/components/AvatarGroup/accessibility/index.d.ts +2 -0
- package/dist/components/AvatarGroup/avatarGroupUtils.d.ts +4 -16
- package/dist/components/AvatarGroup/types.d.ts +5 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -2
- package/dist/components/Breadcrumb/BreadcrumbSkeleton.d.ts +8 -0
- package/dist/components/Breadcrumb/accessibility/BreadcrumbAccessibility.d.ts +5 -0
- package/dist/components/Breadcrumb/accessibility/BreadcrumbAccessibilityReport.d.ts +44 -0
- package/dist/components/Breadcrumb/accessibility/index.d.ts +3 -0
- package/dist/components/Breadcrumb/types.d.ts +6 -0
- package/dist/components/Button/accessibility/ButtonAccessibility.d.ts +5 -0
- package/dist/components/Button/accessibility/ButtonAccessibilityReport.d.ts +44 -0
- package/dist/components/Button/accessibility/index.d.ts +4 -0
- package/dist/components/ButtonGroup/accessibility/ButtonGroupAccessibility.d.ts +5 -0
- package/dist/components/ButtonGroup/accessibility/ButtonGroupAccessibilityReport.d.ts +44 -0
- package/dist/components/ButtonGroup/accessibility/index.d.ts +4 -0
- package/dist/components/Card/CardComponents.d.ts +3 -0
- package/dist/components/Card/CardSkeleton.d.ts +8 -0
- package/dist/components/Card/accessibility/CardAccessibility.d.ts +5 -0
- package/dist/components/Card/accessibility/CardAccessibilityReport.d.ts +2 -0
- package/dist/components/Charts/ChartsSkeleton.d.ts +7 -0
- package/dist/components/Charts/accessibility/ChartsAccessibility.d.ts +5 -0
- package/dist/components/Charts/accessibility/ChartsAccessibilityReport.d.ts +2 -0
- package/dist/components/Charts/types.d.ts +7 -0
- package/dist/components/ChatInput/accessibility/ChatInputAccessibility.d.ts +5 -0
- package/dist/components/ChatInput/accessibility/ChatInputAccessibilityReport.d.ts +44 -0
- package/dist/components/ChatInput/accessibility/index.d.ts +4 -0
- package/dist/components/ChatInput/utils.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/Checkbox/accessibility/CheckboxAccessibility.d.ts +5 -0
- package/dist/components/Checkbox/accessibility/CheckboxAccessibilityReport.d.ts +44 -0
- package/dist/components/Checkbox/accessibility/index.d.ts +3 -0
- package/dist/components/Checkbox/checkboxUtils.d.ts +10 -0
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/types.d.ts +1 -0
- package/dist/components/CodeBlock/accessibility/CodeBlockAccessibility.d.ts +5 -0
- package/dist/components/CodeBlock/accessibility/CodeBlockAccessibilityReport.d.ts +2 -0
- package/dist/components/DataTable/TableBody/types.d.ts +5 -0
- package/dist/components/DataTable/TableCell/types.d.ts +8 -0
- package/dist/components/DataTable/TableHeader/DraggableColumnHeader.d.ts +2 -2
- package/dist/components/DataTable/TableHeader/FilterComponents.d.ts +3 -0
- package/dist/components/DataTable/TableHeader/types.d.ts +9 -0
- package/dist/components/DataTable/accessibility/DataTableAccessibility.d.ts +5 -0
- package/dist/components/DataTable/accessibility/DataTableAccessibilityReport.d.ts +44 -0
- package/dist/components/DataTable/accessibility/index.d.ts +4 -0
- package/dist/components/DataTable/dataTable.tokens.d.ts +2 -0
- package/dist/components/DataTable/types.d.ts +1 -0
- package/dist/components/DateRangePicker/TimeSelector.d.ts +2 -0
- package/dist/components/DateRangePicker/accessibility/DateRangePickerAccessibility.d.ts +5 -0
- package/dist/components/DateRangePicker/accessibility/DateRangePickerAccessibilityReport.d.ts +2 -0
- package/dist/components/DateRangePicker/accessibility/index.d.ts +4 -0
- package/dist/components/Directory/Directory.d.ts +1 -1
- package/dist/components/Directory/NavItem.d.ts +17 -3
- package/dist/components/Directory/Section.d.ts +1 -1
- package/dist/components/Directory/types.d.ts +6 -1
- package/dist/components/Drawer/accessibility/DrawerAccessibility.d.ts +5 -0
- package/dist/components/Drawer/accessibility/DrawerAccessibilityReport.d.ts +2 -0
- package/dist/components/Drawer/components/DrawerBase.d.ts +6 -2
- package/dist/components/Drawer/types.d.ts +12 -0
- package/dist/components/Inputs/DropdownInput/accessibility/DropdownInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/DropdownInput/accessibility/DropdownInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/MultiValueInput/MultiValueInput.d.ts +1 -1
- package/dist/components/Inputs/MultiValueInput/accessibility/MultiValueInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/MultiValueInput/accessibility/MultiValueInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/NumberInput/accessibility/NumberInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/NumberInput/accessibility/NumberInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/NumberInput/types.d.ts +1 -1
- package/dist/components/Inputs/OTPInput/OTPInput.d.ts +1 -1
- package/dist/components/Inputs/OTPInput/accessibility/OTPInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/OTPInput/accessibility/OTPInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/SearchInput/accessibility/SearchInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/SearchInput/accessibility/SearchInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/TextArea/TextArea.d.ts +1 -1
- package/dist/components/Inputs/TextArea/accessibility/TextAreaAccessibility.d.ts +5 -0
- package/dist/components/Inputs/TextArea/accessibility/TextAreaAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/TextInput/TextInput.d.ts +1 -1
- package/dist/components/Inputs/TextInput/accessibility/TextInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/TextInput/accessibility/TextInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/TextInput/types.d.ts +1 -0
- package/dist/components/Inputs/UnitInput/accessibility/UnitInputAccessibility.d.ts +5 -0
- package/dist/components/Inputs/UnitInput/accessibility/UnitInputAccessibilityReport.d.ts +2 -0
- package/dist/components/Inputs/utils/InputFooter/InputFooter.d.ts +5 -1
- package/dist/components/Inputs/utils/InputLabels/InputLabels.d.ts +4 -1
- package/dist/components/KeyValuePair/KeyValuePair.d.ts +2 -1
- package/dist/components/KeyValuePair/accessibility/KeyValuePairAccessibility.d.ts +5 -0
- package/dist/components/KeyValuePair/accessibility/KeyValuePairAccessibilityReport.d.ts +2 -0
- package/dist/components/KeyValuePair/accessibility/index.d.ts +2 -0
- package/dist/components/KeyValuePair/utils.d.ts +1 -1
- package/dist/components/Menu/MenuSkeleton.d.ts +7 -0
- package/dist/components/Menu/accessibility/MenuAccessibility.d.ts +5 -0
- package/dist/components/Menu/accessibility/MenuAccessibilityReport.d.ts +2 -0
- package/dist/components/Menu/accessibility/index.d.ts +2 -0
- package/dist/components/Menu/types.d.ts +6 -5
- package/dist/components/Modal/ModalSkeleton.d.ts +25 -0
- package/dist/components/Modal/accessibility/ModalAccessibility.d.ts +5 -0
- package/dist/components/Modal/accessibility/ModalAccessibilityReport.d.ts +2 -0
- package/dist/components/Modal/types.d.ts +16 -0
- package/dist/components/MultiSelect/MultiSelectMenu.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectSkeleton.d.ts +7 -0
- package/dist/components/MultiSelect/MultiSelectTrigger.d.ts +1 -1
- package/dist/components/MultiSelect/accessibility/MultiSelectAccessibility.d.ts +5 -0
- package/dist/components/MultiSelect/accessibility/MultiSelectAccessibilityReport.d.ts +44 -0
- package/dist/components/MultiSelect/accessibility/index.d.ts +4 -0
- package/dist/components/MultiSelect/types.d.ts +8 -10
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/PopoverFooter.d.ts +5 -1
- package/dist/components/Popover/PopoverHeader.d.ts +7 -1
- package/dist/components/Popover/PopoverSkeleton.d.ts +21 -0
- package/dist/components/Popover/accessibility/PopoverAccessibility.d.ts +5 -0
- package/dist/components/Popover/accessibility/PopoverAccessibilityReport.d.ts +2 -0
- package/dist/components/Popover/types.d.ts +13 -0
- package/dist/components/ProgressBar/accessibility/ProgressBarAccessibility.d.ts +5 -0
- package/dist/components/ProgressBar/accessibility/ProgressBarAccessibilityReport.d.ts +44 -0
- package/dist/components/ProgressBar/types.d.ts +2 -0
- package/dist/components/ProgressBar/utils.d.ts +24 -0
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/StyledRadio.d.ts +2 -0
- package/dist/components/Radio/accessibility/RadioAccessibility.d.ts +5 -0
- package/dist/components/Radio/accessibility/RadioAccessibilityReport.d.ts +44 -0
- package/dist/components/Radio/accessibility/index.d.ts +2 -0
- package/dist/components/Radio/types.d.ts +3 -1
- package/dist/components/Select/types.d.ts +1 -0
- package/dist/components/Sidebar/SidebarHeader.d.ts +1 -0
- package/dist/components/Sidebar/accessibility/SidebarAccessibility.d.ts +5 -0
- package/dist/components/Sidebar/accessibility/SidebarAccessibilityReport.d.ts +2 -0
- package/dist/components/Sidebar/types.d.ts +3 -0
- package/dist/components/SingleSelect/SingleSelect.d.ts +1 -1
- package/dist/components/SingleSelect/SingleSelectMenu.d.ts +3 -7
- package/dist/components/SingleSelect/SingleSelectSkeleton.d.ts +7 -0
- package/dist/components/SingleSelect/SingleSelectTrigger.d.ts +1 -1
- package/dist/components/SingleSelect/accessibility/SingleSelectAccessibility.d.ts +5 -0
- package/dist/components/SingleSelect/accessibility/SingleSelectAccessibilityReport.d.ts +44 -0
- package/dist/components/SingleSelect/accessibility/index.d.ts +2 -0
- package/dist/components/SingleSelect/types.d.ts +6 -5
- package/dist/components/SingleSelect/utils.d.ts +80 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/SkeletonCompound.d.ts +8 -0
- package/dist/components/Skeleton/types.d.ts +4 -0
- package/dist/components/Slider/accessibility/SliderAccessibility.d.ts +5 -0
- package/dist/components/Slider/accessibility/SliderAccessibilityReport.d.ts +44 -0
- package/dist/components/Slider/accessibility/index.d.ts +4 -0
- package/dist/components/Slider/utils.d.ts +24 -2
- package/dist/components/Snackbar/Snackbar.d.ts +1 -4
- package/dist/components/Snackbar/accessibility/SnackbarAccessibility.d.ts +5 -0
- package/dist/components/Snackbar/accessibility/SnackbarAccessibilityReport.d.ts +2 -0
- package/dist/components/Snackbar/accessibility/index.d.ts +2 -0
- package/dist/components/Snackbar/types.d.ts +7 -0
- package/dist/components/SplitTag/SplitTag.d.ts +1 -1
- package/dist/components/SplitTag/accessibility/SplitTagAccessibility.d.ts +5 -0
- package/dist/components/SplitTag/accessibility/SplitTagAccessibilityReport.d.ts +2 -0
- package/dist/components/StatCard/StatCardSkeleton.d.ts +7 -0
- package/dist/components/StatCard/accessibility/StatCardAccessibility.d.ts +5 -0
- package/dist/components/StatCard/accessibility/StatCardAccessibilityReport.d.ts +44 -0
- package/dist/components/StatCard/types.d.ts +3 -2
- package/dist/components/Stepper/accessibility/StepperAccessibility.d.ts +5 -0
- package/dist/components/Stepper/accessibility/StepperAccessibilityReport.d.ts +2 -0
- package/dist/components/Stepper/types.d.ts +1 -0
- package/dist/components/Switch/StyledSwitch.d.ts +3 -0
- package/dist/components/Switch/Switch.d.ts +3 -4
- package/dist/components/Switch/accessibility/SwitchAccessibility.d.ts +5 -0
- package/dist/components/Switch/accessibility/SwitchAccessibilityReport.d.ts +44 -0
- package/dist/components/Switch/accessibility/index.d.ts +3 -0
- package/dist/components/Switch/utils.d.ts +10 -0
- package/dist/components/Tabs/Tabs.d.ts +2 -1
- package/dist/components/Tabs/TabsList.d.ts +1 -1
- package/dist/components/Tabs/TabsTrigger.d.ts +5 -4
- package/dist/components/Tabs/accessibility/TabsAccessibility.d.ts +5 -0
- package/dist/components/Tabs/accessibility/TabsAccessibilityReport.d.ts +2 -0
- package/dist/components/Tabs/accessibility/index.d.ts +2 -0
- package/dist/components/Tabs/types.d.ts +6 -2
- package/dist/components/Tabs/utils.d.ts +4 -2
- package/dist/components/Tags/accessibility/TagAccessibility.d.ts +5 -0
- package/dist/components/Tags/accessibility/TagAccessibilityReport.d.ts +2 -0
- package/dist/components/Tags/tag.tokens.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/accessibility/TooltipAccessibility.d.ts +5 -0
- package/dist/components/Tooltip/accessibility/TooltipAccessibilityReport.d.ts +2 -0
- package/dist/components/Tooltip/types.d.ts +1 -0
- package/dist/components/Topbar/types.d.ts +2 -0
- package/dist/components/Upload/accessibility/UploadAccessibility.d.ts +5 -0
- package/dist/components/Upload/accessibility/UploadAccessibilityReport.d.ts +2 -0
- package/dist/components/Upload/accessibility/index.d.ts +3 -0
- package/dist/components/Upload/types.d.ts +12 -1
- package/dist/components/shared/accessibility/AccessibilityDashboard.d.ts +11 -0
- package/dist/components/shared/accessibility/LightHouse-components/AccordionLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/AlertLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/AvatarGroupLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/AvatarLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/BreadcrumbLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ButtonGroupLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ButtonLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/CardLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ChartsLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ChatInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/CheckboxLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/CodeBlockLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/DrawerLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/DropdownInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/KeyValuePairLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/MenuLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ModalLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/MultiSelectLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/MultiValueInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/NumberInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/OTPInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/PopoverLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/ProgressBarLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/RadioLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SearchInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SidebarLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SingleSelectLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SliderLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SnackbarLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SplitTagLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/StatCardLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/StepperLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/SwitchLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/TabsLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/TagLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/TextAreaLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/TextInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/TooltipLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/UnitInputLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/LightHouse-components/UploadLightHouse.d.ts +2 -0
- package/dist/components/shared/accessibility/index.d.ts +8 -0
- package/dist/components/shared/accessibility/reportGenerator.d.ts +24 -0
- package/dist/components/shared/accessibility/storybookParser.d.ts +25 -0
- package/dist/components/shared/accessibility/testResultsParser.d.ts +22 -0
- package/dist/context/ThemeContext.d.ts +1 -3
- package/dist/context/ThemeProvider.d.ts +1 -4
- package/dist/context/index.d.ts +2 -1
- package/dist/context/initComponentTokens.d.ts +1 -1
- package/dist/context/theme.enum.d.ts +4 -0
- package/dist/context/useComponentToken.d.ts +1 -2
- package/dist/global-utils/GlobalUtils.d.ts +2 -0
- package/dist/main.d.ts +0 -1
- package/dist/main.js +47907 -49466
- package/package.json +9 -8
- package/dist/components/DataTable/DataTable.stories.d.ts +0 -16
- package/dist/components/WorkflowCanvas/WorkflowCanvas.d.ts +0 -19
- package/dist/components/WorkflowCanvas/WorkflowControls.d.ts +0 -3
- package/dist/components/WorkflowCanvas/components/NodeContent.d.ts +0 -15
- package/dist/components/WorkflowCanvas/constants.d.ts +0 -42
- package/dist/components/WorkflowCanvas/edges/DefaultEdge.d.ts +0 -3
- package/dist/components/WorkflowCanvas/index.d.ts +0 -12
- package/dist/components/WorkflowCanvas/nodes/DefaultNode.d.ts +0 -3
- package/dist/components/WorkflowCanvas/nodes/InputNode.d.ts +0 -3
- package/dist/components/WorkflowCanvas/nodes/OutputNode.d.ts +0 -3
- package/dist/components/WorkflowCanvas/types.d.ts +0 -79
- package/dist/components/WorkflowCanvas/utils.d.ts +0 -13
- package/dist/components/WorkflowCanvas/workflow.tokens.d.ts +0 -100
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AccordionItemProps, AccordionType, AccordionChevronPosition } from './types';
|
|
2
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & {
|
|
3
4
|
accordionType?: AccordionType;
|
|
4
5
|
chevronPosition?: AccordionChevronPosition;
|
|
5
6
|
isFirst?: boolean;
|
|
6
7
|
isLast?: boolean;
|
|
7
8
|
isIntermediate?: boolean;
|
|
8
9
|
currentValue?: string | string[];
|
|
9
|
-
} &
|
|
10
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
10
11
|
export default AccordionItem;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alert Component Accessibility Report Data
|
|
3
|
+
* WCAG 2.0, 2.1, 2.2 Level A, AA, AAA Compliance Analysis
|
|
4
|
+
*
|
|
5
|
+
* Note: Items marked with "unsure" require manual verification
|
|
6
|
+
* Color contrast ratios verified using actual color values from theme tokens
|
|
7
|
+
*/
|
|
8
|
+
export type WCAGSuccessCriterion = {
|
|
9
|
+
id: string;
|
|
10
|
+
level: 'A' | 'AA' | 'AAA';
|
|
11
|
+
title: string;
|
|
12
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
13
|
+
description: string;
|
|
14
|
+
implementation: string;
|
|
15
|
+
testResults?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilityReport = {
|
|
19
|
+
componentName: string;
|
|
20
|
+
wcagVersion: string;
|
|
21
|
+
reportDate: string;
|
|
22
|
+
conformanceLevel: string;
|
|
23
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
24
|
+
summary: string;
|
|
25
|
+
criteria: WCAGSuccessCriterion[];
|
|
26
|
+
strengths: string[];
|
|
27
|
+
recommendations: string[];
|
|
28
|
+
wcagVersions: {
|
|
29
|
+
'2.0': string[];
|
|
30
|
+
'2.1': string[];
|
|
31
|
+
'2.2': string[];
|
|
32
|
+
};
|
|
33
|
+
testMethodology: {
|
|
34
|
+
automated: string[];
|
|
35
|
+
manual: string[];
|
|
36
|
+
verificationTools: string[];
|
|
37
|
+
wcagLevels: {
|
|
38
|
+
A: string[];
|
|
39
|
+
AA: string[];
|
|
40
|
+
AAA: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const alertAccessibilityReport: AccessibilityReport;
|
|
@@ -9,5 +9,9 @@ declare const Avatar: import('react').ForwardRefExoticComponent<{
|
|
|
9
9
|
onlinePosition?: AvatarOnlinePosition;
|
|
10
10
|
leadingSlot?: React.ReactNode;
|
|
11
11
|
trailingSlot?: React.ReactNode;
|
|
12
|
+
skeleton?: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
variant?: import('../Skeleton').SkeletonVariant;
|
|
15
|
+
};
|
|
12
16
|
} & Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
17
|
export default Avatar;
|
|
@@ -9,6 +9,6 @@ export declare const hexToRgb: (hex: string) => {
|
|
|
9
9
|
* Get a consistent color for an avatar based on the full name/text
|
|
10
10
|
* Uses hash of the entire text to ensure unique colors for different names
|
|
11
11
|
* @param text - The text to generate color from (e.g., name or alt text)
|
|
12
|
-
* @returns A hex color code
|
|
12
|
+
* @returns A hex color code that provides sufficient contrast with white text (#FFFFFF)
|
|
13
13
|
*/
|
|
14
14
|
export declare const getColorFromText: (text: string) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
2
3
|
export declare enum AvatarSize {
|
|
3
4
|
SM = "sm",
|
|
4
5
|
REGULAR = "regular",
|
|
@@ -24,6 +25,10 @@ export type AvatarProps = {
|
|
|
24
25
|
onlinePosition?: AvatarOnlinePosition;
|
|
25
26
|
leadingSlot?: React.ReactNode;
|
|
26
27
|
trailingSlot?: React.ReactNode;
|
|
28
|
+
skeleton?: {
|
|
29
|
+
show: boolean;
|
|
30
|
+
variant?: SkeletonVariant;
|
|
31
|
+
};
|
|
27
32
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
28
33
|
export type StyledAvatarContainerProps = {
|
|
29
34
|
$size: AvatarSize;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { AvatarShape, AvatarSize } from '../Avatar/types';
|
|
3
|
-
declare const AvatarGroup:
|
|
2
|
+
declare const AvatarGroup: import('react').ForwardRefExoticComponent<{
|
|
4
3
|
avatars: import('./types').AvatarData[];
|
|
5
4
|
maxCount?: number;
|
|
6
5
|
size?: AvatarSize;
|
|
7
6
|
shape?: AvatarShape;
|
|
8
7
|
selectedAvatarIds?: (string | number)[];
|
|
9
8
|
onSelectionChange?: (selectedIds: (string | number)[]) => void;
|
|
10
|
-
|
|
9
|
+
skeleton?: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
variant?: import('../Skeleton').SkeletonVariant;
|
|
12
|
+
};
|
|
13
|
+
} & Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
14
|
export default AvatarGroup;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type AvatarGroupAccessibilityProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const AvatarGroupAccessibility: import('react').ForwardRefExoticComponent<AvatarGroupAccessibilityProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default AvatarGroupAccessibility;
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import { default as React
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AvatarData } from './types';
|
|
3
3
|
import { AvatarProps } from '../Avatar/types';
|
|
4
|
-
|
|
5
|
-
id: string;
|
|
6
|
-
text: string;
|
|
7
|
-
hasSlotL?: boolean;
|
|
8
|
-
slotL?: React.ReactNode;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
data?: Record<string, boolean | string | number>;
|
|
11
|
-
}
|
|
4
|
+
import { MenuGroupType } from '../Menu/types';
|
|
12
5
|
/**
|
|
13
|
-
*
|
|
6
|
+
* Creates Menu groups/items from avatar data array
|
|
14
7
|
*/
|
|
15
|
-
export declare const
|
|
16
|
-
/**
|
|
17
|
-
* Creates menu items from avatar data array
|
|
18
|
-
*/
|
|
19
|
-
export declare const createMenuItems: (avatars: AvatarData[], selectedIds: (string | number)[], onSelect: (id: string | number) => void, AvatarComponent: React.ComponentType<AvatarProps>) => MenuItemProps[];
|
|
8
|
+
export declare const createMenuItems: (avatars: AvatarData[], selectedIds: (string | number)[], onSelect: (id: string | number) => void, AvatarComponent: React.ComponentType<AvatarProps>) => MenuGroupType[];
|
|
20
9
|
/**
|
|
21
10
|
* Filters avatars based on search term
|
|
22
11
|
*/
|
|
23
12
|
export declare const filterAvatars: (avatars: AvatarData[], searchTerm: string) => AvatarData[];
|
|
24
|
-
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { AvatarProps, AvatarSize, AvatarShape } from '../Avatar/types';
|
|
3
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
3
4
|
export interface AvatarData extends Omit<AvatarProps, 'className' | 'id'> {
|
|
4
5
|
id: string | number;
|
|
5
6
|
alt?: string;
|
|
@@ -12,6 +13,10 @@ export type AvatarGroupProps = {
|
|
|
12
13
|
shape?: AvatarShape;
|
|
13
14
|
selectedAvatarIds?: (string | number)[];
|
|
14
15
|
onSelectionChange?: (selectedIds: (string | number)[]) => void;
|
|
16
|
+
skeleton?: {
|
|
17
|
+
show: boolean;
|
|
18
|
+
variant?: SkeletonVariant;
|
|
19
|
+
};
|
|
15
20
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
16
21
|
export type StyledAvatarGroupContainerProps = {
|
|
17
22
|
$spacing?: string;
|
|
@@ -25,5 +30,4 @@ export type StyledAvatarWrapperProps = {
|
|
|
25
30
|
export type StyledOverflowCounterProps = {
|
|
26
31
|
$size: AvatarSize;
|
|
27
32
|
$shape: AvatarShape;
|
|
28
|
-
$isOpen: boolean;
|
|
29
33
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { BreadcrumbItemType } from './types';
|
|
1
|
+
import { BreadcrumbItemType, BreadcrumbSkeletonProps } from './types';
|
|
2
2
|
declare const Breadcrumb: {
|
|
3
|
-
({ items }: {
|
|
3
|
+
({ items, skeleton, }: {
|
|
4
4
|
items: BreadcrumbItemType[];
|
|
5
|
+
skeleton?: BreadcrumbSkeletonProps;
|
|
5
6
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
6
7
|
displayName: string;
|
|
7
8
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BreadcrumbTokenType } from './breadcrumb.tokens';
|
|
2
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
3
|
+
declare const BreadcrumbSkeleton: ({ breadcrumbTokens, skeletonVariant, isActive, }: {
|
|
4
|
+
breadcrumbTokens: BreadcrumbTokenType;
|
|
5
|
+
skeletonVariant: SkeletonVariant;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default BreadcrumbSkeleton;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type BreadcrumbAccessibilityProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const BreadcrumbAccessibility: import('react').ForwardRefExoticComponent<BreadcrumbAccessibilityProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default BreadcrumbAccessibility;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Breadcrumb Component Accessibility Report Data
|
|
3
|
+
* WCAG 2.0, 2.1, 2.2 Level A, AA, AAA Compliance Analysis
|
|
4
|
+
*
|
|
5
|
+
* Note: Items marked with "unsure" require manual verification
|
|
6
|
+
* Color contrast ratios verified using actual color values from theme tokens
|
|
7
|
+
*/
|
|
8
|
+
export type WCAGSuccessCriterion = {
|
|
9
|
+
id: string;
|
|
10
|
+
level: 'A' | 'AA' | 'AAA';
|
|
11
|
+
title: string;
|
|
12
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
13
|
+
description: string;
|
|
14
|
+
implementation: string;
|
|
15
|
+
testResults?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilityReport = {
|
|
19
|
+
componentName: string;
|
|
20
|
+
wcagVersion: string;
|
|
21
|
+
reportDate: string;
|
|
22
|
+
conformanceLevel: string;
|
|
23
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
24
|
+
summary: string;
|
|
25
|
+
criteria: WCAGSuccessCriterion[];
|
|
26
|
+
strengths: string[];
|
|
27
|
+
recommendations: string[];
|
|
28
|
+
wcagVersions: {
|
|
29
|
+
'2.0': string[];
|
|
30
|
+
'2.1': string[];
|
|
31
|
+
'2.2': string[];
|
|
32
|
+
};
|
|
33
|
+
testMethodology: {
|
|
34
|
+
automated: string[];
|
|
35
|
+
manual: string[];
|
|
36
|
+
verificationTools: string[];
|
|
37
|
+
wcagLevels: {
|
|
38
|
+
A: string[];
|
|
39
|
+
AA: string[];
|
|
40
|
+
AAA: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const breadcrumbAccessibilityReport: AccessibilityReport;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
2
|
+
export type BreadcrumbSkeletonProps = {
|
|
3
|
+
show: boolean;
|
|
4
|
+
variant: SkeletonVariant;
|
|
5
|
+
};
|
|
1
6
|
export type BreadcrumbItemType = {
|
|
2
7
|
leftSlot?: React.ReactNode;
|
|
3
8
|
rightSlot?: React.ReactNode;
|
|
@@ -9,4 +14,5 @@ export type BreadcrumbItemType = {
|
|
|
9
14
|
* Use this to avoid page reloads and handle navigation with client-side routing.
|
|
10
15
|
*/
|
|
11
16
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
17
|
+
skeleton?: BreadcrumbSkeletonProps;
|
|
12
18
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Button Component Accessibility Report Data
|
|
3
|
+
* WCAG 2.1 Level AA Compliance Analysis
|
|
4
|
+
*
|
|
5
|
+
* Note: Items marked with "unsure" require manual verification
|
|
6
|
+
* Color contrast ratios verified using actual color values from theme tokens
|
|
7
|
+
*/
|
|
8
|
+
export type WCAGSuccessCriterion = {
|
|
9
|
+
id: string;
|
|
10
|
+
level: 'A' | 'AA' | 'AAA';
|
|
11
|
+
title: string;
|
|
12
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
13
|
+
description: string;
|
|
14
|
+
implementation: string;
|
|
15
|
+
testResults?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilityReport = {
|
|
19
|
+
componentName: string;
|
|
20
|
+
wcagVersion: string;
|
|
21
|
+
reportDate: string;
|
|
22
|
+
conformanceLevel: string;
|
|
23
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
24
|
+
summary: string;
|
|
25
|
+
criteria: WCAGSuccessCriterion[];
|
|
26
|
+
strengths: string[];
|
|
27
|
+
recommendations: string[];
|
|
28
|
+
wcagVersions: {
|
|
29
|
+
'2.0': string[];
|
|
30
|
+
'2.1': string[];
|
|
31
|
+
'2.2': string[];
|
|
32
|
+
};
|
|
33
|
+
testMethodology: {
|
|
34
|
+
automated: string[];
|
|
35
|
+
manual: string[];
|
|
36
|
+
verificationTools: string[];
|
|
37
|
+
wcagLevels: {
|
|
38
|
+
A: string[];
|
|
39
|
+
AA: string[];
|
|
40
|
+
AAA: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const buttonAccessibilityReport: AccessibilityReport;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as ButtonAccessibility } from './ButtonAccessibility';
|
|
2
|
+
export type { ButtonAccessibilityProps } from './ButtonAccessibility';
|
|
3
|
+
export { buttonAccessibilityReport } from './ButtonAccessibilityReport';
|
|
4
|
+
export type { AccessibilityReport, WCAGSuccessCriterion, } from './ButtonAccessibilityReport';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type ButtonGroupAccessibilityProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const ButtonGroupAccessibility: import('react').ForwardRefExoticComponent<ButtonGroupAccessibilityProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default ButtonGroupAccessibility;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ButtonGroup Component Accessibility Report Data
|
|
3
|
+
* WCAG 2.0, 2.1, 2.2 Level A, AA Compliance Analysis
|
|
4
|
+
*
|
|
5
|
+
* Note: Items marked with "unsure" require manual verification
|
|
6
|
+
* Color contrast ratios verified using actual color values from theme tokens
|
|
7
|
+
*/
|
|
8
|
+
export type WCAGSuccessCriterion = {
|
|
9
|
+
id: string;
|
|
10
|
+
level: 'A' | 'AA' | 'AAA';
|
|
11
|
+
title: string;
|
|
12
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
13
|
+
description: string;
|
|
14
|
+
implementation: string;
|
|
15
|
+
testResults?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilityReport = {
|
|
19
|
+
componentName: string;
|
|
20
|
+
wcagVersion: string;
|
|
21
|
+
reportDate: string;
|
|
22
|
+
conformanceLevel: string;
|
|
23
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
24
|
+
summary: string;
|
|
25
|
+
criteria: WCAGSuccessCriterion[];
|
|
26
|
+
strengths: string[];
|
|
27
|
+
recommendations: string[];
|
|
28
|
+
wcagVersions: {
|
|
29
|
+
'2.0': string[];
|
|
30
|
+
'2.1': string[];
|
|
31
|
+
'2.2': string[];
|
|
32
|
+
};
|
|
33
|
+
testMethodology: {
|
|
34
|
+
automated: string[];
|
|
35
|
+
manual: string[];
|
|
36
|
+
verificationTools: string[];
|
|
37
|
+
wcagLevels: {
|
|
38
|
+
A: string[];
|
|
39
|
+
AA: string[];
|
|
40
|
+
AAA: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const buttonGroupAccessibilityReport: AccessibilityReport;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as ButtonGroupAccessibility } from './ButtonGroupAccessibility';
|
|
2
|
+
export type { ButtonGroupAccessibilityProps } from './ButtonGroupAccessibility';
|
|
3
|
+
export { buttonGroupAccessibilityReport } from './ButtonGroupAccessibilityReport';
|
|
4
|
+
export type { AccessibilityReport, WCAGSuccessCriterion, } from './ButtonGroupAccessibilityReport';
|
|
@@ -7,6 +7,7 @@ type CardComponentProps = {
|
|
|
7
7
|
}>;
|
|
8
8
|
cardToken: CardTokenType;
|
|
9
9
|
maxHeight?: string;
|
|
10
|
+
baseId: string;
|
|
10
11
|
};
|
|
11
12
|
type AlignedCardComponentProps = {
|
|
12
13
|
props: Extract<CardProps, {
|
|
@@ -14,6 +15,7 @@ type AlignedCardComponentProps = {
|
|
|
14
15
|
}>;
|
|
15
16
|
cardToken: CardTokenType;
|
|
16
17
|
maxHeight?: string;
|
|
18
|
+
baseId: string;
|
|
17
19
|
};
|
|
18
20
|
type CustomCardComponentProps = {
|
|
19
21
|
props: Extract<CardProps, {
|
|
@@ -21,6 +23,7 @@ type CustomCardComponentProps = {
|
|
|
21
23
|
}>;
|
|
22
24
|
cardToken: CardTokenType;
|
|
23
25
|
maxHeight?: string;
|
|
26
|
+
baseId?: string;
|
|
24
27
|
};
|
|
25
28
|
export declare const DefaultCard: React.FC<CardComponentProps>;
|
|
26
29
|
export declare const AlignedCard: React.FC<AlignedCardComponentProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CardSkeletonProps } from './types';
|
|
2
|
+
declare const CardSkeleton: ({ skeleton, maxHeight, minHeight, maxWidth, }: {
|
|
3
|
+
skeleton: CardSkeletonProps;
|
|
4
|
+
maxHeight?: string;
|
|
5
|
+
minHeight?: string;
|
|
6
|
+
maxWidth?: string;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default CardSkeleton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
2
|
+
declare const ChartsSkeleton: ({ skeletonVariant, height, isExpanded, }: {
|
|
3
|
+
skeletonVariant?: SkeletonVariant;
|
|
4
|
+
height?: number;
|
|
5
|
+
isExpanded?: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ChartsSkeleton;
|
|
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { TooltipProps } from 'recharts';
|
|
3
3
|
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
4
4
|
import { ButtonProps } from '../Button';
|
|
5
|
+
import { SkeletonVariant } from '../Skeleton';
|
|
5
6
|
export type DataPoint = {
|
|
6
7
|
primary: {
|
|
7
8
|
label: string;
|
|
@@ -122,6 +123,10 @@ export type CoreChartProps = {
|
|
|
122
123
|
selectedKeys?: string[];
|
|
123
124
|
enableHover?: boolean;
|
|
124
125
|
};
|
|
126
|
+
export type ChartsSkeletonProps = {
|
|
127
|
+
show: boolean;
|
|
128
|
+
variant: SkeletonVariant;
|
|
129
|
+
};
|
|
125
130
|
export type ChartsProps = {
|
|
126
131
|
chartType?: ChartType;
|
|
127
132
|
data: NewNestedDataPoint[];
|
|
@@ -143,12 +148,14 @@ export type ChartsProps = {
|
|
|
143
148
|
isExpanded?: boolean;
|
|
144
149
|
onExpandedChange?: (isExpanded: boolean) => void;
|
|
145
150
|
chartName?: string;
|
|
151
|
+
skeleton?: ChartsSkeletonProps;
|
|
146
152
|
};
|
|
147
153
|
export type FlattenedDataPoint = {
|
|
148
154
|
name: string;
|
|
149
155
|
[key: string]: number | string;
|
|
150
156
|
};
|
|
151
157
|
export type ChartHeaderProps = {
|
|
158
|
+
id?: string;
|
|
152
159
|
slot1: React.ReactNode;
|
|
153
160
|
slot2: React.ReactNode;
|
|
154
161
|
slot3: React.ReactNode;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChatInput Component Accessibility Report Data
|
|
3
|
+
* WCAG 2.0, 2.1, 2.2 Level A, AA, AAA Compliance Analysis
|
|
4
|
+
*
|
|
5
|
+
* Note: Items marked with "unsure" require manual verification
|
|
6
|
+
* Color contrast ratios verified using actual color values from theme tokens
|
|
7
|
+
*/
|
|
8
|
+
export type WCAGSuccessCriterion = {
|
|
9
|
+
id: string;
|
|
10
|
+
level: 'A' | 'AA' | 'AAA';
|
|
11
|
+
title: string;
|
|
12
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
13
|
+
description: string;
|
|
14
|
+
implementation: string;
|
|
15
|
+
testResults?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilityReport = {
|
|
19
|
+
componentName: string;
|
|
20
|
+
wcagVersion: string;
|
|
21
|
+
reportDate: string;
|
|
22
|
+
conformanceLevel: string;
|
|
23
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
24
|
+
summary: string;
|
|
25
|
+
criteria: WCAGSuccessCriterion[];
|
|
26
|
+
strengths: string[];
|
|
27
|
+
recommendations: string[];
|
|
28
|
+
wcagVersions: {
|
|
29
|
+
'2.0': string[];
|
|
30
|
+
'2.1': string[];
|
|
31
|
+
'2.2': string[];
|
|
32
|
+
};
|
|
33
|
+
testMethodology: {
|
|
34
|
+
automated: string[];
|
|
35
|
+
manual: string[];
|
|
36
|
+
verificationTools: string[];
|
|
37
|
+
wcagLevels: {
|
|
38
|
+
A: string[];
|
|
39
|
+
AA: string[];
|
|
40
|
+
AAA: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const chatInputAccessibilityReport: AccessibilityReport;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as ChatInputAccessibility } from './ChatInputAccessibility';
|
|
2
|
+
export type { ChatInputAccessibilityProps } from './ChatInputAccessibility';
|
|
3
|
+
export { chatInputAccessibilityReport } from './ChatInputAccessibilityReport';
|
|
4
|
+
export type { AccessibilityReport, WCAGSuccessCriterion, } from './ChatInputAccessibilityReport';
|
|
@@ -20,3 +20,13 @@ export declare const isValidMessageLength: (message: string, maxLength?: number)
|
|
|
20
20
|
* Convert File objects to AttachedFile objects
|
|
21
21
|
*/
|
|
22
22
|
export declare const convertFilesToAttachedFiles: (files: File[]) => AttachedFile[];
|
|
23
|
+
/**
|
|
24
|
+
* Filter out duplicate files by comparing name and size with existing attached files
|
|
25
|
+
* @param files - Array of File objects to check
|
|
26
|
+
* @param attachedFiles - Array of already attached files
|
|
27
|
+
* @returns Object containing newFiles (non-duplicates) and duplicateFiles (array of duplicate file names)
|
|
28
|
+
*/
|
|
29
|
+
export declare const filterDuplicateFiles: (files: File[], attachedFiles: AttachedFile[]) => {
|
|
30
|
+
newFiles: File[];
|
|
31
|
+
duplicateFiles: string[];
|
|
32
|
+
};
|