@juspay/blend-design-system 0.0.37-beta.4 → 0.0.37-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AccordionV2/accordionV2.dark.tokens.d.ts +1 -1
- package/dist/components/AccordionV2/accordionV2.light.tokens.d.ts +1 -1
- package/dist/components/AccordionV2/accordionV2.tokens.d.ts +2 -67
- package/dist/components/AccordionV2/accordionV2.tokens.types.d.ts +67 -0
- package/dist/components/AlertV2/alertV2.dark.tokens.d.ts +1 -1
- package/dist/components/AlertV2/alertV2.light.tokens.d.ts +1 -1
- package/dist/components/AlertV2/alertV2.tokens.d.ts +2 -84
- package/dist/components/AlertV2/alertV2.tokens.types.d.ts +84 -0
- package/dist/components/Avatar/types.d.ts +1 -1
- package/dist/components/AvatarGroup/types.d.ts +1 -1
- package/dist/components/AvatarV2/avatarV2.dark.tokens.d.ts +1 -1
- package/dist/components/AvatarV2/avatarV2.light.tokens.d.ts +1 -1
- package/dist/components/AvatarV2/avatarV2.tokens.d.ts +2 -67
- package/dist/components/AvatarV2/avatarV2.tokens.types.d.ts +67 -0
- package/dist/components/Badge/badge.dark.tokens.d.ts +1 -1
- package/dist/components/Badge/badge.light.tokens.d.ts +1 -1
- package/dist/components/Badge/badge.tokens.d.ts +2 -52
- package/dist/components/Badge/badge.tokens.types.d.ts +52 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +2 -5
- package/dist/components/Breadcrumb/types.d.ts +7 -1
- package/dist/components/BreadcrumbV2/BreadcrumbV2.d.ts +13 -1
- package/dist/components/BreadcrumbV2/breadcrumbV2.dark.tokens.d.ts +1 -1
- package/dist/components/BreadcrumbV2/breadcrumbV2.light.tokens.d.ts +1 -1
- package/dist/components/BreadcrumbV2/breadcrumbV2.tokens.d.ts +2 -28
- package/dist/components/BreadcrumbV2/breadcrumbV2.tokens.types.d.ts +28 -0
- package/dist/components/BreadcrumbV2/breadcrumbV2.types.d.ts +0 -11
- package/dist/components/ButtonGroup/types.d.ts +1 -1
- package/dist/components/ButtonV2/buttonV2.dark.tokens.d.ts +1 -1
- package/dist/components/ButtonV2/buttonV2.light.tokens.d.ts +1 -1
- package/dist/components/ButtonV2/buttonV2.tokens.d.ts +2 -64
- package/dist/components/ButtonV2/buttonV2.tokens.types.d.ts +64 -0
- package/dist/components/Card/types.d.ts +1 -1
- package/dist/components/Charts/ChartUtils.d.ts +2 -0
- package/dist/components/Charts/types.d.ts +4 -4
- package/dist/components/ChartsV2/chartV2.dark.tokens.d.ts +1 -1
- package/dist/components/ChartsV2/chartV2.light.tokens.d.ts +1 -1
- package/dist/components/ChartsV2/chartV2.tokens.d.ts +2 -99
- package/dist/components/ChartsV2/chartV2.tokens.types.d.ts +99 -0
- package/dist/components/ChartsV2/chartV2.types.d.ts +2 -2
- package/dist/components/ChatInput/AttachmentFile.d.ts +2 -1
- package/dist/components/ChatInput/ChatInput.d.ts +5 -5
- package/dist/components/ChatInput/MobileChatInput.d.ts +2 -1
- package/dist/components/ChatInput/getDocIcon.d.ts +3 -0
- package/dist/components/CodeEditorV2/codeEditorV2.dark.tokens.d.ts +1 -1
- package/dist/components/CodeEditorV2/codeEditorV2.light.token.d.ts +1 -1
- package/dist/components/CodeEditorV2/codeEditorV2.tokens.d.ts +2 -91
- package/dist/components/CodeEditorV2/codeEditorV2.tokens.types.d.ts +95 -0
- package/dist/components/CodeEditorV2/codeEditorV2.types.d.ts +2 -6
- package/dist/components/DateRangePicker/types.d.ts +1 -1
- package/dist/components/DateRangePicker/utils.d.ts +2 -0
- package/dist/components/Directory/Directory.d.ts +1 -1
- package/dist/components/Directory/types.d.ts +1 -1
- package/dist/components/Directory/utils.d.ts +2 -0
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2.tokens.d.ts +2 -121
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2.tokens.types.d.ts +121 -0
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2Mobile.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2Mobile.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2Mobile.tokens.d.ts +2 -56
- package/dist/components/InputsV2/ChatInputV2/ChatInputV2Mobile.tokens.types.d.ts +56 -0
- package/dist/components/InputsV2/ChatInputV2/MobileChatInputV2.d.ts +1 -1
- package/dist/components/InputsV2/MultiValueInputV2/MultiValueInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/MultiValueInputV2/MultiValueInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/MultiValueInputV2/MultiValueInputV2.tokens.d.ts +2 -71
- package/dist/components/InputsV2/MultiValueInputV2/MultiValueInputV2.tokens.types.d.ts +71 -0
- package/dist/components/InputsV2/NumberInputV2/NumberInputV2.d.ts +1 -1
- package/dist/components/InputsV2/NumberInputV2/NumberInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/NumberInputV2/NumberInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/NumberInputV2/numberInputV2.tokens.d.ts +2 -132
- package/dist/components/InputsV2/NumberInputV2/numberInputV2.tokens.types.d.ts +132 -0
- package/dist/components/InputsV2/OTPInputV2/OTPInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/OTPInputV2/OTPInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/OTPInputV2/OTPInputV2.tokens.d.ts +2 -31
- package/dist/components/InputsV2/OTPInputV2/OTPInputV2.tokens.types.d.ts +31 -0
- package/dist/components/InputsV2/SearchInputV2/SearchInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/SearchInputV2/SearchInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/SearchInputV2/SearchInputV2.tokens.d.ts +2 -89
- package/dist/components/InputsV2/SearchInputV2/SearchInputV2.tokens.types.d.ts +89 -0
- package/dist/components/InputsV2/TextAreaV2/TextAreaV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/TextAreaV2/TextAreaV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/TextAreaV2/TextAreaV2.tokens.d.ts +2 -60
- package/dist/components/InputsV2/TextAreaV2/TextAreaV2.tokens.types.d.ts +60 -0
- package/dist/components/InputsV2/TextInputV2/TextInputV2.dark.tokens.d.ts +1 -1
- package/dist/components/InputsV2/TextInputV2/TextInputV2.light.tokens.d.ts +1 -1
- package/dist/components/InputsV2/TextInputV2/TextInputV2.tokens.d.ts +2 -133
- package/dist/components/InputsV2/TextInputV2/TextInputV2.tokens.types.d.ts +133 -0
- package/dist/components/KeyValuePairV2/keyValuePairV2.dark.tokens.d.ts +1 -1
- package/dist/components/KeyValuePairV2/keyValuePairV2.light.tokens.d.ts +1 -1
- package/dist/components/KeyValuePairV2/keyValuePairV2.tokens.d.ts +2 -25
- package/dist/components/KeyValuePairV2/keyValuePairV2.tokens.types.d.ts +25 -0
- package/dist/components/Menu/types.d.ts +1 -1
- package/dist/components/MenuV2/menuV2.dark.tokens.d.ts +1 -1
- package/dist/components/MenuV2/menuV2.light.tokens.d.ts +1 -1
- package/dist/components/MenuV2/menuV2.tokens.d.ts +2 -88
- package/dist/components/MenuV2/menuV2.tokens.types.d.ts +89 -0
- package/dist/components/Modal/types.d.ts +2 -2
- package/dist/components/MultiSelect/types.d.ts +1 -1
- package/dist/components/MultiSelectV2/multiSelectV2.dark.tokens.d.ts +1 -1
- package/dist/components/MultiSelectV2/multiSelectV2.light.tokens.d.ts +1 -1
- package/dist/components/MultiSelectV2/multiSelectV2.tokens.d.ts +2 -213
- package/dist/components/MultiSelectV2/multiSelectV2.tokens.types.d.ts +213 -0
- package/dist/components/Popover/types.d.ts +2 -2
- package/dist/components/PopoverV2/popoverV2.dark.tokens.d.ts +1 -1
- package/dist/components/PopoverV2/popoverV2.light.tokens.d.ts +1 -1
- package/dist/components/PopoverV2/popoverV2.token.d.ts +2 -69
- package/dist/components/PopoverV2/popoverV2.tokens.types.d.ts +70 -0
- package/dist/components/PopoverV2/popoverV2.types.d.ts +2 -2
- package/dist/components/ProgressBarV2/progressBarV2.dark.tokens.d.ts +1 -1
- package/dist/components/ProgressBarV2/progressBarV2.light.tokens.d.ts +1 -1
- package/dist/components/ProgressBarV2/progressBarV2.tokens.d.ts +2 -60
- package/dist/components/ProgressBarV2/progressBarV2.tokens.types.d.ts +76 -0
- package/dist/components/ProgressBarV2/progressBarV2.types.d.ts +2 -18
- package/dist/components/Radio/StyledRadio.d.ts +0 -1
- package/dist/components/SelectV2/selectV2.shared.types.d.ts +1 -1
- package/dist/components/SelectorV2/CheckboxV2/checkboxV2.dark.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/CheckboxV2/checkboxV2.light.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/CheckboxV2/checkboxV2.tokens.d.ts +2 -91
- package/dist/components/SelectorV2/CheckboxV2/checkboxV2.tokens.types.d.ts +95 -0
- package/dist/components/SelectorV2/CheckboxV2/checkboxV2.types.d.ts +2 -6
- package/dist/components/SelectorV2/RadioV2/radioV2.dark.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/RadioV2/radioV2.light.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/RadioV2/radioV2.tokens.d.ts +2 -80
- package/dist/components/SelectorV2/RadioV2/radioV2.tokens.types.d.ts +80 -0
- package/dist/components/SelectorV2/RadioV2/radioV2.types.d.ts +2 -2
- package/dist/components/SelectorV2/SwitchV2/switchV2.dark.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/SwitchV2/switchV2.light.tokens.d.ts +1 -1
- package/dist/components/SelectorV2/SwitchV2/switchV2.tokens.d.ts +2 -74
- package/dist/components/SelectorV2/SwitchV2/switchV2.tokens.types.d.ts +74 -0
- package/dist/components/SelectorV2/SwitchV2/switchV2.types.d.ts +2 -2
- package/dist/components/Sidebar/SidebarContent.d.ts +1 -1
- package/dist/components/Sidebar/types.d.ts +4 -16
- package/dist/components/Sidebar/utils.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarV2MobileNavigation/mobile.dark.tokens.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarV2MobileNavigation/mobile.light.tokens.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarV2MobileNavigation/mobile.tokens.d.ts +2 -84
- package/dist/components/SidebarV2/SidebarV2MobileNavigation/mobile.tokens.types.d.ts +84 -0
- package/dist/components/SidebarV2/SidebarV2MobileNavigation/types.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarV2Panel.d.ts +1 -1
- package/dist/components/SidebarV2/index.d.ts +1 -1
- package/dist/components/SidebarV2/sidebarV2.dark.tokens.d.ts +1 -1
- package/dist/components/SidebarV2/sidebarV2.light.tokens.d.ts +1 -1
- package/dist/components/SidebarV2/sidebarV2.tokens.d.ts +2 -103
- package/dist/components/SidebarV2/sidebarV2.tokens.types.d.ts +103 -0
- package/dist/components/SidebarV2/types.d.ts +3 -0
- package/dist/components/SingleSelect/types.d.ts +1 -1
- package/dist/components/SingleSelectV2/singleSelectV2.dark.tokens.d.ts +1 -1
- package/dist/components/SingleSelectV2/singleSelectV2.light.tokens.d.ts +1 -1
- package/dist/components/SingleSelectV2/singleSelectV2.tokens.d.ts +2 -159
- package/dist/components/SingleSelectV2/singleSelectV2.tokens.types.d.ts +159 -0
- package/dist/components/SingleSelectV2/singleSelectV2.types.d.ts +1 -1
- package/dist/components/SnackbarV2/snackbarV2.dark.tokens.d.ts +1 -1
- package/dist/components/SnackbarV2/snackbarV2.light.tokens.d.ts +1 -1
- package/dist/components/SnackbarV2/snackbarV2.tokens.d.ts +2 -64
- package/dist/components/SnackbarV2/snackbarV2.tokens.types.d.ts +64 -0
- package/dist/components/SplitTag/types.d.ts +1 -1
- package/dist/components/StatCard/types.d.ts +2 -2
- package/dist/components/StatCardV2/StatCardV2.d.ts +1 -0
- package/dist/components/StatCardV2/StatCardV2Change.d.ts +1 -1
- package/dist/components/StatCardV2/StatCardV2Title.d.ts +1 -1
- package/dist/components/StatCardV2/StatCardV2Value.d.ts +4 -1
- package/dist/components/StatCardV2/statcardV2.dark.tokens.d.ts +1 -1
- package/dist/components/StatCardV2/statcardV2.light.tokens.d.ts +1 -1
- package/dist/components/StatCardV2/statcardV2.tokens.d.ts +2 -78
- package/dist/components/StatCardV2/statcardV2.tokens.types.d.ts +86 -0
- package/dist/components/StatCardV2/statcardV2.types.d.ts +8 -13
- package/dist/components/Stepper/types.d.ts +2 -0
- package/dist/components/StepperV2/stepperV2.dark.tokens.d.ts +1 -1
- package/dist/components/StepperV2/stepperV2.light.tokens.d.ts +1 -1
- package/dist/components/StepperV2/stepperV2.tokens.d.ts +2 -96
- package/dist/components/StepperV2/stepperV2.tokens.types.d.ts +96 -0
- package/dist/components/TabsV2/tabsV2.dark.tokens.d.ts +1 -1
- package/dist/components/TabsV2/tabsV2.light.tokens.d.ts +1 -1
- package/dist/components/TabsV2/tabsV2.tokens.d.ts +2 -94
- package/dist/components/TabsV2/tabsV2.tokens.types.d.ts +94 -0
- package/dist/components/TagV2/tagV2.dark.tokens.d.ts +1 -1
- package/dist/components/TagV2/tagV2.light.tokens.d.ts +1 -1
- package/dist/components/TagV2/tagV2.tokens.d.ts +2 -58
- package/dist/components/TagV2/tagV2.tokens.types.d.ts +58 -0
- package/dist/components/Tags/tag.dark.tokens.d.ts +1 -1
- package/dist/components/Tags/tag.light.tokens.d.ts +1 -1
- package/dist/components/Tags/tag.tokens.d.ts +2 -56
- package/dist/components/Tags/tag.tokens.types.d.ts +56 -0
- package/dist/components/Timeline/timeline.dark.token.d.ts +1 -6
- package/dist/components/Timeline/timeline.light.token.d.ts +1 -6
- package/dist/components/Timeline/timeline.token.d.ts +2 -129
- package/dist/components/Timeline/timeline.tokens.types.d.ts +129 -0
- package/dist/components/TooltipV2/tooltipV2.dark.tokens.d.ts +1 -1
- package/dist/components/TooltipV2/tooltipV2.light.tokens.d.ts +1 -1
- package/dist/components/TooltipV2/tooltipV2.tokens.d.ts +2 -34
- package/dist/components/TooltipV2/tooltipV2.tokens.types.d.ts +34 -0
- package/dist/components/Topbar/types.d.ts +2 -10
- package/dist/components/TopbarV2/topbarV2.dark.tokens.d.ts +1 -1
- package/dist/components/TopbarV2/topbarV2.light.tokens.d.ts +1 -1
- package/dist/components/TopbarV2/topbarV2.tokens.d.ts +2 -80
- package/dist/components/TopbarV2/topbarV2.tokens.types.d.ts +80 -0
- package/dist/components/shared/layoutTypes.d.ts +39 -0
- package/dist/context/useComponentToken.d.ts +3 -3
- package/dist/main.js +29729 -29194
- package/dist/{node-C2uf3sNA.js → node-CJ_Tft0g.js} +86 -88
- package/dist/node.js +1 -1
- package/dist/tokens.js +17 -16
- package/lib/components/AccordionV2/accordionV2.dark.tokens.ts +1 -1
- package/lib/components/AccordionV2/accordionV2.light.tokens.ts +1 -1
- package/lib/components/AccordionV2/accordionV2.tokens.ts +6 -73
- package/lib/components/AccordionV2/accordionV2.tokens.types.ts +74 -0
- package/lib/components/AlertV2/alertV2.dark.tokens.ts +1 -1
- package/lib/components/AlertV2/alertV2.light.tokens.ts +1 -1
- package/lib/components/AlertV2/alertV2.tokens.ts +5 -78
- package/lib/components/AlertV2/alertV2.tokens.types.ts +79 -0
- package/lib/components/Avatar/Avatar.tsx +6 -1
- package/lib/components/Avatar/types.ts +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.tsx +1 -1
- package/lib/components/AvatarGroup/types.ts +1 -1
- package/lib/components/AvatarV2/AvatarV2.tsx +10 -1
- package/lib/components/AvatarV2/avatarV2.dark.tokens.ts +1 -1
- package/lib/components/AvatarV2/avatarV2.light.tokens.ts +1 -1
- package/lib/components/AvatarV2/avatarV2.tokens.ts +5 -70
- package/lib/components/AvatarV2/avatarV2.tokens.types.ts +71 -0
- package/lib/components/Badge/badge.dark.tokens.ts +1 -1
- package/lib/components/Badge/badge.light.tokens.ts +1 -1
- package/lib/components/Badge/badge.tokens.ts +5 -55
- package/lib/components/Badge/badge.tokens.types.ts +56 -0
- package/lib/components/Breadcrumb/Breadcrumb.tsx +9 -8
- package/lib/components/Breadcrumb/types.ts +13 -1
- package/lib/components/BreadcrumbV2/BreadcrumbV2.tsx +13 -1
- package/lib/components/BreadcrumbV2/breadcrumbV2.dark.tokens.ts +1 -1
- package/lib/components/BreadcrumbV2/breadcrumbV2.light.tokens.ts +1 -1
- package/lib/components/BreadcrumbV2/breadcrumbV2.tokens.ts +6 -31
- package/lib/components/BreadcrumbV2/breadcrumbV2.tokens.types.ts +32 -0
- package/lib/components/BreadcrumbV2/breadcrumbV2.types.ts +0 -14
- package/lib/components/Button/ButtonBase.tsx +1 -1
- package/lib/components/ButtonGroup/types.ts +1 -1
- package/lib/components/ButtonV2/buttonV2.dark.tokens.ts +1 -1
- package/lib/components/ButtonV2/buttonV2.light.tokens.ts +1 -1
- package/lib/components/ButtonV2/buttonV2.tokens.ts +5 -71
- package/lib/components/ButtonV2/buttonV2.tokens.types.ts +72 -0
- package/lib/components/Card/CardComponents.tsx +52 -17
- package/lib/components/Card/types.ts +1 -1
- package/lib/components/Charts/ChartUtils.tsx +7 -0
- package/lib/components/Charts/Charts.tsx +4 -2
- package/lib/components/Charts/CoreChart.tsx +4 -2
- package/lib/components/Charts/renderChart.tsx +6 -2
- package/lib/components/Charts/types.tsx +4 -4
- package/lib/components/ChartsV2/ChartV2.tsx +1 -1
- package/lib/components/ChartsV2/chartV2.dark.tokens.ts +1 -1
- package/lib/components/ChartsV2/chartV2.light.tokens.ts +1 -1
- package/lib/components/ChartsV2/chartV2.tokens.ts +5 -101
- package/lib/components/ChartsV2/chartV2.tokens.types.ts +102 -0
- package/lib/components/ChartsV2/chartV2.types.ts +2 -2
- package/lib/components/ChatInput/AttachmentFile.tsx +6 -15
- package/lib/components/ChatInput/ChatInput.tsx +3 -34
- package/lib/components/ChatInput/MobileChatInput.tsx +2 -1
- package/lib/components/ChatInput/getDocIcon.tsx +36 -0
- package/lib/components/ChatInput/utils.ts +1 -1
- package/lib/components/Checkbox/Checkbox.tsx +29 -7
- package/lib/components/CodeBlock/CodeBlock.tsx +47 -1
- package/lib/components/CodeBlock/codeBlock.token.ts +5 -5
- package/lib/components/CodeEditor/CodeEditor.tsx +26 -4
- package/lib/components/CodeEditor/MonacoEditorWrapper.tsx +13 -1
- package/lib/components/CodeEditorV2/codeEditorV2.dark.tokens.ts +3 -2
- package/lib/components/CodeEditorV2/codeEditorV2.light.token.ts +3 -2
- package/lib/components/CodeEditorV2/codeEditorV2.tokens.ts +5 -83
- package/lib/components/CodeEditorV2/codeEditorV2.tokens.types.ts +89 -0
- package/lib/components/CodeEditorV2/codeEditorV2.types.ts +5 -6
- package/lib/components/DataTable/DataTable.tsx +9 -0
- package/lib/components/DataTable/DataTableHeader/index.tsx +2 -1
- package/lib/components/DataTable/PivotTableModal/PivotPreviewPanel.tsx +1 -0
- package/lib/components/DataTable/PivotTableModal/index.tsx +1 -0
- package/lib/components/DataTable/TableBody/BulkActionBar.tsx +1 -1
- package/lib/components/DataTable/TableBody/index.tsx +4 -10
- package/lib/components/DataTable/TableHeader/FilterComponents.tsx +4 -0
- package/lib/components/DateRangePicker/DateRangePicker.tsx +36 -18
- package/lib/components/DateRangePicker/components/ActionButtons.tsx +2 -1
- package/lib/components/DateRangePicker/types.ts +5 -5
- package/lib/components/DateRangePicker/utils.ts +5 -0
- package/lib/components/Directory/Directory.tsx +3 -2
- package/lib/components/Directory/NavItem.tsx +1 -0
- package/lib/components/Directory/Section.tsx +1 -0
- package/lib/components/Directory/types.ts +1 -1
- package/lib/components/Directory/utils.ts +6 -0
- package/lib/components/Drawer/components/DrawerBase.tsx +16 -0
- package/lib/components/Drawer/components/NestedSelectDrawer.tsx +13 -1
- package/lib/components/Drawer/components/SelectDrawer.tsx +9 -1
- package/lib/components/Inputs/OTPInput/OTPInput.tsx +5 -3
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2.tokens.ts +5 -116
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2.tokens.types.ts +117 -0
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2Mobile.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2Mobile.light.tokens.ts +1 -1
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2Mobile.tokens.ts +5 -46
- package/lib/components/InputsV2/ChatInputV2/ChatInputV2Mobile.tokens.types.ts +47 -0
- package/lib/components/InputsV2/MultiValueInputV2/MultiValueInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/MultiValueInputV2/MultiValueInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/MultiValueInputV2/MultiValueInputV2.tokens.ts +5 -67
- package/lib/components/InputsV2/MultiValueInputV2/MultiValueInputV2.tokens.types.ts +68 -0
- package/lib/components/InputsV2/NumberInputV2/NumberInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/NumberInputV2/NumberInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/NumberInputV2/NumberInputV2.tsx +1 -1
- package/lib/components/InputsV2/NumberInputV2/numberInputV2.tokens.ts +7 -118
- package/lib/components/InputsV2/NumberInputV2/numberInputV2.tokens.types.ts +120 -0
- package/lib/components/InputsV2/OTPInputV2/OTPInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/OTPInputV2/OTPInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/OTPInputV2/OTPInputV2.tokens.ts +5 -32
- package/lib/components/InputsV2/OTPInputV2/OTPInputV2.tokens.types.ts +36 -0
- package/lib/components/InputsV2/SearchInputV2/SearchInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/SearchInputV2/SearchInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/SearchInputV2/SearchInputV2.tokens.ts +5 -90
- package/lib/components/InputsV2/SearchInputV2/SearchInputV2.tokens.types.ts +92 -0
- package/lib/components/InputsV2/TextAreaV2/TextAreaV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/TextAreaV2/TextAreaV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/TextAreaV2/TextAreaV2.tokens.ts +5 -61
- package/lib/components/InputsV2/TextAreaV2/TextAreaV2.tokens.types.ts +62 -0
- package/lib/components/InputsV2/TextInputV2/TextInputV2.dark.tokens.ts +1 -1
- package/lib/components/InputsV2/TextInputV2/TextInputV2.light.tokens.ts +1 -1
- package/lib/components/InputsV2/TextInputV2/TextInputV2.tokens.ts +5 -134
- package/lib/components/InputsV2/TextInputV2/TextInputV2.tokens.types.ts +135 -0
- package/lib/components/KeyValuePairV2/keyValuePairV2.dark.tokens.ts +1 -1
- package/lib/components/KeyValuePairV2/keyValuePairV2.light.tokens.ts +1 -1
- package/lib/components/KeyValuePairV2/keyValuePairV2.tokens.ts +5 -26
- package/lib/components/KeyValuePairV2/keyValuePairV2.tokens.types.ts +27 -0
- package/lib/components/Menu/Menu.tsx +9 -1
- package/lib/components/Menu/MenuItem.tsx +1 -0
- package/lib/components/Menu/SubMenu.tsx +1 -0
- package/lib/components/Menu/types.tsx +1 -1
- package/lib/components/MenuV2/menuV2.dark.tokens.ts +1 -1
- package/lib/components/MenuV2/menuV2.light.tokens.ts +1 -1
- package/lib/components/MenuV2/menuV2.tokens.ts +5 -109
- package/lib/components/MenuV2/menuV2.tokens.types.ts +110 -0
- package/lib/components/Modal/types.ts +2 -2
- package/lib/components/Modal/useModal.ts +7 -0
- package/lib/components/MultiSelect/MobileMultiSelect.tsx +2 -1
- package/lib/components/MultiSelect/MultiSelectMenuItem.tsx +1 -0
- package/lib/components/MultiSelect/MultiSelectSubMenu.tsx +1 -0
- package/lib/components/MultiSelect/types.ts +1 -1
- package/lib/components/MultiSelectV2/MultiSelectV2MenuItem.tsx +1 -0
- package/lib/components/MultiSelectV2/MultiSelectV2Skeleton.tsx +2 -1
- package/lib/components/MultiSelectV2/MultiSelectV2SubMenu.tsx +1 -0
- package/lib/components/MultiSelectV2/multiSelectV2.dark.tokens.ts +1 -1
- package/lib/components/MultiSelectV2/multiSelectV2.light.tokens.ts +1 -1
- package/lib/components/MultiSelectV2/multiSelectV2.tokens.ts +8 -237
- package/lib/components/MultiSelectV2/multiSelectV2.tokens.types.ts +237 -0
- package/lib/components/Popover/types.ts +2 -2
- package/lib/components/PopoverV2/popoverV2.dark.tokens.tsx +1 -1
- package/lib/components/PopoverV2/popoverV2.light.tokens.tsx +1 -1
- package/lib/components/PopoverV2/popoverV2.token.ts +5 -69
- package/lib/components/PopoverV2/popoverV2.tokens.types.ts +72 -0
- package/lib/components/PopoverV2/popoverV2.types.ts +2 -2
- package/lib/components/ProgressBarV2/progressBarV2.dark.tokens.ts +1 -1
- package/lib/components/ProgressBarV2/progressBarV2.light.tokens.ts +1 -1
- package/lib/components/ProgressBarV2/progressBarV2.tokens.ts +5 -64
- package/lib/components/ProgressBarV2/progressBarV2.tokens.types.ts +81 -0
- package/lib/components/ProgressBarV2/progressBarV2.types.ts +13 -20
- package/lib/components/Radio/Radio.tsx +12 -5
- package/lib/components/Radio/StyledRadio.tsx +33 -17
- package/lib/components/SelectV2/selectV2.shared.types.ts +1 -1
- package/lib/components/SelectorV2/CheckboxV2/checkboxV2.dark.tokens.ts +1 -1
- package/lib/components/SelectorV2/CheckboxV2/checkboxV2.light.tokens.ts +1 -1
- package/lib/components/SelectorV2/CheckboxV2/checkboxV2.tokens.ts +5 -81
- package/lib/components/SelectorV2/CheckboxV2/checkboxV2.tokens.types.ts +87 -0
- package/lib/components/SelectorV2/CheckboxV2/checkboxV2.types.ts +3 -6
- package/lib/components/SelectorV2/RadioV2/radioV2.dark.tokens.ts +1 -1
- package/lib/components/SelectorV2/RadioV2/radioV2.light.tokens.ts +1 -1
- package/lib/components/SelectorV2/RadioV2/radioV2.tokens.ts +5 -73
- package/lib/components/SelectorV2/RadioV2/radioV2.tokens.types.ts +78 -0
- package/lib/components/SelectorV2/RadioV2/radioV2.types.ts +2 -2
- package/lib/components/SelectorV2/SwitchV2/switchV2.dark.tokens.ts +1 -1
- package/lib/components/SelectorV2/SwitchV2/switchV2.light.tokens.ts +1 -1
- package/lib/components/SelectorV2/SwitchV2/switchV2.tokens.ts +5 -63
- package/lib/components/SelectorV2/SwitchV2/switchV2.tokens.types.ts +68 -0
- package/lib/components/SelectorV2/SwitchV2/switchV2.types.ts +5 -2
- package/lib/components/Sidebar/Sidebar.tsx +12 -2
- package/lib/components/Sidebar/SidebarContent.tsx +6 -2
- package/lib/components/Sidebar/SidebarHeader.tsx +2 -12
- package/lib/components/Sidebar/TenantPanel.tsx +52 -34
- package/lib/components/Sidebar/types.ts +14 -17
- package/lib/components/Sidebar/utils.ts +1 -1
- package/lib/components/SidebarV2/SecondarySidebar.tsx +86 -44
- package/lib/components/SidebarV2/SidebarV2MobileNavigation/mobile.dark.tokens.ts +2 -2
- package/lib/components/SidebarV2/SidebarV2MobileNavigation/mobile.light.tokens.ts +2 -2
- package/lib/components/SidebarV2/SidebarV2MobileNavigation/mobile.tokens.ts +6 -84
- package/lib/components/SidebarV2/SidebarV2MobileNavigation/mobile.tokens.types.ts +85 -0
- package/lib/components/SidebarV2/SidebarV2MobileNavigation/types.ts +1 -1
- package/lib/components/SidebarV2/SidebarV2Panel.tsx +4 -2
- package/lib/components/SidebarV2/index.ts +1 -0
- package/lib/components/SidebarV2/sidebarV2.dark.tokens.ts +1 -1
- package/lib/components/SidebarV2/sidebarV2.light.tokens.ts +1 -1
- package/lib/components/SidebarV2/sidebarV2.tokens.ts +6 -105
- package/lib/components/SidebarV2/sidebarV2.tokens.types.ts +106 -0
- package/lib/components/SidebarV2/types.ts +4 -0
- package/lib/components/SingleSelect/SingleSelectMenu.tsx +1 -1
- package/lib/components/SingleSelect/types.ts +1 -1
- package/lib/components/SingleSelectV2/singleSelectV2.dark.tokens.ts +1 -1
- package/lib/components/SingleSelectV2/singleSelectV2.light.tokens.ts +1 -1
- package/lib/components/SingleSelectV2/singleSelectV2.tokens.ts +9 -188
- package/lib/components/SingleSelectV2/singleSelectV2.tokens.types.ts +188 -0
- package/lib/components/SingleSelectV2/singleSelectV2.types.ts +1 -1
- package/lib/components/SnackbarV2/snackbarV2.dark.tokens.ts +1 -1
- package/lib/components/SnackbarV2/snackbarV2.light.tokens.ts +1 -1
- package/lib/components/SnackbarV2/snackbarV2.tokens.ts +6 -66
- package/lib/components/SnackbarV2/snackbarV2.tokens.types.ts +66 -0
- package/lib/components/SplitTag/types.ts +1 -1
- package/lib/components/StatCard/StatCard.tsx +274 -203
- package/lib/components/StatCard/statcard.tokens.ts +1 -1
- package/lib/components/StatCard/types.ts +2 -2
- package/lib/components/StatCardV2/StatCardV2.tsx +5 -0
- package/lib/components/StatCardV2/StatCardV2Change.tsx +10 -1
- package/lib/components/StatCardV2/StatCardV2NoData.tsx +1 -0
- package/lib/components/StatCardV2/StatCardV2Skeleton.tsx +2 -1
- package/lib/components/StatCardV2/StatCardV2Title.tsx +185 -55
- package/lib/components/StatCardV2/StatCardV2Value.tsx +77 -9
- package/lib/components/StatCardV2/statcardV2.dark.tokens.ts +1 -1
- package/lib/components/StatCardV2/statcardV2.light.tokens.ts +1 -1
- package/lib/components/StatCardV2/statcardV2.tokens.ts +5 -79
- package/lib/components/StatCardV2/statcardV2.tokens.types.ts +90 -0
- package/lib/components/StatCardV2/statcardV2.types.ts +13 -15
- package/lib/components/Stepper/VerticalStepper.tsx +209 -171
- package/lib/components/Stepper/types.ts +2 -0
- package/lib/components/StepperV2/Stepper/Steps.tsx +15 -1
- package/lib/components/StepperV2/stepperV2.dark.tokens.ts +1 -1
- package/lib/components/StepperV2/stepperV2.light.tokens.ts +1 -1
- package/lib/components/StepperV2/stepperV2.tokens.ts +5 -100
- package/lib/components/StepperV2/stepperV2.tokens.types.ts +101 -0
- package/lib/components/TabsV2/tabsV2.dark.tokens.ts +1 -1
- package/lib/components/TabsV2/tabsV2.light.tokens.ts +1 -1
- package/lib/components/TabsV2/tabsV2.tokens.ts +5 -95
- package/lib/components/TabsV2/tabsV2.tokens.types.ts +96 -0
- package/lib/components/TagV2/tagV2.dark.tokens.ts +1 -1
- package/lib/components/TagV2/tagV2.light.tokens.ts +1 -1
- package/lib/components/TagV2/tagV2.tokens.ts +5 -69
- package/lib/components/TagV2/tagV2.tokens.types.ts +70 -0
- package/lib/components/Tags/tag.dark.tokens.ts +1 -1
- package/lib/components/Tags/tag.light.tokens.ts +1 -1
- package/lib/components/Tags/tag.tokens.ts +2 -69
- package/lib/components/Tags/tag.tokens.types.ts +70 -0
- package/lib/components/Text/Text.tsx +1 -0
- package/lib/components/Timeline/timeline.dark.token.ts +4 -6
- package/lib/components/Timeline/timeline.light.token.ts +4 -6
- package/lib/components/Timeline/timeline.token.ts +6 -137
- package/lib/components/Timeline/timeline.tokens.types.ts +138 -0
- package/lib/components/TooltipV2/tooltipV2.dark.tokens.ts +1 -1
- package/lib/components/TooltipV2/tooltipV2.light.tokens.ts +1 -1
- package/lib/components/TooltipV2/tooltipV2.tokens.ts +5 -46
- package/lib/components/TooltipV2/tooltipV2.tokens.types.ts +47 -0
- package/lib/components/Topbar/types.ts +5 -11
- package/lib/components/TopbarV2/topbarV2.dark.tokens.ts +1 -1
- package/lib/components/TopbarV2/topbarV2.light.tokens.ts +1 -1
- package/lib/components/TopbarV2/topbarV2.tokens.ts +6 -69
- package/lib/components/TopbarV2/topbarV2.tokens.types.ts +70 -0
- package/lib/components/Upload/Upload.tsx +6 -0
- package/lib/components/Upload/components/FileListDisplay.tsx +161 -16
- package/lib/components/Upload/utils.ts +10 -2
- package/lib/components/shared/layoutTypes.ts +44 -0
- package/lib/context/ThemeProvider.tsx +19 -8
- package/lib/context/useComponentToken.ts +3 -3
- package/lib/hooks/useDebounce.ts +9 -1
- package/lib/hooks/useTruncationDetection.ts +33 -8
- package/package.json +5 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { StatCardV2Props, StatCardV2Variant } from './statcardV2.types';
|
|
2
3
|
import { StatCardV2TokensType } from './statcardV2.tokens';
|
|
3
4
|
export declare const STATCARD_FALLBACK_DISPLAY = "--";
|
|
4
5
|
export declare const renderVariantFallbackValue: (tokens: StatCardV2TokensType, variant: StatCardV2Variant) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const StatCardV2Value: ({ value, tokens, variant, id, }: {
|
|
6
|
+
declare const StatCardV2Value: ({ value, valueTooltip, tokens, variant, id, isSmallScreen, }: {
|
|
6
7
|
value: StatCardV2Props["value"];
|
|
8
|
+
valueTooltip?: ReactNode;
|
|
7
9
|
tokens: StatCardV2TokensType;
|
|
8
10
|
variant: StatCardV2Variant;
|
|
9
11
|
id?: string;
|
|
12
|
+
isSmallScreen?: boolean;
|
|
10
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export default StatCardV2Value;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveStatCardV2Tokens } from './statcardV2.tokens';
|
|
2
|
+
import { ResponsiveStatCardV2Tokens } from './statcardV2.tokens.types';
|
|
3
3
|
export declare const getStatCardV2DarkTokens: (foundationToken: FoundationTokenType) => ResponsiveStatCardV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveStatCardV2Tokens } from './statcardV2.tokens';
|
|
2
|
+
import { ResponsiveStatCardV2Tokens } from './statcardV2.tokens.types';
|
|
3
3
|
export declare const getStatCardV2LightTokens: (foundationToken: FoundationTokenType) => ResponsiveStatCardV2Tokens;
|
|
@@ -1,81 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
3
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
2
|
import { Theme } from '../../context/theme.enum';
|
|
5
|
-
import {
|
|
6
|
-
export type StatCardV2TokensType
|
|
7
|
-
height: CSSObject['height'];
|
|
8
|
-
width: CSSObject['width'];
|
|
9
|
-
maxWidth: CSSObject['maxWidth'];
|
|
10
|
-
minWidth: CSSObject['minWidth'];
|
|
11
|
-
paddingTop: CSSObject['paddingTop'];
|
|
12
|
-
paddingBottom: CSSObject['paddingBottom'];
|
|
13
|
-
paddingLeft: CSSObject['paddingLeft'];
|
|
14
|
-
paddingRight: CSSObject['paddingRight'];
|
|
15
|
-
border: CSSObject['border'];
|
|
16
|
-
borderRadius: CSSObject['borderRadius'];
|
|
17
|
-
backgroundColor: CSSObject['backgroundColor'];
|
|
18
|
-
boxShadow: CSSObject['boxShadow'];
|
|
19
|
-
topContainer: {
|
|
20
|
-
gap: CSSObject['gap'];
|
|
21
|
-
dataContainer: {
|
|
22
|
-
gap: CSSObject['gap'];
|
|
23
|
-
titleContainer: {
|
|
24
|
-
gap: CSSObject['gap'];
|
|
25
|
-
title: {
|
|
26
|
-
fontSize: CSSObject['fontSize'];
|
|
27
|
-
fontWeight: CSSObject['fontWeight'];
|
|
28
|
-
color: CSSObject['color'];
|
|
29
|
-
lineHeight: CSSObject['lineHeight'];
|
|
30
|
-
};
|
|
31
|
-
helpIcon: {
|
|
32
|
-
width: CSSObject['width'];
|
|
33
|
-
height: CSSObject['height'];
|
|
34
|
-
color: {
|
|
35
|
-
default: CSSObject['color'];
|
|
36
|
-
hover: CSSObject['color'];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
statsContainer: {
|
|
41
|
-
gap: CSSObject['gap'];
|
|
42
|
-
value: {
|
|
43
|
-
[key in StatCardV2Variant]: {
|
|
44
|
-
fontSize: CSSObject['fontSize'];
|
|
45
|
-
fontWeight: CSSObject['fontWeight'];
|
|
46
|
-
color: CSSObject['color'];
|
|
47
|
-
lineHeight: CSSObject['lineHeight'];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
changeContainer: {
|
|
51
|
-
gap: CSSObject['gap'];
|
|
52
|
-
change: {
|
|
53
|
-
fontSize: CSSObject['fontSize'];
|
|
54
|
-
fontWeight: CSSObject['fontWeight'];
|
|
55
|
-
color: {
|
|
56
|
-
[key in StatCardV2ChangeType]: CSSObject['color'];
|
|
57
|
-
};
|
|
58
|
-
lineHeight: CSSObject['lineHeight'];
|
|
59
|
-
};
|
|
60
|
-
arrow: {
|
|
61
|
-
width: CSSObject['width'];
|
|
62
|
-
height: CSSObject['height'];
|
|
63
|
-
color: {
|
|
64
|
-
[key in StatCardV2ChangeType]: CSSObject['color'];
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
subtitle: {
|
|
70
|
-
fontSize: CSSObject['fontSize'];
|
|
71
|
-
fontWeight: CSSObject['fontWeight'];
|
|
72
|
-
color: CSSObject['color'];
|
|
73
|
-
lineHeight: CSSObject['lineHeight'];
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export type ResponsiveStatCardV2Tokens = {
|
|
79
|
-
[key in keyof BreakpointType]: StatCardV2TokensType;
|
|
80
|
-
};
|
|
3
|
+
import { ResponsiveStatCardV2Tokens } from './statcardV2.tokens.types';
|
|
4
|
+
export type { ResponsiveStatCardV2Tokens, StatCardV2TokensType, } from './statcardV2.tokens.types';
|
|
81
5
|
export declare const getStatCardV2Tokens: (foundationToken: FoundationTokenType, theme?: Theme | string) => ResponsiveStatCardV2Tokens;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
3
|
+
export declare enum StatCardV2Variant {
|
|
4
|
+
CHART = "chart",
|
|
5
|
+
PROGRESS_BAR = "progress",
|
|
6
|
+
NUMBER = "number"
|
|
7
|
+
}
|
|
8
|
+
export declare enum StatCardV2ChangeType {
|
|
9
|
+
INCREASE = "increase",
|
|
10
|
+
DECREASE = "decrease"
|
|
11
|
+
}
|
|
12
|
+
export type StatCardV2TokensType = {
|
|
13
|
+
height: CSSObject['height'];
|
|
14
|
+
width: CSSObject['width'];
|
|
15
|
+
maxWidth: CSSObject['maxWidth'];
|
|
16
|
+
minWidth: CSSObject['minWidth'];
|
|
17
|
+
paddingTop: CSSObject['paddingTop'];
|
|
18
|
+
paddingBottom: CSSObject['paddingBottom'];
|
|
19
|
+
paddingLeft: CSSObject['paddingLeft'];
|
|
20
|
+
paddingRight: CSSObject['paddingRight'];
|
|
21
|
+
border: CSSObject['border'];
|
|
22
|
+
borderRadius: CSSObject['borderRadius'];
|
|
23
|
+
backgroundColor: CSSObject['backgroundColor'];
|
|
24
|
+
boxShadow: CSSObject['boxShadow'];
|
|
25
|
+
topContainer: {
|
|
26
|
+
gap: CSSObject['gap'];
|
|
27
|
+
dataContainer: {
|
|
28
|
+
gap: CSSObject['gap'];
|
|
29
|
+
titleContainer: {
|
|
30
|
+
gap: CSSObject['gap'];
|
|
31
|
+
title: {
|
|
32
|
+
fontSize: CSSObject['fontSize'];
|
|
33
|
+
fontWeight: CSSObject['fontWeight'];
|
|
34
|
+
color: CSSObject['color'];
|
|
35
|
+
lineHeight: CSSObject['lineHeight'];
|
|
36
|
+
};
|
|
37
|
+
helpIcon: {
|
|
38
|
+
width: CSSObject['width'];
|
|
39
|
+
height: CSSObject['height'];
|
|
40
|
+
color: {
|
|
41
|
+
default: CSSObject['color'];
|
|
42
|
+
hover: CSSObject['color'];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
statsContainer: {
|
|
47
|
+
gap: CSSObject['gap'];
|
|
48
|
+
value: {
|
|
49
|
+
[key in StatCardV2Variant]: {
|
|
50
|
+
fontSize: CSSObject['fontSize'];
|
|
51
|
+
fontWeight: CSSObject['fontWeight'];
|
|
52
|
+
color: CSSObject['color'];
|
|
53
|
+
lineHeight: CSSObject['lineHeight'];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
changeContainer: {
|
|
57
|
+
gap: CSSObject['gap'];
|
|
58
|
+
change: {
|
|
59
|
+
fontSize: CSSObject['fontSize'];
|
|
60
|
+
fontWeight: CSSObject['fontWeight'];
|
|
61
|
+
color: {
|
|
62
|
+
[key in StatCardV2ChangeType]: CSSObject['color'];
|
|
63
|
+
};
|
|
64
|
+
lineHeight: CSSObject['lineHeight'];
|
|
65
|
+
};
|
|
66
|
+
arrow: {
|
|
67
|
+
width: CSSObject['width'];
|
|
68
|
+
height: CSSObject['height'];
|
|
69
|
+
color: {
|
|
70
|
+
[key in StatCardV2ChangeType]: CSSObject['color'];
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
subtitle: {
|
|
76
|
+
fontSize: CSSObject['fontSize'];
|
|
77
|
+
fontWeight: CSSObject['fontWeight'];
|
|
78
|
+
color: CSSObject['color'];
|
|
79
|
+
lineHeight: CSSObject['lineHeight'];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export type ResponsiveStatCardV2Tokens = {
|
|
85
|
+
[key in keyof BreakpointType]: StatCardV2TokensType;
|
|
86
|
+
};
|
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { CSSObject } from 'styled-components';
|
|
3
|
-
import { StatCardV2TokensType } from './statcardV2.tokens';
|
|
4
|
-
import { ChartV2Options } from '../ChartsV2';
|
|
5
|
-
import { SkeletonVariant } from '../Skeleton';
|
|
6
|
-
import { SingleSelectProps } from '../SingleSelect';
|
|
3
|
+
import { StatCardV2ChangeType, StatCardV2Variant, StatCardV2TokensType } from './statcardV2.tokens.types';
|
|
4
|
+
import { ChartV2Options } from '../ChartsV2/chartV2.types';
|
|
5
|
+
import { SkeletonVariant } from '../Skeleton/types';
|
|
6
|
+
import { SingleSelectProps } from '../SingleSelect/types';
|
|
7
|
+
export { StatCardV2ChangeType, StatCardV2Variant };
|
|
7
8
|
export type StatCardV2Dimensions = {
|
|
8
9
|
width?: CSSObject['width'];
|
|
9
10
|
maxWidth?: CSSObject['maxWidth'];
|
|
10
11
|
minWidth?: CSSObject['minWidth'];
|
|
11
12
|
height?: CSSObject['height'];
|
|
12
13
|
};
|
|
13
|
-
export declare enum StatCardV2Variant {
|
|
14
|
-
CHART = "chart",
|
|
15
|
-
PROGRESS_BAR = "progress",
|
|
16
|
-
NUMBER = "number"
|
|
17
|
-
}
|
|
18
14
|
export declare enum StatCardV2ArrowDirection {
|
|
19
15
|
UP = "up",
|
|
20
16
|
DOWN = "down"
|
|
21
17
|
}
|
|
22
|
-
export declare enum StatCardV2ChangeType {
|
|
23
|
-
INCREASE = "increase",
|
|
24
|
-
DECREASE = "decrease"
|
|
25
|
-
}
|
|
26
18
|
export declare enum StatCardV2Alignment {
|
|
27
19
|
LEFT = "left",
|
|
28
20
|
CENTER = "center"
|
|
@@ -47,6 +39,7 @@ export type StatCardV2TitleProps = {
|
|
|
47
39
|
helpIconText?: string;
|
|
48
40
|
tokens: StatCardV2TokensType;
|
|
49
41
|
id?: string;
|
|
42
|
+
isSmallScreen?: boolean;
|
|
50
43
|
};
|
|
51
44
|
export type StatCardV2ChangeProps = {
|
|
52
45
|
changeValueText?: string;
|
|
@@ -55,6 +48,7 @@ export type StatCardV2ChangeProps = {
|
|
|
55
48
|
arrowDirection: StatCardV2ArrowDirection;
|
|
56
49
|
changeType: StatCardV2ChangeType;
|
|
57
50
|
tokens: StatCardV2TokensType;
|
|
51
|
+
tooltip?: ReactNode;
|
|
58
52
|
id?: string;
|
|
59
53
|
};
|
|
60
54
|
export type StatCardV2SubtitleProps = {
|
|
@@ -70,6 +64,7 @@ export type StatCardV2Props = {
|
|
|
70
64
|
value?: string;
|
|
71
65
|
progressValue?: number;
|
|
72
66
|
helpIconText?: string;
|
|
67
|
+
valueTooltip?: ReactNode;
|
|
73
68
|
change?: StatCardV2Change;
|
|
74
69
|
subtitle?: string;
|
|
75
70
|
options?: ChartV2Options;
|
|
@@ -22,6 +22,7 @@ export type SubStep = {
|
|
|
22
22
|
title: string;
|
|
23
23
|
status?: StepState;
|
|
24
24
|
disabled?: boolean;
|
|
25
|
+
slot?: ReactNode;
|
|
25
26
|
};
|
|
26
27
|
export type Step = {
|
|
27
28
|
id: number;
|
|
@@ -30,6 +31,7 @@ export type Step = {
|
|
|
30
31
|
disabled?: boolean;
|
|
31
32
|
description?: string;
|
|
32
33
|
icon?: ReactNode;
|
|
34
|
+
slot?: ReactNode;
|
|
33
35
|
substeps?: SubStep[];
|
|
34
36
|
isExpandable?: boolean;
|
|
35
37
|
isExpanded?: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveStepperV2Tokens } from './stepperV2.tokens';
|
|
2
|
+
import { ResponsiveStepperV2Tokens } from './stepperV2.tokens.types';
|
|
3
3
|
export declare const getStepperV2DarkTokens: (foundationToken: FoundationTokenType) => ResponsiveStepperV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveStepperV2Tokens } from './stepperV2.tokens';
|
|
2
|
+
import { ResponsiveStepperV2Tokens } from './stepperV2.tokens.types';
|
|
3
3
|
export declare const getStepperV2LightTokens: (foundationToken: FoundationTokenType) => ResponsiveStepperV2Tokens;
|
|
@@ -1,99 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
3
|
-
import { StepperV2InteractionState, StepperV2StepStatus } from './stepperV2.types';
|
|
4
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
5
2
|
import { Theme } from '../../context/theme.enum';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
gap: CSSObject['gap'];
|
|
9
|
-
step: {
|
|
10
|
-
circle: {
|
|
11
|
-
[key in StepperV2StepStatus]: {
|
|
12
|
-
[key in StepperV2InteractionState]: {
|
|
13
|
-
backgroundColor: CSSObject['backgroundColor'];
|
|
14
|
-
borderColor: CSSObject['borderColor'];
|
|
15
|
-
borderWidth: CSSObject['borderWidth'];
|
|
16
|
-
borderRadius: CSSObject['borderRadius'];
|
|
17
|
-
size: CSSObject['width'];
|
|
18
|
-
transition: CSSObject['transition'];
|
|
19
|
-
outline: CSSObject['outline'];
|
|
20
|
-
outlineOffset: CSSObject['outlineOffset'];
|
|
21
|
-
paddingTop: CSSObject['paddingTop'];
|
|
22
|
-
paddingRight: CSSObject['paddingRight'];
|
|
23
|
-
paddingBottom: CSSObject['paddingBottom'];
|
|
24
|
-
paddingLeft: CSSObject['paddingLeft'];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
icon: {
|
|
29
|
-
[key in StepperV2StepStatus]: {
|
|
30
|
-
[key in StepperV2InteractionState]: {
|
|
31
|
-
color: CSSObject['color'];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
connector: {
|
|
37
|
-
line: {
|
|
38
|
-
color: CSSObject['color'];
|
|
39
|
-
height: CSSObject['height'];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
subConnector: {
|
|
43
|
-
line: {
|
|
44
|
-
color: CSSObject['color'];
|
|
45
|
-
height: CSSObject['height'];
|
|
46
|
-
};
|
|
47
|
-
dot: {
|
|
48
|
-
border: CSSObject['border'];
|
|
49
|
-
borderRadius: CSSObject['borderRadius'];
|
|
50
|
-
height: CSSObject['height'];
|
|
51
|
-
width: CSSObject['width'];
|
|
52
|
-
paddingTop: CSSObject['paddingTop'];
|
|
53
|
-
paddingRight: CSSObject['paddingRight'];
|
|
54
|
-
paddingBottom: CSSObject['paddingBottom'];
|
|
55
|
-
paddingLeft: CSSObject['paddingLeft'];
|
|
56
|
-
};
|
|
57
|
-
expander: {
|
|
58
|
-
icon: {
|
|
59
|
-
color: CSSObject['color'];
|
|
60
|
-
};
|
|
61
|
-
width: CSSObject['width'];
|
|
62
|
-
};
|
|
63
|
-
text: {
|
|
64
|
-
[key in StepperV2StepStatus]: {
|
|
65
|
-
color: CSSObject['color'];
|
|
66
|
-
fontSize: CSSObject['fontSize'];
|
|
67
|
-
fontWeight: CSSObject['fontWeight'];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
title: {
|
|
72
|
-
text: {
|
|
73
|
-
[key in StepperV2StepStatus]: {
|
|
74
|
-
[key in StepperV2InteractionState]: {
|
|
75
|
-
color: CSSObject['color'];
|
|
76
|
-
fontSize: CSSObject['fontSize'];
|
|
77
|
-
fontWeight: CSSObject['fontWeight'];
|
|
78
|
-
gap: CSSObject['gap'];
|
|
79
|
-
paddingTop: CSSObject['paddingTop'];
|
|
80
|
-
paddingRight: CSSObject['paddingRight'];
|
|
81
|
-
paddingBottom: CSSObject['paddingBottom'];
|
|
82
|
-
paddingLeft: CSSObject['paddingLeft'];
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
description: {
|
|
88
|
-
text: {
|
|
89
|
-
color: CSSObject['color'];
|
|
90
|
-
fontSize: CSSObject['fontSize'];
|
|
91
|
-
fontWeight: CSSObject['fontWeight'];
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export type ResponsiveStepperV2Tokens = {
|
|
97
|
-
[key in keyof BreakpointType]: StepperV2TokensType;
|
|
98
|
-
};
|
|
3
|
+
import { ResponsiveStepperV2Tokens } from './stepperV2.tokens.types';
|
|
4
|
+
export type { StepperV2TokensType, ResponsiveStepperV2Tokens, } from './stepperV2.tokens.types';
|
|
99
5
|
export declare const getStepperV2Tokens: (foundationToken: FoundationTokenType, theme?: Theme | string) => ResponsiveStepperV2Tokens;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
3
|
+
import { StepperV2InteractionState, StepperV2StepStatus } from './stepperV2.types';
|
|
4
|
+
export type StepperV2TokensType = {
|
|
5
|
+
container: {
|
|
6
|
+
gap: CSSObject['gap'];
|
|
7
|
+
step: {
|
|
8
|
+
circle: {
|
|
9
|
+
[key in StepperV2StepStatus]: {
|
|
10
|
+
[key in StepperV2InteractionState]: {
|
|
11
|
+
backgroundColor: CSSObject['backgroundColor'];
|
|
12
|
+
borderColor: CSSObject['borderColor'];
|
|
13
|
+
borderWidth: CSSObject['borderWidth'];
|
|
14
|
+
borderRadius: CSSObject['borderRadius'];
|
|
15
|
+
size: CSSObject['width'];
|
|
16
|
+
transition: CSSObject['transition'];
|
|
17
|
+
outline: CSSObject['outline'];
|
|
18
|
+
outlineOffset: CSSObject['outlineOffset'];
|
|
19
|
+
paddingTop: CSSObject['paddingTop'];
|
|
20
|
+
paddingRight: CSSObject['paddingRight'];
|
|
21
|
+
paddingBottom: CSSObject['paddingBottom'];
|
|
22
|
+
paddingLeft: CSSObject['paddingLeft'];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
[key in StepperV2StepStatus]: {
|
|
28
|
+
[key in StepperV2InteractionState]: {
|
|
29
|
+
color: CSSObject['color'];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
connector: {
|
|
35
|
+
line: {
|
|
36
|
+
color: CSSObject['color'];
|
|
37
|
+
height: CSSObject['height'];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
subConnector: {
|
|
41
|
+
line: {
|
|
42
|
+
color: CSSObject['color'];
|
|
43
|
+
height: CSSObject['height'];
|
|
44
|
+
};
|
|
45
|
+
dot: {
|
|
46
|
+
border: CSSObject['border'];
|
|
47
|
+
borderRadius: CSSObject['borderRadius'];
|
|
48
|
+
height: CSSObject['height'];
|
|
49
|
+
width: CSSObject['width'];
|
|
50
|
+
paddingTop: CSSObject['paddingTop'];
|
|
51
|
+
paddingRight: CSSObject['paddingRight'];
|
|
52
|
+
paddingBottom: CSSObject['paddingBottom'];
|
|
53
|
+
paddingLeft: CSSObject['paddingLeft'];
|
|
54
|
+
};
|
|
55
|
+
expander: {
|
|
56
|
+
icon: {
|
|
57
|
+
color: CSSObject['color'];
|
|
58
|
+
};
|
|
59
|
+
width: CSSObject['width'];
|
|
60
|
+
};
|
|
61
|
+
text: {
|
|
62
|
+
[key in StepperV2StepStatus]: {
|
|
63
|
+
color: CSSObject['color'];
|
|
64
|
+
fontSize: CSSObject['fontSize'];
|
|
65
|
+
fontWeight: CSSObject['fontWeight'];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
title: {
|
|
70
|
+
text: {
|
|
71
|
+
[key in StepperV2StepStatus]: {
|
|
72
|
+
[key in StepperV2InteractionState]: {
|
|
73
|
+
color: CSSObject['color'];
|
|
74
|
+
fontSize: CSSObject['fontSize'];
|
|
75
|
+
fontWeight: CSSObject['fontWeight'];
|
|
76
|
+
gap: CSSObject['gap'];
|
|
77
|
+
paddingTop: CSSObject['paddingTop'];
|
|
78
|
+
paddingRight: CSSObject['paddingRight'];
|
|
79
|
+
paddingBottom: CSSObject['paddingBottom'];
|
|
80
|
+
paddingLeft: CSSObject['paddingLeft'];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
description: {
|
|
86
|
+
text: {
|
|
87
|
+
color: CSSObject['color'];
|
|
88
|
+
fontSize: CSSObject['fontSize'];
|
|
89
|
+
fontWeight: CSSObject['fontWeight'];
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export type ResponsiveStepperV2Tokens = {
|
|
95
|
+
[key in keyof BreakpointType]: StepperV2TokensType;
|
|
96
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveTabsV2Tokens } from './tabsV2.tokens';
|
|
2
|
+
import { ResponsiveTabsV2Tokens } from './tabsV2.tokens.types';
|
|
3
3
|
export declare const getTabsV2DarkTokens: (foundationToken: FoundationTokenType) => ResponsiveTabsV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveTabsV2Tokens } from './tabsV2.tokens';
|
|
2
|
+
import { ResponsiveTabsV2Tokens } from './tabsV2.tokens.types';
|
|
3
3
|
export declare const getTabsV2LightTokens: (foundationToken: FoundationTokenType) => ResponsiveTabsV2Tokens;
|
|
@@ -1,97 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { TabsV2Variant, TabsV2Size, TabsV2State } from './tabsV2.types';
|
|
3
1
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
|
-
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
5
2
|
import { Theme } from '../../context/theme.enum';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
outline: CSSObject['outline'];
|
|
9
|
-
tabList: {
|
|
10
|
-
gap: CSSObject['gap'];
|
|
11
|
-
backgroundColor: {
|
|
12
|
-
[key in TabsV2Variant]: CSSObject['backgroundColor'];
|
|
13
|
-
};
|
|
14
|
-
borderRadius: {
|
|
15
|
-
[key in TabsV2Size]: {
|
|
16
|
-
[key in TabsV2Variant]: CSSObject['borderRadius'];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
padding: {
|
|
20
|
-
[key in TabsV2Size]: {
|
|
21
|
-
[key in TabsV2Variant]: {
|
|
22
|
-
top: CSSObject['paddingTop'];
|
|
23
|
-
right: CSSObject['paddingRight'];
|
|
24
|
-
bottom: CSSObject['paddingBottom'];
|
|
25
|
-
left: CSSObject['paddingLeft'];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
activeIndicator: {
|
|
30
|
-
height: CSSObject['height'];
|
|
31
|
-
color: CSSObject['color'];
|
|
32
|
-
position: {
|
|
33
|
-
bottom: CSSObject['bottom'];
|
|
34
|
-
};
|
|
35
|
-
transition: CSSObject['transition'];
|
|
36
|
-
zIndex: CSSObject['zIndex'];
|
|
37
|
-
};
|
|
38
|
-
stickyHeader: {
|
|
39
|
-
boxShadow: CSSObject['boxShadow'];
|
|
40
|
-
zIndex: CSSObject['zIndex'];
|
|
41
|
-
};
|
|
42
|
-
trigger: {
|
|
43
|
-
gap: CSSObject['gap'];
|
|
44
|
-
icon: {
|
|
45
|
-
maxWidth: CSSObject['maxWidth'];
|
|
46
|
-
};
|
|
47
|
-
backgroundColor: {
|
|
48
|
-
[key in TabsV2Variant]: {
|
|
49
|
-
[key in TabsV2State]: CSSObject['backgroundColor'];
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
borderRadius: {
|
|
53
|
-
[key in TabsV2Size]: {
|
|
54
|
-
[key in TabsV2Variant]: CSSObject['borderRadius'];
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
border: {
|
|
58
|
-
[key in TabsV2Variant]: CSSObject['border'];
|
|
59
|
-
};
|
|
60
|
-
padding: {
|
|
61
|
-
[key in TabsV2Size]: {
|
|
62
|
-
[key in TabsV2Variant]: {
|
|
63
|
-
top: CSSObject['paddingTop'];
|
|
64
|
-
right: CSSObject['paddingRight'];
|
|
65
|
-
bottom: CSSObject['paddingBottom'];
|
|
66
|
-
left: CSSObject['paddingLeft'];
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
text: {
|
|
71
|
-
color: {
|
|
72
|
-
[key in TabsV2Variant]: {
|
|
73
|
-
[key in TabsV2State]: CSSObject['color'];
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
fontSize: {
|
|
77
|
-
[key in TabsV2Size]: CSSObject['fontSize'];
|
|
78
|
-
};
|
|
79
|
-
fontWeight: {
|
|
80
|
-
[key in TabsV2Size]: CSSObject['fontWeight'];
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
closeButton: {
|
|
84
|
-
width: CSSObject['width'];
|
|
85
|
-
borderRadius: CSSObject['borderRadius'];
|
|
86
|
-
backgroundColor: {
|
|
87
|
-
[key in TabsV2State]: CSSObject['backgroundColor'];
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
transition: CSSObject['transition'];
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
export type ResponsiveTabsV2Tokens = {
|
|
95
|
-
[key in keyof BreakpointType]: TabsV2TokensType;
|
|
96
|
-
};
|
|
3
|
+
import { ResponsiveTabsV2Tokens } from './tabsV2.tokens.types';
|
|
4
|
+
export type { ResponsiveTabsV2Tokens, TabsV2TokensType, } from './tabsV2.tokens.types';
|
|
97
5
|
export declare const getTabsV2Tokens: (foundationToken: FoundationTokenType, theme?: Theme | string) => ResponsiveTabsV2Tokens;
|