@juspay/blend-design-system 0.0.37-beta.5 → 0.0.37-beta.7
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/DataTable/TableBody/types.d.ts +1 -0
- package/dist/components/DataTable/TableCell/types.d.ts +1 -0
- package/dist/components/DataTable/columnTypes.d.ts +5 -3
- package/dist/components/DataTable/dataTable.tokens.d.ts +4 -0
- package/dist/components/DataTable/types.d.ts +20 -2
- package/dist/components/DataTable/utils.d.ts +4 -3
- 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/Skeleton/hooks/useSkeletonBase.d.ts +7 -11
- 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 +2 -0
- package/dist/components/StatCardV2/StatCardV2Change.d.ts +1 -1
- package/dist/components/StatCardV2/StatCardV2NoData.d.ts +2 -2
- 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 +9 -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 +97 -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/global-utils/GlobalUtils.d.ts +2 -1
- package/dist/main.js +29284 -29020
- package/dist/{node-C2uf3sNA.js → node-C_DmV86X.js} +121 -99
- 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/Card.tsx +1 -0
- package/lib/components/Card/types.ts +1 -1
- package/lib/components/Charts/ChartHeader.tsx +4 -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/CodeBlock/CodeBlock.tsx +8 -4
- 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 +3 -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 +6 -10
- package/lib/components/DataTable/TableBody/types.ts +1 -0
- package/lib/components/DataTable/TableCell/index.tsx +45 -20
- package/lib/components/DataTable/TableCell/types.ts +1 -0
- package/lib/components/DataTable/columnTypes.ts +5 -3
- package/lib/components/DataTable/dataTable.tokens.ts +15 -0
- package/lib/components/DataTable/types.ts +33 -2
- package/lib/components/DataTable/utils.ts +91 -5
- 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/Skeleton/hooks/useSkeletonBase.ts +11 -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 +284 -205
- package/lib/components/StatCard/types.ts +2 -2
- package/lib/components/StatCardV2/StatCardV2.tsx +13 -6
- package/lib/components/StatCardV2/StatCardV2Change.tsx +10 -1
- package/lib/components/StatCardV2/StatCardV2NoData.tsx +9 -6
- 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 +14 -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/TabsV2List.tsx +5 -1
- package/lib/components/TabsV2/tabsV2.dark.tokens.ts +13 -1
- package/lib/components/TabsV2/tabsV2.light.tokens.ts +13 -1
- package/lib/components/TabsV2/tabsV2.tokens.ts +5 -95
- package/lib/components/TabsV2/tabsV2.tokens.types.ts +99 -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/global-utils/GlobalUtils.ts +10 -1
- package/lib/hooks/useTruncationDetection.ts +33 -8
- package/package.json +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const E = {
|
|
2
2
|
xs: "0px 1px 1px 0px rgba(5, 5, 6, 0.04)",
|
|
3
3
|
sm: "0px 2px 3px 0px rgba(5, 5, 6, 0.05)",
|
|
4
4
|
md: "0px 2px 8px 1px rgba(5, 5, 6, 0.07)",
|
|
@@ -265,7 +265,7 @@ const L = {
|
|
|
265
265
|
200: "200px",
|
|
266
266
|
350: "350px",
|
|
267
267
|
auto: "auto"
|
|
268
|
-
},
|
|
268
|
+
}, C = {
|
|
269
269
|
gray: {
|
|
270
270
|
0: "#FFFFFF",
|
|
271
271
|
25: "#FCFCFD",
|
|
@@ -361,7 +361,7 @@ const L = {
|
|
|
361
361
|
900: "#733E0A",
|
|
362
362
|
950: "#432004"
|
|
363
363
|
}
|
|
364
|
-
},
|
|
364
|
+
}, a = {
|
|
365
365
|
0: 0,
|
|
366
366
|
10: 10,
|
|
367
367
|
99: 99,
|
|
@@ -371,17 +371,17 @@ const L = {
|
|
|
371
371
|
1e3: 1e3,
|
|
372
372
|
1100: 1100,
|
|
373
373
|
1200: 1200
|
|
374
|
-
},
|
|
375
|
-
shadows:
|
|
374
|
+
}, Ur = {
|
|
375
|
+
shadows: E,
|
|
376
376
|
border: N,
|
|
377
377
|
font: H,
|
|
378
378
|
opacity: D,
|
|
379
379
|
unit: I,
|
|
380
|
-
colors:
|
|
381
|
-
zIndex:
|
|
380
|
+
colors: C,
|
|
381
|
+
zIndex: a
|
|
382
382
|
};
|
|
383
383
|
var h = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(h || {});
|
|
384
|
-
const
|
|
384
|
+
const Xr = (r) => ({
|
|
385
385
|
// Small breakpoint (mobile)
|
|
386
386
|
sm: {
|
|
387
387
|
// Base properties
|
|
@@ -550,7 +550,7 @@ const Pr = (r) => ({
|
|
|
550
550
|
gap: r.unit[16]
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
}),
|
|
553
|
+
}), _r = (r) => ({
|
|
554
554
|
sm: {
|
|
555
555
|
// Base sidebar properties
|
|
556
556
|
maxWidth: {
|
|
@@ -693,7 +693,7 @@ const Pr = (r) => ({
|
|
|
693
693
|
borderTop: `1px solid ${r.colors.gray[200]}`
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
}),
|
|
696
|
+
}), Pr = (r) => {
|
|
697
697
|
const c = {
|
|
698
698
|
backgroundColor: r.colors.gray[0],
|
|
699
699
|
drawer: {
|
|
@@ -2240,7 +2240,7 @@ const Pr = (r) => ({
|
|
|
2240
2240
|
}
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
|
-
}),
|
|
2243
|
+
}), G = (r) => ({
|
|
2244
2244
|
sm: {
|
|
2245
2245
|
gap: r.unit[10],
|
|
2246
2246
|
// Pattern: backgroundColor.[variant].[subType].[state]
|
|
@@ -3639,7 +3639,7 @@ const Pr = (r) => ({
|
|
|
3639
3639
|
}
|
|
3640
3640
|
}
|
|
3641
3641
|
}
|
|
3642
|
-
}),
|
|
3642
|
+
}), Vr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? G(r) : A(r), W = (r) => ({
|
|
3643
3643
|
sm: {
|
|
3644
3644
|
gap: r.unit[6],
|
|
3645
3645
|
backgroundColor: {
|
|
@@ -4309,7 +4309,7 @@ const Pr = (r) => ({
|
|
|
4309
4309
|
}
|
|
4310
4310
|
}
|
|
4311
4311
|
}
|
|
4312
|
-
}),
|
|
4312
|
+
}), qr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? W(r) : B(r);
|
|
4313
4313
|
var M = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r))(M || {}), F = /* @__PURE__ */ ((r) => (r.TOP = "top", r.LEFT = "left", r.RIGHT = "right", r.BOTTOM = "bottom", r))(F || {}), m = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.ACTION = "action", r))(m || {}), x = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.DANGER = "danger", r))(x || {});
|
|
4314
4314
|
const U = (r) => ({
|
|
4315
4315
|
sm: {
|
|
@@ -4965,7 +4965,7 @@ const U = (r) => ({
|
|
|
4965
4965
|
marginLeft: r.unit[0]
|
|
4966
4966
|
}
|
|
4967
4967
|
}
|
|
4968
|
-
}),
|
|
4968
|
+
}), Kr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? X(r) : U(r), _ = (r) => ({
|
|
4969
4969
|
sm: {
|
|
4970
4970
|
width: "100%",
|
|
4971
4971
|
maxWidth: "900px",
|
|
@@ -5619,7 +5619,7 @@ const U = (r) => ({
|
|
|
5619
5619
|
}
|
|
5620
5620
|
}
|
|
5621
5621
|
}
|
|
5622
|
-
}),
|
|
5622
|
+
}), Yr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? _(r) : P(r);
|
|
5623
5623
|
var p = /* @__PURE__ */ ((r) => (r.BORDER = "border", r.NO_BORDER = "noBorder", r))(p || {}), V = /* @__PURE__ */ ((r) => (r.LEFT = "left", r.RIGHT = "right", r))(V || {});
|
|
5624
5624
|
const q = (r) => ({
|
|
5625
5625
|
sm: {
|
|
@@ -6015,7 +6015,7 @@ const q = (r) => ({
|
|
|
6015
6015
|
}
|
|
6016
6016
|
}
|
|
6017
6017
|
}
|
|
6018
|
-
}),
|
|
6018
|
+
}), Jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? q(r) : K(r), Y = (r) => ({
|
|
6019
6019
|
sm: {
|
|
6020
6020
|
width: "100%",
|
|
6021
6021
|
maxWidth: "calc(100vw - 32px)",
|
|
@@ -6311,7 +6311,7 @@ const q = (r) => ({
|
|
|
6311
6311
|
}
|
|
6312
6312
|
});
|
|
6313
6313
|
var j = /* @__PURE__ */ ((r) => (r.TOP = "top", r.BOTTOM = "bottom", r.LEFT = "left", r.RIGHT = "right", r))(j || {});
|
|
6314
|
-
const
|
|
6314
|
+
const jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Y(r) : J(r), Q = (r) => ({
|
|
6315
6315
|
sm: {
|
|
6316
6316
|
gap: r.unit[8],
|
|
6317
6317
|
switch: {
|
|
@@ -6747,7 +6747,7 @@ const Zr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Y(r) : J(r), Q = (
|
|
|
6747
6747
|
}
|
|
6748
6748
|
}
|
|
6749
6749
|
}
|
|
6750
|
-
}),
|
|
6750
|
+
}), Qr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Z(r) : Q(r);
|
|
6751
6751
|
var d = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r))(d || {}), g = /* @__PURE__ */ ((r) => (r.CONTAINER = "container", r.NO_CONTAINER = "no-container", r))(g || {}), y = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(y || {}), u = /* @__PURE__ */ ((r) => (r.TOP = "top", r.LEFT = "left", r.RIGHT = "right", r.BOTTOM = "bottom", r))(u || {});
|
|
6752
6752
|
const f = (r) => {
|
|
6753
6753
|
const w = {
|
|
@@ -7441,7 +7441,7 @@ const f = (r) => {
|
|
|
7441
7441
|
}
|
|
7442
7442
|
};
|
|
7443
7443
|
return { sm: w, lg: w };
|
|
7444
|
-
},
|
|
7444
|
+
}, Zr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? o(r) : f(r);
|
|
7445
7445
|
var O = /* @__PURE__ */ ((r) => (r.COUNT = "count", r.TEXT = "text", r))(O || {});
|
|
7446
7446
|
const T = (r) => {
|
|
7447
7447
|
const w = {
|
|
@@ -8317,7 +8317,7 @@ const T = (r) => {
|
|
|
8317
8317
|
sm: w,
|
|
8318
8318
|
lg: w
|
|
8319
8319
|
};
|
|
8320
|
-
},
|
|
8320
|
+
}, dr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? k(r) : T(r);
|
|
8321
8321
|
var s = /* @__PURE__ */ ((r) => (r.SM = "sm", r.REGULAR = "regular", r.MD = "md", r.LG = "lg", r.XL = "xl", r))(s || {}), z = /* @__PURE__ */ ((r) => (r.CIRCULAR = "circular", r.ROUNDED = "rounded", r))(z || {}), n = /* @__PURE__ */ ((r) => (r.TOP_RIGHT = "topRight", r.BOTTOM_RIGHT = "bottomRight", r.TOP_LEFT = "topLeft", r.BOTTOM_LEFT = "bottomLeft", r))(n || {}), S = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ONLINE = "online", r.OFFLINE = "offline", r.AWAY = "away", r.BUSY = "busy", r))(S || {}), rr = /* @__PURE__ */ ((r) => (r.IMAGE = "image", r.TEXT = "text", r.ICON = "icon", r))(rr || {});
|
|
8322
8322
|
const lr = (r) => ({
|
|
8323
8323
|
sm: {
|
|
@@ -8897,7 +8897,7 @@ const lr = (r) => ({
|
|
|
8897
8897
|
width: r.unit[20]
|
|
8898
8898
|
}
|
|
8899
8899
|
}
|
|
8900
|
-
}),
|
|
8900
|
+
}), ur = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? lr(r) : sr(r), gr = (r) => ({
|
|
8901
8901
|
sm: {
|
|
8902
8902
|
gap: r.unit[8],
|
|
8903
8903
|
topContainer: {
|
|
@@ -9733,7 +9733,7 @@ const lr = (r) => ({
|
|
|
9733
9733
|
}
|
|
9734
9734
|
}
|
|
9735
9735
|
}
|
|
9736
|
-
}),
|
|
9736
|
+
}), fr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? gr(r) : cr(r), tr = (r) => ({
|
|
9737
9737
|
sm: {
|
|
9738
9738
|
// Dark surface similar to shadcn dark charts (card on dark bg)
|
|
9739
9739
|
border: `1px solid ${r.colors.gray[800]}`,
|
|
@@ -10114,7 +10114,7 @@ const lr = (r) => ({
|
|
|
10114
10114
|
}
|
|
10115
10115
|
}
|
|
10116
10116
|
}
|
|
10117
|
-
}),
|
|
10117
|
+
}), or = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? tr(r) : ir(r);
|
|
10118
10118
|
var R = /* @__PURE__ */ ((r) => (r.SUCCESS = "success", r.WARNING = "warning", r.ERROR = "error", r.NEUTRAL = "neutral", r))(R || {});
|
|
10119
10119
|
const pr = (r) => ({
|
|
10120
10120
|
track: {
|
|
@@ -10370,7 +10370,7 @@ const pr = (r) => ({
|
|
|
10370
10370
|
}), hr = (r) => {
|
|
10371
10371
|
const c = yr(r);
|
|
10372
10372
|
return { sm: c, lg: c };
|
|
10373
|
-
},
|
|
10373
|
+
}, Tr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? er(r) : hr(r), br = (r) => ({
|
|
10374
10374
|
sm: {
|
|
10375
10375
|
gap: r.unit[8],
|
|
10376
10376
|
checkbox: {
|
|
@@ -10987,7 +10987,7 @@ const pr = (r) => ({
|
|
|
10987
10987
|
}
|
|
10988
10988
|
}
|
|
10989
10989
|
}
|
|
10990
|
-
}),
|
|
10990
|
+
}), kr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? mr(r) : br(r);
|
|
10991
10991
|
var xr = /* @__PURE__ */ ((r) => (r[r.vertical = 0] = "vertical", r[r.horizontal = 1] = "horizontal", r))(xr || {}), v = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(v || {});
|
|
10992
10992
|
const Sr = (r) => ({
|
|
10993
10993
|
sm: {
|
|
@@ -11095,9 +11095,9 @@ const Sr = (r) => ({
|
|
|
11095
11095
|
gap: r.unit[8]
|
|
11096
11096
|
}
|
|
11097
11097
|
}
|
|
11098
|
-
}),
|
|
11099
|
-
var $ = /* @__PURE__ */ ((r) => (r.CHART = "chart", r.PROGRESS_BAR = "progress", r.NUMBER = "number", r))($ || {}), vr = /* @__PURE__ */ ((r) => (r.
|
|
11100
|
-
const
|
|
11098
|
+
}), nr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? zr(r) : Sr(r);
|
|
11099
|
+
var $ = /* @__PURE__ */ ((r) => (r.CHART = "chart", r.PROGRESS_BAR = "progress", r.NUMBER = "number", r))($ || {}), vr = /* @__PURE__ */ ((r) => (r.INCREASE = "increase", r.DECREASE = "decrease", r))(vr || {});
|
|
11100
|
+
const $r = (r) => ({
|
|
11101
11101
|
sm: {
|
|
11102
11102
|
height: "auto",
|
|
11103
11103
|
width: "auto",
|
|
@@ -11270,7 +11270,7 @@ const Or = (r) => ({
|
|
|
11270
11270
|
}
|
|
11271
11271
|
}
|
|
11272
11272
|
}
|
|
11273
|
-
}),
|
|
11273
|
+
}), wr = (r) => ({
|
|
11274
11274
|
sm: {
|
|
11275
11275
|
height: "auto",
|
|
11276
11276
|
width: "auto",
|
|
@@ -11443,7 +11443,7 @@ const Or = (r) => ({
|
|
|
11443
11443
|
}
|
|
11444
11444
|
}
|
|
11445
11445
|
}
|
|
11446
|
-
}),
|
|
11446
|
+
}), r0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? wr(r) : $r(r), Or = (r) => ({
|
|
11447
11447
|
sm: {
|
|
11448
11448
|
zIndex: r.zIndex[9999],
|
|
11449
11449
|
// background (size-independent)
|
|
@@ -11546,7 +11546,7 @@ const Or = (r) => ({
|
|
|
11546
11546
|
}
|
|
11547
11547
|
}
|
|
11548
11548
|
}
|
|
11549
|
-
}),
|
|
11549
|
+
}), Rr = (r) => ({
|
|
11550
11550
|
sm: {
|
|
11551
11551
|
zIndex: r.zIndex[9999],
|
|
11552
11552
|
// background (size-independent)
|
|
@@ -11649,7 +11649,7 @@ const Or = (r) => ({
|
|
|
11649
11649
|
}
|
|
11650
11650
|
}
|
|
11651
11651
|
}
|
|
11652
|
-
}),
|
|
11652
|
+
}), l0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Rr(r) : Or(r), Lr = (r) => ({
|
|
11653
11653
|
sm: {
|
|
11654
11654
|
gap: r.unit[8],
|
|
11655
11655
|
group: {
|
|
@@ -11918,7 +11918,7 @@ const Or = (r) => ({
|
|
|
11918
11918
|
}
|
|
11919
11919
|
}
|
|
11920
11920
|
}
|
|
11921
|
-
}),
|
|
11921
|
+
}), Er = (r) => ({
|
|
11922
11922
|
sm: {
|
|
11923
11923
|
gap: r.unit[8],
|
|
11924
11924
|
group: {
|
|
@@ -12187,7 +12187,7 @@ const Or = (r) => ({
|
|
|
12187
12187
|
}
|
|
12188
12188
|
}
|
|
12189
12189
|
}
|
|
12190
|
-
}),
|
|
12190
|
+
}), s0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Er(r) : Lr(r), Nr = (r) => ({
|
|
12191
12191
|
sm: {
|
|
12192
12192
|
// background (size-independent)
|
|
12193
12193
|
background: r.colors.gray[0],
|
|
@@ -12406,7 +12406,7 @@ const Or = (r) => ({
|
|
|
12406
12406
|
}
|
|
12407
12407
|
}
|
|
12408
12408
|
}
|
|
12409
|
-
}),
|
|
12409
|
+
}), Hr = (r) => ({
|
|
12410
12410
|
sm: {
|
|
12411
12411
|
// background (size-independent)
|
|
12412
12412
|
background: r.colors.gray[0],
|
|
@@ -12624,9 +12624,9 @@ const Or = (r) => ({
|
|
|
12624
12624
|
}
|
|
12625
12625
|
}
|
|
12626
12626
|
}
|
|
12627
|
-
}),
|
|
12627
|
+
}), g0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Hr(r) : Nr(r);
|
|
12628
12628
|
var l = /* @__PURE__ */ ((r) => (r.BOXED = "boxed", r.FLOATING = "floating", r.UNDERLINE = "underline", r.PILLS = "pills", r))(l || {}), t = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(t || {});
|
|
12629
|
-
const
|
|
12629
|
+
const Dr = (r) => ({
|
|
12630
12630
|
sm: {
|
|
12631
12631
|
width: "100%",
|
|
12632
12632
|
outline: "none",
|
|
@@ -12738,6 +12738,12 @@ const ar = (r) => ({
|
|
|
12738
12738
|
}
|
|
12739
12739
|
}
|
|
12740
12740
|
},
|
|
12741
|
+
borderBottom: {
|
|
12742
|
+
[l.UNDERLINE]: `${r.border.width[1]} solid ${r.colors.gray[200]}`,
|
|
12743
|
+
[l.BOXED]: "none",
|
|
12744
|
+
[l.FLOATING]: "none",
|
|
12745
|
+
[l.PILLS]: "none"
|
|
12746
|
+
},
|
|
12741
12747
|
activeIndicator: {
|
|
12742
12748
|
height: r.border.width[2],
|
|
12743
12749
|
color: r.colors.gray[700],
|
|
@@ -13051,6 +13057,12 @@ const ar = (r) => ({
|
|
|
13051
13057
|
}
|
|
13052
13058
|
}
|
|
13053
13059
|
},
|
|
13060
|
+
borderBottom: {
|
|
13061
|
+
[l.UNDERLINE]: `${r.border.width[1]} solid ${r.colors.gray[200]}`,
|
|
13062
|
+
[l.BOXED]: "none",
|
|
13063
|
+
[l.FLOATING]: "none",
|
|
13064
|
+
[l.PILLS]: "none"
|
|
13065
|
+
},
|
|
13054
13066
|
activeIndicator: {
|
|
13055
13067
|
height: r.border.width[2],
|
|
13056
13068
|
color: r.colors.gray[700],
|
|
@@ -13253,7 +13265,7 @@ const ar = (r) => ({
|
|
|
13253
13265
|
}
|
|
13254
13266
|
}
|
|
13255
13267
|
}
|
|
13256
|
-
}),
|
|
13268
|
+
}), Ir = (r) => ({
|
|
13257
13269
|
sm: {
|
|
13258
13270
|
width: "100%",
|
|
13259
13271
|
outline: "none",
|
|
@@ -13365,6 +13377,12 @@ const ar = (r) => ({
|
|
|
13365
13377
|
}
|
|
13366
13378
|
}
|
|
13367
13379
|
},
|
|
13380
|
+
borderBottom: {
|
|
13381
|
+
[l.UNDERLINE]: `${r.border.width[1]} solid ${r.colors.gray[700]}`,
|
|
13382
|
+
[l.BOXED]: "none",
|
|
13383
|
+
[l.FLOATING]: "none",
|
|
13384
|
+
[l.PILLS]: "none"
|
|
13385
|
+
},
|
|
13368
13386
|
activeIndicator: {
|
|
13369
13387
|
height: r.border.width[2],
|
|
13370
13388
|
color: r.colors.gray[200],
|
|
@@ -13678,6 +13696,12 @@ const ar = (r) => ({
|
|
|
13678
13696
|
}
|
|
13679
13697
|
}
|
|
13680
13698
|
},
|
|
13699
|
+
borderBottom: {
|
|
13700
|
+
[l.UNDERLINE]: `${r.border.width[1]} solid ${r.colors.gray[700]}`,
|
|
13701
|
+
[l.BOXED]: "none",
|
|
13702
|
+
[l.FLOATING]: "none",
|
|
13703
|
+
[l.PILLS]: "none"
|
|
13704
|
+
},
|
|
13681
13705
|
activeIndicator: {
|
|
13682
13706
|
height: r.border.width[2],
|
|
13683
13707
|
color: r.colors.gray[200],
|
|
@@ -13880,11 +13904,11 @@ const ar = (r) => ({
|
|
|
13880
13904
|
}
|
|
13881
13905
|
}
|
|
13882
13906
|
}
|
|
13883
|
-
}),
|
|
13884
|
-
var
|
|
13885
|
-
const
|
|
13907
|
+
}), c0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Ir(r) : Dr(r);
|
|
13908
|
+
var e = /* @__PURE__ */ ((r) => (r.ADDED = "added", r.REMOVED = "removed", r.UNCHANGED = "unchanged", r))(e || {}), Cr = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.NO_GUTTER = "no-gutter", r.DIFF = "diff", r))(Cr || {}), L = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(L || {});
|
|
13909
|
+
const ar = (r) => ({
|
|
13886
13910
|
sm: {
|
|
13887
|
-
theme:
|
|
13911
|
+
theme: L.DARK,
|
|
13888
13912
|
backgroundColor: r.colors.gray[25],
|
|
13889
13913
|
border: `1px solid ${r.colors.gray[200]}`,
|
|
13890
13914
|
borderRadius: r.border.radius[8],
|
|
@@ -13961,7 +13985,7 @@ const Wr = (r) => ({
|
|
|
13961
13985
|
}
|
|
13962
13986
|
},
|
|
13963
13987
|
lg: {
|
|
13964
|
-
theme:
|
|
13988
|
+
theme: L.DARK,
|
|
13965
13989
|
backgroundColor: r.colors.gray[25],
|
|
13966
13990
|
border: `1px solid ${r.colors.gray[200]}`,
|
|
13967
13991
|
borderRadius: r.border.radius[8],
|
|
@@ -14037,13 +14061,13 @@ const Wr = (r) => ({
|
|
|
14037
14061
|
}
|
|
14038
14062
|
}
|
|
14039
14063
|
}
|
|
14040
|
-
}),
|
|
14064
|
+
}), Ar = (r) => ({
|
|
14041
14065
|
sm: {
|
|
14042
14066
|
backgroundColor: r.colors.gray[25],
|
|
14043
14067
|
border: `1px solid ${r.colors.gray[200]}`,
|
|
14044
14068
|
borderRadius: r.border.radius[8],
|
|
14045
14069
|
boxShadow: "0px 2px 3px 0px rgba(5, 5, 6, 0.05)",
|
|
14046
|
-
theme:
|
|
14070
|
+
theme: L.LIGHT,
|
|
14047
14071
|
header: {
|
|
14048
14072
|
backgroundColor: r.colors.gray[50],
|
|
14049
14073
|
borderBottom: `1px solid ${r.colors.gray[200]}`,
|
|
@@ -14120,7 +14144,7 @@ const Wr = (r) => ({
|
|
|
14120
14144
|
border: `1px solid ${r.colors.gray[200]}`,
|
|
14121
14145
|
borderRadius: r.border.radius[8],
|
|
14122
14146
|
boxShadow: "0px 2px 3px 0px rgba(5, 5, 6, 0.05)",
|
|
14123
|
-
theme:
|
|
14147
|
+
theme: L.LIGHT,
|
|
14124
14148
|
header: {
|
|
14125
14149
|
backgroundColor: r.colors.gray[50],
|
|
14126
14150
|
borderBottom: `1px solid ${r.colors.gray[200]}`,
|
|
@@ -14192,9 +14216,9 @@ const Wr = (r) => ({
|
|
|
14192
14216
|
}
|
|
14193
14217
|
}
|
|
14194
14218
|
}
|
|
14195
|
-
}),
|
|
14196
|
-
var b = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(b || {}),
|
|
14197
|
-
const
|
|
14219
|
+
}), t0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? ar(r) : Ar(r);
|
|
14220
|
+
var b = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(b || {}), Gr = /* @__PURE__ */ ((r) => (r.LINEAR = "linear", r.CIRCULAR = "circular", r))(Gr || {}), i = /* @__PURE__ */ ((r) => (r.SOLID = "solid", r.SEGMENTED = "segmented", r))(i || {});
|
|
14221
|
+
const Wr = (r) => ({
|
|
14198
14222
|
sm: {
|
|
14199
14223
|
linear: {
|
|
14200
14224
|
height: {
|
|
@@ -14385,7 +14409,7 @@ const Mr = (r) => ({
|
|
|
14385
14409
|
},
|
|
14386
14410
|
transition: "width 0.3s ease-in-out"
|
|
14387
14411
|
}
|
|
14388
|
-
}),
|
|
14412
|
+
}), Br = (r) => ({
|
|
14389
14413
|
sm: {
|
|
14390
14414
|
linear: {
|
|
14391
14415
|
height: {
|
|
@@ -14576,7 +14600,7 @@ const Mr = (r) => ({
|
|
|
14576
14600
|
},
|
|
14577
14601
|
transition: "width 0.3s ease-in-out"
|
|
14578
14602
|
}
|
|
14579
|
-
}),
|
|
14603
|
+
}), i0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Wr(r) : Br(r), Mr = (r) => ({
|
|
14580
14604
|
sm: {
|
|
14581
14605
|
gap: r.unit[0],
|
|
14582
14606
|
item: {
|
|
@@ -14625,7 +14649,7 @@ const Mr = (r) => ({
|
|
|
14625
14649
|
color: r.colors.gray[400]
|
|
14626
14650
|
}
|
|
14627
14651
|
}
|
|
14628
|
-
}),
|
|
14652
|
+
}), Fr = (r) => ({
|
|
14629
14653
|
sm: {
|
|
14630
14654
|
gap: r.unit[0],
|
|
14631
14655
|
item: {
|
|
@@ -14674,66 +14698,64 @@ const Mr = (r) => ({
|
|
|
14674
14698
|
color: r.colors.gray[600]
|
|
14675
14699
|
}
|
|
14676
14700
|
}
|
|
14677
|
-
}),
|
|
14701
|
+
}), p0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Fr(r) : Mr(r);
|
|
14678
14702
|
export {
|
|
14679
|
-
|
|
14703
|
+
xr as $,
|
|
14680
14704
|
V as A,
|
|
14681
14705
|
p as B,
|
|
14682
14706
|
x as C,
|
|
14683
14707
|
F as D,
|
|
14684
14708
|
M as E,
|
|
14685
|
-
|
|
14709
|
+
Ur as F,
|
|
14686
14710
|
S as G,
|
|
14687
14711
|
n as H,
|
|
14688
14712
|
rr as I,
|
|
14689
14713
|
s as J,
|
|
14690
14714
|
z as K,
|
|
14691
|
-
|
|
14715
|
+
Gr as L,
|
|
14692
14716
|
m as M,
|
|
14693
14717
|
b as N,
|
|
14694
|
-
|
|
14718
|
+
u as O,
|
|
14695
14719
|
i as P,
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14720
|
+
g as Q,
|
|
14721
|
+
y as R,
|
|
14722
|
+
d as S,
|
|
14699
14723
|
h as T,
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
|
|
14703
|
-
|
|
14704
|
-
|
|
14705
|
-
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
|
-
Zr as
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
Qr as y,
|
|
14738
|
-
Kr as z
|
|
14724
|
+
$ as U,
|
|
14725
|
+
vr as V,
|
|
14726
|
+
l as W,
|
|
14727
|
+
t as X,
|
|
14728
|
+
R as Y,
|
|
14729
|
+
Cr as Z,
|
|
14730
|
+
L as _,
|
|
14731
|
+
_r as a,
|
|
14732
|
+
v as a0,
|
|
14733
|
+
O as a1,
|
|
14734
|
+
j as a2,
|
|
14735
|
+
e as a3,
|
|
14736
|
+
Xr as b,
|
|
14737
|
+
l0 as c,
|
|
14738
|
+
Tr as d,
|
|
14739
|
+
fr as e,
|
|
14740
|
+
qr as f,
|
|
14741
|
+
Pr as g,
|
|
14742
|
+
c0 as h,
|
|
14743
|
+
r0 as i,
|
|
14744
|
+
jr as j,
|
|
14745
|
+
Qr as k,
|
|
14746
|
+
Zr as l,
|
|
14747
|
+
s0 as m,
|
|
14748
|
+
i0 as n,
|
|
14749
|
+
g0 as o,
|
|
14750
|
+
dr as p,
|
|
14751
|
+
Kr as q,
|
|
14752
|
+
nr as r,
|
|
14753
|
+
t0 as s,
|
|
14754
|
+
kr as t,
|
|
14755
|
+
or as u,
|
|
14756
|
+
p0 as v,
|
|
14757
|
+
ur as w,
|
|
14758
|
+
Yr as x,
|
|
14759
|
+
Jr as y,
|
|
14760
|
+
Vr as z
|
|
14739
14761
|
};
|
package/dist/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as a, T as o, y as t, x as T, w as n, v as g, z as k, u as V, t as r, s as i, r as l, q as c, g as b, p as d, o as u, n as S, m as p, a as h, l as m, j as v, i as x, k as A, h as C, f as M, e as B, d as E, c as N, b as P } from "./node-
|
|
1
|
+
import { F as a, T as o, y as t, x as T, w as n, v as g, z as k, u as V, t as r, s as i, r as l, q as c, g as b, p as d, o as u, n as S, m as p, a as h, l as m, j as v, i as x, k as A, h as C, f as M, e as B, d as E, c as N, b as P } from "./node-C_DmV86X.js";
|
|
2
2
|
export {
|
|
3
3
|
a as FOUNDATION_THEME,
|
|
4
4
|
o as Theme,
|
package/dist/tokens.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as u, T as d, g as k, a as E, b as V, c as g, d as v, e as p, f as S, h, i as R, j as A, k as y, l as C, m as N, n as I, o as P, p as m, q as _, r as B, s as L, t as w, u as M, v as j, w as U, x as D, y as G, z as H } from "./node-
|
|
1
|
+
import { F as u, T as d, g as k, a as E, b as V, c as g, d as v, e as p, f as S, h, i as R, j as A, k as y, l as C, m as N, n as I, o as P, p as m, q as _, r as B, s as L, t as w, u as M, v as j, w as U, x as D, y as G, z as H } from "./node-C_DmV86X.js";
|
|
2
2
|
import { BRANCH_COLLECTION as ie, BRANCH_ID_PATTERN as ae, PRESETS as ce, PRESET_BLEND_DEFAULT as fe, PRESET_GREEN as le, PRESET_JUSPAY as Te, PRESET_ORANGE as ue, PRESET_PURPLE as de, RADIUS_PRESETS as Oe, SNAPSHOT_SUBCOLLECTION as ke, STORAGE_KEYS as Ee, TEAM_ROLE_PERMISSIONS as Ve, VERSION_PATTERN as ge, VERSION_SUBCOLLECTION as ve, analyzeContrast as pe, canUserPerformAction as Se, diffBrandConfigs as he, extractOverridePaths as Re, generateBranchId as Ae, generateColorScale as ye, getContrastRatio as Ce, getContrastRatioHex as Ne, getDefaultOnboardingState as Ie, getDefaultPreferences as Pe, getPreset as me, hexToRgb as _e, incrementVersion as Be, isValidHexColor as Le, listPresets as we, meetsWCAG as Me, parseBranchId as je, relativeLuminance as Ue, resolveWithInheritance as De, snapshotsPath as Ge, suggestForeground as He, validateAgainstLocks as xe, validateBranchId as Ke, validateBrandConfig as Fe, validatePaletteContrast as Je, validateVersion as $e, versionsPath as Ye } from "./tokens-server.js";
|
|
3
3
|
function O(e) {
|
|
4
4
|
const o = typeof structuredClone == "function" ? structuredClone(u) : JSON.parse(JSON.stringify(u));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token'
|
|
2
|
-
import { ResponsiveAccordionV2Tokens } from './accordionV2.tokens'
|
|
2
|
+
import type { ResponsiveAccordionV2Tokens } from './accordionV2.tokens.types'
|
|
3
3
|
import { AccordionV2Type } from './accordionV2.types'
|
|
4
4
|
|
|
5
5
|
export const getAccordionV2DarkTokens = (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FoundationTokenType } from '../../tokens/theme.token'
|
|
2
|
-
import { ResponsiveAccordionV2Tokens } from './accordionV2.tokens'
|
|
2
|
+
import type { ResponsiveAccordionV2Tokens } from './accordionV2.tokens.types'
|
|
3
3
|
import { AccordionV2Type } from './accordionV2.types'
|
|
4
4
|
|
|
5
5
|
export const getAccordionV2LightTokens = (
|
|
@@ -1,81 +1,14 @@
|
|
|
1
|
-
import type { CSSObject } from 'styled-components'
|
|
2
|
-
import { AccordionV2Type } from './accordionV2.types'
|
|
3
1
|
import type { FoundationTokenType } from '../../tokens/theme.token'
|
|
4
|
-
import { type BreakpointType } from '../../breakpoints/breakPoints'
|
|
5
2
|
import { Theme } from '../../context/theme.enum'
|
|
6
3
|
import { getAccordionV2DarkTokens } from './accordionV2.dark.tokens'
|
|
7
4
|
import { getAccordionV2LightTokens } from './accordionV2.light.tokens'
|
|
5
|
+
import type { ResponsiveAccordionV2Tokens } from './accordionV2.tokens.types'
|
|
8
6
|
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
| 'open'
|
|
15
|
-
export type AccordionV2TokensType = {
|
|
16
|
-
gap: {
|
|
17
|
-
[key in AccordionV2Type]: CSSObject['gap']
|
|
18
|
-
}
|
|
19
|
-
borderRadius: {
|
|
20
|
-
[key in AccordionV2Type]: CSSObject['borderRadius']
|
|
21
|
-
}
|
|
22
|
-
trigger: {
|
|
23
|
-
content: {
|
|
24
|
-
gap: CSSObject['gap']
|
|
25
|
-
}
|
|
26
|
-
backgroundColor: {
|
|
27
|
-
[key in AccordionV2Type]: {
|
|
28
|
-
[key in AccordionV2State]: CSSObject['backgroundColor']
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
border: {
|
|
32
|
-
[key in AccordionV2Type]: {
|
|
33
|
-
[key in AccordionV2State]: CSSObject['border']
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
padding: {
|
|
37
|
-
[key in AccordionV2Type]: CSSObject['padding']
|
|
38
|
-
}
|
|
39
|
-
text: {
|
|
40
|
-
gap: CSSObject['gap']
|
|
41
|
-
title: {
|
|
42
|
-
fontSize: CSSObject['fontSize']
|
|
43
|
-
fontWeight: CSSObject['fontWeight']
|
|
44
|
-
lineHeight: CSSObject['lineHeight']
|
|
45
|
-
color: {
|
|
46
|
-
[key in AccordionV2State]: CSSObject['color']
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
subtext: {
|
|
50
|
-
fontSize: CSSObject['fontSize']
|
|
51
|
-
fontWeight: CSSObject['fontWeight']
|
|
52
|
-
lineHeight: CSSObject['lineHeight']
|
|
53
|
-
gap: CSSObject['gap']
|
|
54
|
-
color: {
|
|
55
|
-
[key in AccordionV2State]: CSSObject['color']
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
slot: {
|
|
60
|
-
height: CSSObject['height']
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
separator: {
|
|
64
|
-
color: {
|
|
65
|
-
[key in AccordionV2Type]: CSSObject['color']
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
chevron: {
|
|
69
|
-
height: CSSObject['height']
|
|
70
|
-
color: {
|
|
71
|
-
[key in AccordionV2State]: CSSObject['color']
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type ResponsiveAccordionV2Tokens = {
|
|
77
|
-
[key in keyof BreakpointType]: AccordionV2TokensType
|
|
78
|
-
}
|
|
7
|
+
export type {
|
|
8
|
+
AccordionV2State,
|
|
9
|
+
AccordionV2TokensType,
|
|
10
|
+
ResponsiveAccordionV2Tokens,
|
|
11
|
+
} from './accordionV2.tokens.types'
|
|
79
12
|
|
|
80
13
|
export const getAccordionV2Tokens = (
|
|
81
14
|
foundationToken: FoundationTokenType,
|