@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
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SingleSelect 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 singleSelectAccessibilityReport: AccessibilityReport;
|
|
@@ -25,6 +25,11 @@ export type SelectMenuGroupType = {
|
|
|
25
25
|
items: SelectMenuItemType[];
|
|
26
26
|
showSeparator?: boolean;
|
|
27
27
|
};
|
|
28
|
+
export type SingleSelectSkeletonProps = {
|
|
29
|
+
count?: number;
|
|
30
|
+
show?: boolean;
|
|
31
|
+
variant?: SkeletonVariant;
|
|
32
|
+
};
|
|
28
33
|
export type SelectMenuProps = {
|
|
29
34
|
trigger?: React.ReactNode;
|
|
30
35
|
items: SelectMenuGroupType[];
|
|
@@ -103,11 +108,7 @@ export type SingleSelectProps = {
|
|
|
103
108
|
endReachedThreshold?: number;
|
|
104
109
|
hasMore?: boolean;
|
|
105
110
|
loadingComponent?: React.ReactNode;
|
|
106
|
-
skeleton?:
|
|
107
|
-
count?: number;
|
|
108
|
-
show?: boolean;
|
|
109
|
-
variant?: SkeletonVariant;
|
|
110
|
-
};
|
|
111
|
+
skeleton?: SingleSelectSkeletonProps;
|
|
111
112
|
maxTriggerWidth?: number;
|
|
112
113
|
minTriggerWidth?: number;
|
|
113
114
|
allowCustomValue?: boolean;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for SingleSelect component accessibility
|
|
3
|
+
* WCAG 4.1.2 (Name, Role, Value), 3.3.2 (Labels or Instructions), 4.1.3 (Status Messages)
|
|
4
|
+
*/
|
|
5
|
+
export type AriaAttributes = {
|
|
6
|
+
'aria-describedby'?: string;
|
|
7
|
+
'aria-label'?: string;
|
|
8
|
+
'aria-labelledby'?: string;
|
|
9
|
+
'aria-invalid'?: boolean;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
export type ExtractedAriaProps = {
|
|
13
|
+
'aria-describedby'?: string;
|
|
14
|
+
'aria-label'?: string;
|
|
15
|
+
'aria-labelledby'?: string;
|
|
16
|
+
restProps: Record<string, unknown>;
|
|
17
|
+
};
|
|
18
|
+
export type AccessibilitySetupOptions = {
|
|
19
|
+
name?: string;
|
|
20
|
+
generatedId: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
hintText?: string;
|
|
23
|
+
error?: boolean;
|
|
24
|
+
errorMessage?: string;
|
|
25
|
+
rest?: Record<string, unknown>;
|
|
26
|
+
prefix?: string;
|
|
27
|
+
needsMenuId?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type AccessibilitySetupResult = {
|
|
30
|
+
uniqueName: string;
|
|
31
|
+
labelId?: string;
|
|
32
|
+
hintTextId?: string;
|
|
33
|
+
errorMessageId?: string;
|
|
34
|
+
menuId?: string;
|
|
35
|
+
ariaAttributes: AriaAttributes;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Generates unique IDs for accessibility attributes
|
|
39
|
+
* WCAG 4.1.2 (Name, Role, Value)
|
|
40
|
+
*/
|
|
41
|
+
export declare const generateAccessibilityIds: (uniqueName: string, options: {
|
|
42
|
+
hasLabel?: boolean;
|
|
43
|
+
hasHintText?: boolean;
|
|
44
|
+
hasErrorMessage?: boolean;
|
|
45
|
+
needsMenuId?: boolean;
|
|
46
|
+
}) => {
|
|
47
|
+
labelId?: string;
|
|
48
|
+
hintTextId?: string;
|
|
49
|
+
errorMessageId?: string;
|
|
50
|
+
menuId?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Extracts ARIA attributes from rest props
|
|
54
|
+
* WCAG 4.1.2 (Name, Role, Value)
|
|
55
|
+
*/
|
|
56
|
+
export declare const extractAriaProps: (rest: Record<string, unknown> | undefined) => ExtractedAriaProps;
|
|
57
|
+
/**
|
|
58
|
+
* Merges aria-describedby IDs from multiple sources
|
|
59
|
+
* WCAG 3.3.2 (Labels or Instructions) & 4.1.3 (Status Messages)
|
|
60
|
+
*/
|
|
61
|
+
export declare const mergeAriaDescribedBy: (...ids: (string | undefined)[]) => string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Builds ARIA attributes object for SingleSelect components
|
|
64
|
+
* Note: Radix UI handles aria-expanded and aria-controls automatically
|
|
65
|
+
* We only add form-specific attributes: aria-labelledby, aria-describedby, aria-invalid
|
|
66
|
+
* WCAG 4.1.2 (Name, Role, Value)
|
|
67
|
+
*/
|
|
68
|
+
export declare const buildAriaAttributes: (options: {
|
|
69
|
+
error?: boolean;
|
|
70
|
+
ariaLabelledBy?: string;
|
|
71
|
+
ariaDescribedBy?: string;
|
|
72
|
+
ariaLabel?: string;
|
|
73
|
+
restProps?: Record<string, unknown>;
|
|
74
|
+
}) => AriaAttributes;
|
|
75
|
+
/**
|
|
76
|
+
* Complete accessibility setup for SingleSelect components
|
|
77
|
+
* Handles ID generation, ARIA attribute extraction, and attribute building
|
|
78
|
+
* WCAG 4.1.2 (Name, Role, Value), 3.3.2 (Labels or Instructions), 4.1.3 (Status Messages)
|
|
79
|
+
*/
|
|
80
|
+
export declare const setupAccessibility: (options: AccessibilitySetupOptions) => AccessibilitySetupResult;
|
|
@@ -3,6 +3,10 @@ declare const Skeleton: import('react').ForwardRefExoticComponent<import('./type
|
|
|
3
3
|
animate?: boolean;
|
|
4
4
|
width?: string | number;
|
|
5
5
|
height?: string | number;
|
|
6
|
+
maxHeight?: string | number;
|
|
7
|
+
minHeight?: string | number;
|
|
8
|
+
maxWidth?: string | number;
|
|
9
|
+
minWidth?: string | number;
|
|
6
10
|
shape?: import('./skeleton.tokens').SkeletonShape;
|
|
7
11
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
12
|
export default Skeleton;
|
|
@@ -16,6 +16,10 @@ declare const SkeletonCompound: import('react').ForwardRefExoticComponent<import
|
|
|
16
16
|
animate?: boolean;
|
|
17
17
|
width?: string | number;
|
|
18
18
|
height?: string | number;
|
|
19
|
+
maxHeight?: string | number;
|
|
20
|
+
minHeight?: string | number;
|
|
21
|
+
maxWidth?: string | number;
|
|
22
|
+
minWidth?: string | number;
|
|
19
23
|
shape?: import('./skeleton.tokens').SkeletonShape;
|
|
20
24
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
21
25
|
/**
|
|
@@ -40,6 +44,10 @@ declare const SkeletonCompound: import('react').ForwardRefExoticComponent<import
|
|
|
40
44
|
animate?: boolean;
|
|
41
45
|
width?: string | number;
|
|
42
46
|
height?: string | number;
|
|
47
|
+
maxHeight?: string | number;
|
|
48
|
+
minHeight?: string | number;
|
|
49
|
+
maxWidth?: string | number;
|
|
50
|
+
minWidth?: string | number;
|
|
43
51
|
shape?: import('./skeleton.tokens').SkeletonShape;
|
|
44
52
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
45
53
|
Circle: import('react').ForwardRefExoticComponent<Omit<SkeletonProps, "shape"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -12,6 +12,10 @@ export type SkeletonProps = BaseSkeletonProps & Omit<BlockProps, 'children'> & {
|
|
|
12
12
|
animate?: boolean;
|
|
13
13
|
width?: string | number;
|
|
14
14
|
height?: string | number;
|
|
15
|
+
maxHeight?: string | number;
|
|
16
|
+
minHeight?: string | number;
|
|
17
|
+
maxWidth?: string | number;
|
|
18
|
+
minWidth?: string | number;
|
|
15
19
|
shape?: SkeletonShape;
|
|
16
20
|
};
|
|
17
21
|
export type SkeletonAvatarProps = BaseSkeletonProps & Omit<BlockProps, 'children'> & {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slider 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 sliderAccessibilityReport: AccessibilityReport;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as SliderAccessibility } from './SliderAccessibility';
|
|
2
|
+
export type { SliderAccessibilityProps } from './SliderAccessibility';
|
|
3
|
+
export { sliderAccessibilityReport } from './SliderAccessibilityReport';
|
|
4
|
+
export type { AccessibilityReport, WCAGSuccessCriterion, } from './SliderAccessibilityReport';
|
|
@@ -8,6 +8,10 @@ type SliderCSSProperties = React.CSSProperties & {
|
|
|
8
8
|
outline?: string;
|
|
9
9
|
boxShadow?: string;
|
|
10
10
|
};
|
|
11
|
+
'&:focus-visible'?: {
|
|
12
|
+
outline?: string;
|
|
13
|
+
boxShadow?: string;
|
|
14
|
+
};
|
|
11
15
|
'&:active'?: {
|
|
12
16
|
cursor?: string;
|
|
13
17
|
};
|
|
@@ -16,12 +20,12 @@ type SliderCSSProperties = React.CSSProperties & {
|
|
|
16
20
|
opacity?: string | number;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
|
|
23
|
+
type SliderTokenStyles = {
|
|
20
24
|
root: SliderCSSProperties;
|
|
21
25
|
track: SliderCSSProperties;
|
|
22
26
|
range: SliderCSSProperties;
|
|
23
27
|
thumb: SliderCSSProperties;
|
|
24
|
-
}
|
|
28
|
+
};
|
|
25
29
|
export declare const getSliderTokenStyles: (variant: SliderVariant, size: SliderSize) => SliderTokenStyles;
|
|
26
30
|
/**
|
|
27
31
|
* Formats a slider value according to the specified format configuration
|
|
@@ -42,6 +46,24 @@ export declare const createSliderRange: (min: number, max: number, step: number,
|
|
|
42
46
|
defaultValue: number[];
|
|
43
47
|
valueFormat: SliderValueFormatConfig;
|
|
44
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Get label styles for value display
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Builds ARIA attributes for slider thumb elements
|
|
54
|
+
*/
|
|
55
|
+
export declare const buildThumbAriaAttributes: (options: {
|
|
56
|
+
min: number;
|
|
57
|
+
max: number;
|
|
58
|
+
value: number;
|
|
59
|
+
formattedValue: string;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
ariaLabel?: string;
|
|
62
|
+
ariaLabelledBy?: string;
|
|
63
|
+
ariaDescribedBy?: string;
|
|
64
|
+
thumbIndex: number;
|
|
65
|
+
thumbCount: number;
|
|
66
|
+
}) => Record<string, string | undefined>;
|
|
45
67
|
/**
|
|
46
68
|
* Get label styles for value display
|
|
47
69
|
*/
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { AddToastOptions, CustomToastProps,
|
|
2
|
+
import { AddToastOptions, CustomToastProps, SnackbarProps } from './types';
|
|
3
3
|
export declare const StyledToast: React.FC<CustomToastProps>;
|
|
4
4
|
export declare const addSnackbar: ({ header, description, variant, onClose, actionButton, duration, position, }: AddToastOptions) => string | number;
|
|
5
|
-
type SnackbarProps = {
|
|
6
|
-
position?: SnackbarPosition;
|
|
7
|
-
};
|
|
8
5
|
declare const Snackbar: React.FC<SnackbarProps>;
|
|
9
6
|
export default Snackbar;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SplitTagProps } from './types';
|
|
2
2
|
declare const SplitTag: {
|
|
3
|
-
({ primaryTag, secondaryTag, size, shape }: SplitTagProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ primaryTag, secondaryTag, size, shape, ...props }: SplitTagProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default SplitTag;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StatCardSkeletonProps } from './types';
|
|
2
|
+
declare const StatCardSkeleton: ({ skeleton, maxWidth, minWidth, }: {
|
|
3
|
+
skeleton: StatCardSkeletonProps;
|
|
4
|
+
maxWidth: string | number;
|
|
5
|
+
minWidth: string | number;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default StatCardSkeleton;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type WCAGSuccessCriterion = {
|
|
2
|
+
id: string;
|
|
3
|
+
level: 'A' | 'AA' | 'AAA';
|
|
4
|
+
title: string;
|
|
5
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
6
|
+
description: string;
|
|
7
|
+
implementation: string;
|
|
8
|
+
testResults?: string;
|
|
9
|
+
notes?: string;
|
|
10
|
+
};
|
|
11
|
+
export type AccessibilityReport = {
|
|
12
|
+
componentName: string;
|
|
13
|
+
wcagVersion: string;
|
|
14
|
+
reportDate: string;
|
|
15
|
+
conformanceLevel: string;
|
|
16
|
+
overallStatus: 'compliant' | 'non-compliant' | 'partial' | 'unsure';
|
|
17
|
+
summary: string;
|
|
18
|
+
criteria: WCAGSuccessCriterion[];
|
|
19
|
+
strengths: string[];
|
|
20
|
+
recommendations: string[];
|
|
21
|
+
wcagVersions: {
|
|
22
|
+
'2.0': string[];
|
|
23
|
+
'2.1': string[];
|
|
24
|
+
'2.2': string[];
|
|
25
|
+
};
|
|
26
|
+
testMethodology: {
|
|
27
|
+
automated: string[];
|
|
28
|
+
manual: string[];
|
|
29
|
+
verificationTools: string[];
|
|
30
|
+
wcagLevels: {
|
|
31
|
+
A: string[];
|
|
32
|
+
AA: string[];
|
|
33
|
+
AAA: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
accessibilityBestPractices?: {
|
|
37
|
+
[key: string]: {
|
|
38
|
+
status: 'compliant' | 'non-compliant' | 'unsure' | 'not-applicable';
|
|
39
|
+
implementation: string;
|
|
40
|
+
verification: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const statCardAccessibilityReport: AccessibilityReport;
|
|
@@ -5,8 +5,9 @@ import { SkeletonVariant } from '../Skeleton';
|
|
|
5
5
|
export type StatCardSkeletonProps = {
|
|
6
6
|
variant: SkeletonVariant;
|
|
7
7
|
show: boolean;
|
|
8
|
-
height?: string;
|
|
9
|
-
|
|
8
|
+
height?: string | number;
|
|
9
|
+
maxWidth?: string | number;
|
|
10
|
+
minWidth?: string | number;
|
|
10
11
|
};
|
|
11
12
|
export declare enum StatCardVariant {
|
|
12
13
|
LINE = "line",
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { SwitchSize } from './types';
|
|
2
|
+
import { SwitchTokensType } from './switch.token';
|
|
2
3
|
export declare const StyledSwitchRoot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
3
4
|
size: SwitchSize;
|
|
4
5
|
$isDisabled: boolean;
|
|
5
6
|
$isChecked: boolean;
|
|
6
7
|
$error?: boolean;
|
|
8
|
+
$tokens: SwitchTokensType;
|
|
7
9
|
}>> & string;
|
|
8
10
|
export declare const StyledSwitchThumb: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
11
|
size: SwitchSize;
|
|
10
12
|
$isChecked: boolean;
|
|
13
|
+
$tokens: SwitchTokensType;
|
|
11
14
|
}>> & string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { SwitchProps } from './types';
|
|
2
|
-
export declare const Switch:
|
|
3
|
-
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
3
|
+
export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export default Switch;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Switch 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 switchAccessibilityReport: AccessibilityReport;
|
|
@@ -55,3 +55,13 @@ export declare const isSwitchElement: (child: React.ReactElement, SwitchComponen
|
|
|
55
55
|
* Creates a group change handler for switch groups
|
|
56
56
|
*/
|
|
57
57
|
export declare const createSwitchGroupChangeHandler: (values: string[], isControlled: boolean, setInternalValues?: React.Dispatch<React.SetStateAction<string[]>>, onChange?: (values: string[]) => void) => (checked: boolean, childValue: string) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the subtext ID for aria-describedby connection
|
|
60
|
+
* WCAG 3.3.2 (Labels or Instructions) & 4.1.2 (Name, Role, Value)
|
|
61
|
+
*/
|
|
62
|
+
export declare const getSubtextId: (uniqueId: string, hasSubtext: boolean) => string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Merges aria-describedby values, combining custom and subtext IDs
|
|
65
|
+
* WCAG 4.1.2 (Name, Role, Value)
|
|
66
|
+
*/
|
|
67
|
+
export declare const mergeAriaDescribedBy: (subtextId: string | undefined, customAriaDescribedBy: string | undefined) => string | undefined;
|
|
@@ -2,6 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
declare const Tabs: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-tabs').TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3
3
|
variant?: import('./types').TabsVariant;
|
|
4
4
|
size?: import('./types').TabsSize;
|
|
5
|
+
expanded?: boolean;
|
|
6
|
+
fitContent?: boolean;
|
|
5
7
|
items?: import('./types').TabItem[];
|
|
6
8
|
onTabClose?: (value: string) => void;
|
|
7
9
|
onTabAdd?: () => void;
|
|
@@ -9,7 +11,6 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react
|
|
|
9
11
|
showAddButton?: boolean;
|
|
10
12
|
dropdownTooltip?: string;
|
|
11
13
|
addButtonTooltip?: string;
|
|
12
|
-
maxDisplayTabs?: number;
|
|
13
14
|
disable?: boolean;
|
|
14
15
|
showSkeleton?: boolean;
|
|
15
16
|
skeletonVariant?: import('../Skeleton').SkeletonVariant;
|
|
@@ -6,13 +6,13 @@ declare const TabsList: React.ForwardRefExoticComponent<Omit<import('@radix-ui/r
|
|
|
6
6
|
expanded?: boolean;
|
|
7
7
|
fitContent?: boolean;
|
|
8
8
|
items?: import('./types').TabItem[];
|
|
9
|
+
originalItems?: import('./types').TabItem[];
|
|
9
10
|
onTabClose?: (value: string) => void;
|
|
10
11
|
onTabAdd?: () => void;
|
|
11
12
|
showDropdown?: boolean;
|
|
12
13
|
showAddButton?: boolean;
|
|
13
14
|
dropdownTooltip?: string;
|
|
14
15
|
addButtonTooltip?: string;
|
|
15
|
-
maxDisplayTabs?: number;
|
|
16
16
|
onTabChange?: (value: string) => void;
|
|
17
17
|
activeTab?: string;
|
|
18
18
|
disable?: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { TabsVariant, TabsSize } from './types';
|
|
2
|
-
declare const TabsTrigger:
|
|
3
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-tabs').TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3
4
|
value: string;
|
|
4
5
|
variant?: TabsVariant;
|
|
5
6
|
size?: TabsSize;
|
|
6
|
-
leftSlot?:
|
|
7
|
-
rightSlot?:
|
|
7
|
+
leftSlot?: React.ReactNode;
|
|
8
|
+
rightSlot?: React.ReactNode;
|
|
8
9
|
children: string | number;
|
|
9
10
|
closable?: boolean;
|
|
10
11
|
onClose?: () => void;
|
|
@@ -14,5 +15,5 @@ declare const TabsTrigger: import('react').ForwardRefExoticComponent<Omit<import
|
|
|
14
15
|
tabsGroupId?: string;
|
|
15
16
|
showSkeleton?: boolean;
|
|
16
17
|
skeletonVariant?: import('../Skeleton').SkeletonVariant;
|
|
17
|
-
} &
|
|
18
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
18
19
|
export default TabsTrigger;
|