@juspay/blend-design-system 0.0.37-beta.5 → 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/types.d.ts +1 -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/types.d.ts +2 -2
- 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/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/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/types.d.ts +2 -23
- 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/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/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/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 +21029 -20837
- package/dist/{node-C2uf3sNA.js → node-CJ_Tft0g.js} +86 -88
- package/dist/node.js +1 -1
- package/dist/tokens.js +1 -1
- 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/types.ts +1 -1
- package/lib/components/AvatarGroup/types.ts +1 -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/types.ts +1 -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/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/types.ts +1 -1
- package/lib/components/Charts/renderChart.tsx +6 -2
- package/lib/components/Charts/types.tsx +2 -2
- 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/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 +1 -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/DateRangePicker/DateRangePicker.tsx +2 -1
- package/lib/components/DateRangePicker/components/ActionButtons.tsx +2 -1
- package/lib/components/Directory/NavItem.tsx +1 -0
- package/lib/components/Directory/Section.tsx +1 -0
- 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/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/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/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 +1 -1
- package/lib/components/Sidebar/SidebarContent.tsx +1 -0
- package/lib/components/Sidebar/SidebarHeader.tsx +2 -12
- package/lib/components/Sidebar/types.ts +12 -25
- 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/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/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/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/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/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/components/FileListDisplay.tsx +3 -1
- package/lib/components/shared/layoutTypes.ts +44 -0
- package/lib/context/useComponentToken.ts +3 -3
- package/lib/hooks/useTruncationDetection.ts +33 -8
- package/package.json +5 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { InputSizeV2, InputStateV2 } from '../inputV2.types';
|
|
3
|
+
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
4
|
+
import { InputFooterV2Tokens, InputLabelsV2Tokens } from '../inputV2.tokens';
|
|
5
|
+
export type MultiValueInputV2TokensType = {
|
|
6
|
+
gap: CSSObject['gap'];
|
|
7
|
+
borderRadius: CSSObject['borderRadius'];
|
|
8
|
+
topContainer: InputLabelsV2Tokens;
|
|
9
|
+
inputContainer: {
|
|
10
|
+
offSet: number;
|
|
11
|
+
fontSize: {
|
|
12
|
+
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
13
|
+
};
|
|
14
|
+
fontWeight: {
|
|
15
|
+
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
16
|
+
};
|
|
17
|
+
gap: CSSObject['gap'];
|
|
18
|
+
borderRadius?: CSSObject['borderRadius'];
|
|
19
|
+
boxShadow: {
|
|
20
|
+
[key in InputStateV2]: CSSObject['boxShadow'];
|
|
21
|
+
};
|
|
22
|
+
paddingTop: {
|
|
23
|
+
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
24
|
+
};
|
|
25
|
+
paddingRight: {
|
|
26
|
+
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
27
|
+
};
|
|
28
|
+
paddingBottom: {
|
|
29
|
+
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
30
|
+
};
|
|
31
|
+
paddingLeft: {
|
|
32
|
+
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
33
|
+
};
|
|
34
|
+
border: {
|
|
35
|
+
[key in InputStateV2]: CSSObject['border'];
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
39
|
+
};
|
|
40
|
+
placeholderColor: {
|
|
41
|
+
default: CSSObject['color'];
|
|
42
|
+
focus: CSSObject['color'];
|
|
43
|
+
hover: CSSObject['color'];
|
|
44
|
+
error: CSSObject['color'];
|
|
45
|
+
disabled: CSSObject['color'];
|
|
46
|
+
};
|
|
47
|
+
backgroundColor: {
|
|
48
|
+
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
49
|
+
};
|
|
50
|
+
closeButton: {
|
|
51
|
+
width: CSSObject['width'];
|
|
52
|
+
};
|
|
53
|
+
leftSlot: {
|
|
54
|
+
width: CSSObject['width'];
|
|
55
|
+
height: CSSObject['height'];
|
|
56
|
+
};
|
|
57
|
+
rightSlot: {
|
|
58
|
+
width: CSSObject['width'];
|
|
59
|
+
height: CSSObject['height'];
|
|
60
|
+
};
|
|
61
|
+
/** Vertical alignment for slot row vs tags (`top` / `marginTop` in layout) */
|
|
62
|
+
slotAlignTop: {
|
|
63
|
+
withTags: CSSObject['top'];
|
|
64
|
+
withoutTags: CSSObject['top'];
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
bottomContainer: InputFooterV2Tokens;
|
|
68
|
+
};
|
|
69
|
+
export type ResponsiveMultiValueInputV2Tokens = {
|
|
70
|
+
[key in keyof BreakpointType]: MultiValueInputV2TokensType;
|
|
71
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputSizeV2 } from '../inputV2.types';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { NumberInputV2Direction } from '.';
|
|
3
|
+
import { NumberInputV2Direction } from './numberInputV2.types';
|
|
4
4
|
declare const NumberInputV2: React.ForwardRefExoticComponent<{
|
|
5
5
|
slot?: {
|
|
6
6
|
left?: React.ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveNumberInputV2Tokens } from './numberInputV2.tokens';
|
|
2
|
+
import { ResponsiveNumberInputV2Tokens } from './numberInputV2.tokens.types';
|
|
3
3
|
export declare const getNumberInputV2DarkTokens: (foundationToken: FoundationTokenType) => ResponsiveNumberInputV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveNumberInputV2Tokens } from './numberInputV2.tokens';
|
|
2
|
+
import { ResponsiveNumberInputV2Tokens } from './numberInputV2.tokens.types';
|
|
3
3
|
export declare const getNumberInputV2LightTokens: (foundationToken: FoundationTokenType) => ResponsiveNumberInputV2Tokens;
|
|
@@ -1,135 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
3
|
-
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
4
|
-
import { InputSizeV2, InputStateV2 } from '../inputV2.types';
|
|
5
2
|
import { Theme } from '../../../context/theme.enum';
|
|
6
|
-
import {
|
|
7
|
-
export type NumberInputV2TokensType
|
|
8
|
-
gap: CSSObject['gap'];
|
|
9
|
-
topContainer: InputLabelsV2Tokens;
|
|
10
|
-
inputContainer: {
|
|
11
|
-
placeholder: {
|
|
12
|
-
color: {
|
|
13
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
14
|
-
};
|
|
15
|
-
fontSize: {
|
|
16
|
-
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
17
|
-
};
|
|
18
|
-
fontWeight: {
|
|
19
|
-
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
20
|
-
};
|
|
21
|
-
lineHeight: {
|
|
22
|
-
[key in InputSizeV2]: CSSObject['lineHeight'];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
fontSize: {
|
|
26
|
-
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
27
|
-
};
|
|
28
|
-
fontWeight: {
|
|
29
|
-
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
30
|
-
};
|
|
31
|
-
color: {
|
|
32
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
33
|
-
};
|
|
34
|
-
borderRadius: {
|
|
35
|
-
[key in InputSizeV2]: CSSObject['borderRadius'];
|
|
36
|
-
};
|
|
37
|
-
boxShadow: CSSObject['boxShadow'];
|
|
38
|
-
paddingTop: {
|
|
39
|
-
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
40
|
-
};
|
|
41
|
-
paddingRight: {
|
|
42
|
-
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
43
|
-
};
|
|
44
|
-
paddingBottom: {
|
|
45
|
-
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
46
|
-
};
|
|
47
|
-
paddingLeft: {
|
|
48
|
-
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
49
|
-
};
|
|
50
|
-
border: {
|
|
51
|
-
[key in InputStateV2]: CSSObject['border'];
|
|
52
|
-
};
|
|
53
|
-
lineHeight: {
|
|
54
|
-
[key in InputSizeV2]: CSSObject['lineHeight'];
|
|
55
|
-
};
|
|
56
|
-
backgroundColor: {
|
|
57
|
-
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
58
|
-
};
|
|
59
|
-
stepperButton: {
|
|
60
|
-
width: {
|
|
61
|
-
[key in InputSizeV2]: CSSObject['width'];
|
|
62
|
-
};
|
|
63
|
-
backgroundColor: {
|
|
64
|
-
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
65
|
-
};
|
|
66
|
-
icon: {
|
|
67
|
-
color: {
|
|
68
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
69
|
-
};
|
|
70
|
-
width: {
|
|
71
|
-
[key in InputSizeV2]: CSSObject['width'];
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
slot: {
|
|
76
|
-
left: {
|
|
77
|
-
width: {
|
|
78
|
-
[key in InputSizeV2]: CSSObject['width'];
|
|
79
|
-
};
|
|
80
|
-
height: {
|
|
81
|
-
[key in InputSizeV2]: CSSObject['height'];
|
|
82
|
-
};
|
|
83
|
-
margin: {
|
|
84
|
-
[key in InputSizeV2]: CSSObject['margin'];
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
right: {
|
|
88
|
-
width: {
|
|
89
|
-
[key in InputSizeV2]: CSSObject['width'];
|
|
90
|
-
};
|
|
91
|
-
height: {
|
|
92
|
-
[key in InputSizeV2]: CSSObject['height'];
|
|
93
|
-
};
|
|
94
|
-
margin: {
|
|
95
|
-
[key in InputSizeV2]: CSSObject['margin'];
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
unit: {
|
|
101
|
-
fontSize: {
|
|
102
|
-
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
103
|
-
};
|
|
104
|
-
fontWeight: {
|
|
105
|
-
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
106
|
-
};
|
|
107
|
-
paddingTop: {
|
|
108
|
-
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
109
|
-
};
|
|
110
|
-
paddingRight: {
|
|
111
|
-
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
112
|
-
};
|
|
113
|
-
paddingBottom: {
|
|
114
|
-
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
115
|
-
};
|
|
116
|
-
paddingLeft: {
|
|
117
|
-
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
118
|
-
};
|
|
119
|
-
borderRadius: {
|
|
120
|
-
[key in InputSizeV2]: CSSObject['borderRadius'];
|
|
121
|
-
};
|
|
122
|
-
border: {
|
|
123
|
-
[key in InputStateV2]: CSSObject['border'];
|
|
124
|
-
};
|
|
125
|
-
color: {
|
|
126
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
floatingLabels: FloatingLabelsV2Tokens;
|
|
130
|
-
bottomContainer: InputFooterV2Tokens;
|
|
131
|
-
};
|
|
132
|
-
export type ResponsiveNumberInputV2Tokens = {
|
|
133
|
-
[key in keyof BreakpointType]: NumberInputV2TokensType;
|
|
134
|
-
};
|
|
3
|
+
import { ResponsiveNumberInputV2Tokens } from './numberInputV2.tokens.types';
|
|
4
|
+
export type { NumberInputV2TokensType, ResponsiveNumberInputV2Tokens, } from './numberInputV2.tokens.types';
|
|
135
5
|
export declare const getNumberInputV2Tokens: (foundationToken: FoundationTokenType, theme?: Theme | string) => ResponsiveNumberInputV2Tokens;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
3
|
+
import { InputSizeV2, InputStateV2 } from '../inputV2.types';
|
|
4
|
+
import { InputFooterV2Tokens, InputLabelsV2Tokens, FloatingLabelsV2Tokens } from '../inputV2.tokens';
|
|
5
|
+
export type NumberInputV2TokensType = {
|
|
6
|
+
gap: CSSObject['gap'];
|
|
7
|
+
topContainer: InputLabelsV2Tokens;
|
|
8
|
+
inputContainer: {
|
|
9
|
+
placeholder: {
|
|
10
|
+
color: {
|
|
11
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
12
|
+
};
|
|
13
|
+
fontSize: {
|
|
14
|
+
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
15
|
+
};
|
|
16
|
+
fontWeight: {
|
|
17
|
+
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
18
|
+
};
|
|
19
|
+
lineHeight: {
|
|
20
|
+
[key in InputSizeV2]: CSSObject['lineHeight'];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
fontSize: {
|
|
24
|
+
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
25
|
+
};
|
|
26
|
+
fontWeight: {
|
|
27
|
+
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
28
|
+
};
|
|
29
|
+
color: {
|
|
30
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
31
|
+
};
|
|
32
|
+
borderRadius: {
|
|
33
|
+
[key in InputSizeV2]: CSSObject['borderRadius'];
|
|
34
|
+
};
|
|
35
|
+
boxShadow: CSSObject['boxShadow'];
|
|
36
|
+
paddingTop: {
|
|
37
|
+
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
38
|
+
};
|
|
39
|
+
paddingRight: {
|
|
40
|
+
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
41
|
+
};
|
|
42
|
+
paddingBottom: {
|
|
43
|
+
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
44
|
+
};
|
|
45
|
+
paddingLeft: {
|
|
46
|
+
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
47
|
+
};
|
|
48
|
+
border: {
|
|
49
|
+
[key in InputStateV2]: CSSObject['border'];
|
|
50
|
+
};
|
|
51
|
+
lineHeight: {
|
|
52
|
+
[key in InputSizeV2]: CSSObject['lineHeight'];
|
|
53
|
+
};
|
|
54
|
+
backgroundColor: {
|
|
55
|
+
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
56
|
+
};
|
|
57
|
+
stepperButton: {
|
|
58
|
+
width: {
|
|
59
|
+
[key in InputSizeV2]: CSSObject['width'];
|
|
60
|
+
};
|
|
61
|
+
backgroundColor: {
|
|
62
|
+
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
63
|
+
};
|
|
64
|
+
icon: {
|
|
65
|
+
color: {
|
|
66
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
67
|
+
};
|
|
68
|
+
width: {
|
|
69
|
+
[key in InputSizeV2]: CSSObject['width'];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
slot: {
|
|
74
|
+
left: {
|
|
75
|
+
width: {
|
|
76
|
+
[key in InputSizeV2]: CSSObject['width'];
|
|
77
|
+
};
|
|
78
|
+
height: {
|
|
79
|
+
[key in InputSizeV2]: CSSObject['height'];
|
|
80
|
+
};
|
|
81
|
+
margin: {
|
|
82
|
+
[key in InputSizeV2]: CSSObject['margin'];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
right: {
|
|
86
|
+
width: {
|
|
87
|
+
[key in InputSizeV2]: CSSObject['width'];
|
|
88
|
+
};
|
|
89
|
+
height: {
|
|
90
|
+
[key in InputSizeV2]: CSSObject['height'];
|
|
91
|
+
};
|
|
92
|
+
margin: {
|
|
93
|
+
[key in InputSizeV2]: CSSObject['margin'];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
unit: {
|
|
99
|
+
fontSize: {
|
|
100
|
+
[key in InputSizeV2]: CSSObject['fontSize'];
|
|
101
|
+
};
|
|
102
|
+
fontWeight: {
|
|
103
|
+
[key in InputSizeV2]: CSSObject['fontWeight'];
|
|
104
|
+
};
|
|
105
|
+
paddingTop: {
|
|
106
|
+
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
107
|
+
};
|
|
108
|
+
paddingRight: {
|
|
109
|
+
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
110
|
+
};
|
|
111
|
+
paddingBottom: {
|
|
112
|
+
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
113
|
+
};
|
|
114
|
+
paddingLeft: {
|
|
115
|
+
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
116
|
+
};
|
|
117
|
+
borderRadius: {
|
|
118
|
+
[key in InputSizeV2]: CSSObject['borderRadius'];
|
|
119
|
+
};
|
|
120
|
+
border: {
|
|
121
|
+
[key in InputStateV2]: CSSObject['border'];
|
|
122
|
+
};
|
|
123
|
+
color: {
|
|
124
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
floatingLabels: FloatingLabelsV2Tokens;
|
|
128
|
+
bottomContainer: InputFooterV2Tokens;
|
|
129
|
+
};
|
|
130
|
+
export type ResponsiveNumberInputV2Tokens = {
|
|
131
|
+
[key in keyof BreakpointType]: NumberInputV2TokensType;
|
|
132
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveOTPInputV2Tokens } from './OTPInputV2.tokens';
|
|
2
|
+
import { ResponsiveOTPInputV2Tokens } from './OTPInputV2.tokens.types';
|
|
3
3
|
export declare const getOTPInputV2DarkTokens: (foundationTokens: FoundationTokenType) => ResponsiveOTPInputV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveOTPInputV2Tokens } from './OTPInputV2.tokens';
|
|
2
|
+
import { ResponsiveOTPInputV2Tokens } from './OTPInputV2.tokens.types';
|
|
3
3
|
export declare const getOTPInputV2LightTokens: (foundationTokens: FoundationTokenType) => ResponsiveOTPInputV2Tokens;
|
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
3
|
-
import { InputFooterV2Tokens, InputLabelsV2Tokens } from '../inputV2.tokens';
|
|
4
|
-
import { InputStateV2 } from '../inputV2.types';
|
|
5
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
6
2
|
import { Theme } from '../../../context/theme.enum';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
topContainer: InputLabelsV2Tokens;
|
|
10
|
-
inputContainer: {
|
|
11
|
-
gap: CSSObject['gap'];
|
|
12
|
-
input: {
|
|
13
|
-
height: CSSObject['height'];
|
|
14
|
-
width: CSSObject['width'];
|
|
15
|
-
fontSize: CSSObject['fontSize'];
|
|
16
|
-
fontWeight: CSSObject['fontWeight'];
|
|
17
|
-
color: {
|
|
18
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
19
|
-
};
|
|
20
|
-
borderRadius: CSSObject['borderRadius'];
|
|
21
|
-
border: {
|
|
22
|
-
[key in InputStateV2]: CSSObject['border'];
|
|
23
|
-
};
|
|
24
|
-
backgroundColor: {
|
|
25
|
-
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
bottomContainer: InputFooterV2Tokens;
|
|
30
|
-
};
|
|
31
|
-
export type ResponsiveOTPInputV2Tokens = {
|
|
32
|
-
[key in keyof BreakpointType]: OTPInputV2TokensType;
|
|
33
|
-
};
|
|
3
|
+
import { ResponsiveOTPInputV2Tokens } from './OTPInputV2.tokens.types';
|
|
4
|
+
export type { OTPInputV2TokensType, ResponsiveOTPInputV2Tokens, } from './OTPInputV2.tokens.types';
|
|
34
5
|
export declare const getOTPInputV2Tokens: (foundationToken: FoundationTokenType, theme?: Theme | string) => ResponsiveOTPInputV2Tokens;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
3
|
+
import { InputFooterV2Tokens, InputLabelsV2Tokens } from '../inputV2.tokens';
|
|
4
|
+
import { InputStateV2 } from '../inputV2.types';
|
|
5
|
+
export type OTPInputV2TokensType = {
|
|
6
|
+
gap: CSSObject['gap'];
|
|
7
|
+
topContainer: InputLabelsV2Tokens;
|
|
8
|
+
inputContainer: {
|
|
9
|
+
gap: CSSObject['gap'];
|
|
10
|
+
input: {
|
|
11
|
+
height: CSSObject['height'];
|
|
12
|
+
width: CSSObject['width'];
|
|
13
|
+
fontSize: CSSObject['fontSize'];
|
|
14
|
+
fontWeight: CSSObject['fontWeight'];
|
|
15
|
+
color: {
|
|
16
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
17
|
+
};
|
|
18
|
+
borderRadius: CSSObject['borderRadius'];
|
|
19
|
+
border: {
|
|
20
|
+
[key in InputStateV2]: CSSObject['border'];
|
|
21
|
+
};
|
|
22
|
+
backgroundColor: {
|
|
23
|
+
[key in InputStateV2]: CSSObject['backgroundColor'];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
bottomContainer: InputFooterV2Tokens;
|
|
28
|
+
};
|
|
29
|
+
export type ResponsiveOTPInputV2Tokens = {
|
|
30
|
+
[key in keyof BreakpointType]: OTPInputV2TokensType;
|
|
31
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveSearchInputV2Tokens } from './SearchInputV2.tokens';
|
|
2
|
+
import { ResponsiveSearchInputV2Tokens } from './SearchInputV2.tokens.types';
|
|
3
3
|
export declare const getSearchInputV2DarkTokens: (foundationTokens: FoundationTokenType) => ResponsiveSearchInputV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveSearchInputV2Tokens } from './SearchInputV2.tokens';
|
|
2
|
+
import { ResponsiveSearchInputV2Tokens } from './SearchInputV2.tokens.types';
|
|
3
3
|
export declare const getSearchInputV2LightTokens: (foundationTokens: FoundationTokenType) => ResponsiveSearchInputV2Tokens;
|
|
@@ -1,92 +1,5 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
3
|
-
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
4
|
-
import { InputSizeV2, InputStateV2 } from '../inputV2.types';
|
|
5
2
|
import { Theme } from '../../../context/theme.enum';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
label: {
|
|
9
|
-
fontSize: CSSObject['fontSize'];
|
|
10
|
-
fontWeight: CSSObject['fontWeight'];
|
|
11
|
-
color: {
|
|
12
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
subLabel: {
|
|
16
|
-
fontSize: CSSObject['fontSize'];
|
|
17
|
-
fontWeight: CSSObject['fontWeight'];
|
|
18
|
-
color: {
|
|
19
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
hintText: {
|
|
23
|
-
fontSize: CSSObject['fontSize'];
|
|
24
|
-
fontWeight: CSSObject['fontWeight'];
|
|
25
|
-
color: {
|
|
26
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
errorMessage: {
|
|
30
|
-
fontSize: CSSObject['fontSize'];
|
|
31
|
-
fontWeight: CSSObject['fontWeight'];
|
|
32
|
-
color: CSSObject['color'];
|
|
33
|
-
};
|
|
34
|
-
required: {
|
|
35
|
-
color: CSSObject['color'];
|
|
36
|
-
};
|
|
37
|
-
inputContainer: {
|
|
38
|
-
paddingTop: {
|
|
39
|
-
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
40
|
-
};
|
|
41
|
-
paddingRight: {
|
|
42
|
-
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
43
|
-
};
|
|
44
|
-
paddingBottom: {
|
|
45
|
-
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
46
|
-
};
|
|
47
|
-
paddingLeft: {
|
|
48
|
-
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
49
|
-
};
|
|
50
|
-
borderRadius: CSSObject['borderRadius'];
|
|
51
|
-
borderBottom: {
|
|
52
|
-
[key in InputStateV2]: CSSObject['borderBottom'];
|
|
53
|
-
};
|
|
54
|
-
outline: CSSObject['outline'];
|
|
55
|
-
boxShadow: CSSObject['boxShadow'];
|
|
56
|
-
color: {
|
|
57
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
58
|
-
};
|
|
59
|
-
placeholderColor: {
|
|
60
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
61
|
-
};
|
|
62
|
-
fontSize: CSSObject['fontSize'];
|
|
63
|
-
fontWeight: CSSObject['fontWeight'];
|
|
64
|
-
slot: {
|
|
65
|
-
left: {
|
|
66
|
-
top: CSSObject['top'];
|
|
67
|
-
left: CSSObject['left'];
|
|
68
|
-
bottom: CSSObject['bottom'];
|
|
69
|
-
};
|
|
70
|
-
right: {
|
|
71
|
-
top: CSSObject['top'];
|
|
72
|
-
right: CSSObject['right'];
|
|
73
|
-
bottom: CSSObject['bottom'];
|
|
74
|
-
};
|
|
75
|
-
transition: CSSObject['transition'];
|
|
76
|
-
transform: CSSObject['transform'];
|
|
77
|
-
color: {
|
|
78
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
icon: {
|
|
83
|
-
color: {
|
|
84
|
-
[key in InputStateV2]: CSSObject['color'];
|
|
85
|
-
};
|
|
86
|
-
width: CSSObject['width'];
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
export type ResponsiveSearchInputV2Tokens = {
|
|
90
|
-
[key in keyof BreakpointType]: SearchInputV2TokensType;
|
|
91
|
-
};
|
|
3
|
+
import { ResponsiveSearchInputV2Tokens } from './SearchInputV2.tokens.types';
|
|
4
|
+
export type { SearchInputV2TokensType, ResponsiveSearchInputV2Tokens, } from './SearchInputV2.tokens.types';
|
|
92
5
|
export declare const getSearchInputV2Tokens: (foundationTokens: FoundationTokenType, theme?: Theme | string) => ResponsiveSearchInputV2Tokens;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { BreakpointType } from '../../../breakpoints/breakPoints';
|
|
3
|
+
import { InputSizeV2, InputStateV2 } from '../inputV2.types';
|
|
4
|
+
export type SearchInputV2TokensType = {
|
|
5
|
+
gap: CSSObject['gap'];
|
|
6
|
+
label: {
|
|
7
|
+
fontSize: CSSObject['fontSize'];
|
|
8
|
+
fontWeight: CSSObject['fontWeight'];
|
|
9
|
+
color: {
|
|
10
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
subLabel: {
|
|
14
|
+
fontSize: CSSObject['fontSize'];
|
|
15
|
+
fontWeight: CSSObject['fontWeight'];
|
|
16
|
+
color: {
|
|
17
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
hintText: {
|
|
21
|
+
fontSize: CSSObject['fontSize'];
|
|
22
|
+
fontWeight: CSSObject['fontWeight'];
|
|
23
|
+
color: {
|
|
24
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
errorMessage: {
|
|
28
|
+
fontSize: CSSObject['fontSize'];
|
|
29
|
+
fontWeight: CSSObject['fontWeight'];
|
|
30
|
+
color: CSSObject['color'];
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
color: CSSObject['color'];
|
|
34
|
+
};
|
|
35
|
+
inputContainer: {
|
|
36
|
+
paddingTop: {
|
|
37
|
+
[key in InputSizeV2]: CSSObject['paddingTop'];
|
|
38
|
+
};
|
|
39
|
+
paddingRight: {
|
|
40
|
+
[key in InputSizeV2]: CSSObject['paddingRight'];
|
|
41
|
+
};
|
|
42
|
+
paddingBottom: {
|
|
43
|
+
[key in InputSizeV2]: CSSObject['paddingBottom'];
|
|
44
|
+
};
|
|
45
|
+
paddingLeft: {
|
|
46
|
+
[key in InputSizeV2]: CSSObject['paddingLeft'];
|
|
47
|
+
};
|
|
48
|
+
borderRadius: CSSObject['borderRadius'];
|
|
49
|
+
borderBottom: {
|
|
50
|
+
[key in InputStateV2]: CSSObject['borderBottom'];
|
|
51
|
+
};
|
|
52
|
+
outline: CSSObject['outline'];
|
|
53
|
+
boxShadow: CSSObject['boxShadow'];
|
|
54
|
+
color: {
|
|
55
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
56
|
+
};
|
|
57
|
+
placeholderColor: {
|
|
58
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
59
|
+
};
|
|
60
|
+
fontSize: CSSObject['fontSize'];
|
|
61
|
+
fontWeight: CSSObject['fontWeight'];
|
|
62
|
+
slot: {
|
|
63
|
+
left: {
|
|
64
|
+
top: CSSObject['top'];
|
|
65
|
+
left: CSSObject['left'];
|
|
66
|
+
bottom: CSSObject['bottom'];
|
|
67
|
+
};
|
|
68
|
+
right: {
|
|
69
|
+
top: CSSObject['top'];
|
|
70
|
+
right: CSSObject['right'];
|
|
71
|
+
bottom: CSSObject['bottom'];
|
|
72
|
+
};
|
|
73
|
+
transition: CSSObject['transition'];
|
|
74
|
+
transform: CSSObject['transform'];
|
|
75
|
+
color: {
|
|
76
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
icon: {
|
|
81
|
+
color: {
|
|
82
|
+
[key in InputStateV2]: CSSObject['color'];
|
|
83
|
+
};
|
|
84
|
+
width: CSSObject['width'];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export type ResponsiveSearchInputV2Tokens = {
|
|
88
|
+
[key in keyof BreakpointType]: SearchInputV2TokensType;
|
|
89
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveTextAreaV2Tokens } from './TextAreaV2.tokens';
|
|
2
|
+
import { ResponsiveTextAreaV2Tokens } from './TextAreaV2.tokens.types';
|
|
3
3
|
export declare const getTextAreaV2DarkTokens: (foundationTokens: FoundationTokenType) => ResponsiveTextAreaV2Tokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../../tokens/theme.token';
|
|
2
|
-
import { ResponsiveTextAreaV2Tokens } from './TextAreaV2.tokens';
|
|
2
|
+
import { ResponsiveTextAreaV2Tokens } from './TextAreaV2.tokens.types';
|
|
3
3
|
export declare const getTextAreaV2LightTokens: (foundationTokens: FoundationTokenType) => ResponsiveTextAreaV2Tokens;
|