@bitrise/bitkit 12.83.0 → 12.84.0
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/package.json +4 -4
- package/src/Components/Accordion/Accordion.tsx +1 -1
- package/src/Components/Accordion/AccordionItem.tsx +4 -4
- package/src/Components/AccordionLegacy/Accordion.theme.ts +59 -59
- package/src/Components/AccordionLegacy/LegacyAccordion.tsx +3 -3
- package/src/Components/AccordionLegacy/LegacyAccordionItem.tsx +4 -4
- package/src/Components/Badge/Badge.theme.ts +5 -5
- package/src/Components/Badge/Badge.tsx +1 -1
- package/src/Components/Breadcrumb/Breadcrumb.theme.ts +10 -10
- package/src/Components/Breadcrumb/Breadcrumb.tsx +1 -1
- package/src/Components/Button/Button.theme.ts +72 -72
- package/src/Components/Card/Card.theme.ts +7 -7
- package/src/Components/CloseButton/CloseButton.theme.ts +10 -10
- package/src/Components/CloseButton/CloseButton.tsx +1 -1
- package/src/Components/CodeBlock/CodeBlock.theme.ts +7 -7
- package/src/Components/CodeBlock/CodeBlock.tsx +4 -4
- package/src/Components/CodeSnippet/CodeSnippet.theme.ts +8 -8
- package/src/Components/CodeSnippet/CodeSnippet.tsx +2 -2
- package/src/Components/ColorButton/ColorButton.theme.ts +27 -27
- package/src/Components/ColorButton/ColorButton.tsx +2 -2
- package/src/Components/DatePicker/DatePicker.tsx +9 -9
- package/src/Components/DatePicker/DatePickerDay.theme.ts +31 -31
- package/src/Components/DatePicker/DatePickerDay.tsx +17 -17
- package/src/Components/DatePicker/DatePickerFooter.tsx +13 -13
- package/src/Components/DatePicker/DatePickerGrid.tsx +1 -1
- package/src/Components/DatePicker/DatePickerHeader.tsx +19 -19
- package/src/Components/DatePicker/DatePickerMonth.tsx +15 -15
- package/src/Components/DatePicker/DatePickerMonthSelector.tsx +25 -25
- package/src/Components/DefinitionTooltip/DefinitionTooltip.theme.ts +5 -5
- package/src/Components/DefinitionTooltip/DefinitionTooltip.tsx +1 -1
- package/src/Components/Dialog/Dialog.theme.ts +51 -51
- package/src/Components/Dialog/Dialog.tsx +5 -5
- package/src/Components/Dot/Dot.tsx +1 -1
- package/src/Components/Drawer/Drawer.theme.ts +20 -20
- package/src/Components/Drawer/Drawer.tsx +5 -5
- package/src/Components/Dropdown/Dropdown.context.tsx +2 -2
- package/src/Components/Dropdown/Dropdown.theme.ts +55 -55
- package/src/Components/Dropdown/Dropdown.tsx +52 -52
- package/src/Components/Dropdown/DropdownButton.tsx +5 -5
- package/src/Components/Dropdown/DropdownOption.tsx +12 -12
- package/src/Components/Dropdown/hooks/useAutoScroll.ts +3 -3
- package/src/Components/Dropdown/hooks/useFloatingDropdown.ts +39 -39
- package/src/Components/Dropdown/hooks/useSimpleSearch.tsx +1 -1
- package/src/Components/EmptyState/EmptyState.theme.ts +11 -11
- package/src/Components/EmptyState/EmptyState.tsx +1 -1
- package/src/Components/ExpandableCard/ExpandableCard.theme.ts +14 -14
- package/src/Components/ExpandableCard/ExpandableCard.tsx +3 -3
- package/src/Components/Filter/Filter.storyData.ts +44 -44
- package/src/Components/Filter/Filter.theme.ts +82 -82
- package/src/Components/Filter/Filter.tsx +6 -6
- package/src/Components/Filter/FilterAdd/FilterAdd.tsx +3 -3
- package/src/Components/Filter/FilterDate/FilterDate.tsx +4 -4
- package/src/Components/Filter/FilterForm/FilterForm.tsx +4 -5
- package/src/Components/Filter/FilterItem/FilterItem.tsx +4 -4
- package/src/Components/Filter/FilterSearch/FilterSearch.tsx +2 -2
- package/src/Components/Filter/FilterSwitch/FilterSwitch.theme.ts +29 -29
- package/src/Components/Filter/FilterSwitch/FilterSwitch.tsx +6 -6
- package/src/Components/Form/Checkbox/Checkbox.theme.ts +25 -25
- package/src/Components/Form/DateInput/DateInput.tsx +8 -8
- package/src/Components/Form/FileInput/FileInput.theme.ts +26 -26
- package/src/Components/Form/FileInput/FileInput.tsx +11 -11
- package/src/Components/Form/Form.theme.ts +5 -5
- package/src/Components/Form/Input/Input.theme.ts +24 -24
- package/src/Components/Form/Input/Input.tsx +17 -17
- package/src/Components/Form/Radio/Radio.theme.ts +26 -26
- package/src/Components/Form/Radio/Radio.tsx +1 -1
- package/src/Components/Form/Textarea/Textarea.tsx +9 -9
- package/src/Components/Icon/Icon.tsx +1 -1
- package/src/Components/IconButton/IconButton.tsx +1 -1
- package/src/Components/Icons/16x16/Addons.tsx +3 -3
- package/src/Components/Icons/16x16/AddonsTuorqouise.tsx +7 -7
- package/src/Components/Icons/16x16/AddonsViolet.tsx +7 -7
- package/src/Components/Icons/16x16/AddonsWhite.tsx +7 -7
- package/src/Components/Icons/16x16/Agent.tsx +3 -3
- package/src/Components/Icons/16x16/Anchor.tsx +3 -3
- package/src/Components/Icons/16x16/Android.tsx +3 -3
- package/src/Components/Icons/16x16/App.tsx +3 -3
- package/src/Components/Icons/16x16/Apple.tsx +3 -3
- package/src/Components/Icons/16x16/AppleFill.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowDown.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveDown.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowMoveLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveRight.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveUp.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowQuit.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowRight.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowUp.tsx +2 -2
- package/src/Components/Icons/16x16/Badge3rdParty.tsx +4 -4
- package/src/Components/Icons/16x16/BadgeBitrise.tsx +4 -4
- package/src/Components/Icons/16x16/Bazel.tsx +8 -8
- package/src/Components/Icons/16x16/Bell.tsx +3 -3
- package/src/Components/Icons/16x16/Bitbot.tsx +4 -4
- package/src/Components/Icons/16x16/BitbotError.tsx +4 -4
- package/src/Components/Icons/16x16/BitbucketBlue.tsx +4 -4
- package/src/Components/Icons/16x16/BitbucketPlain.tsx +3 -3
- package/src/Components/Icons/16x16/BitbucketShadedWhite.tsx +6 -6
- package/src/Components/Icons/16x16/Book.tsx +3 -3
- package/src/Components/Icons/16x16/BoxWithArrowDown.tsx +2 -2
- package/src/Components/Icons/16x16/BoxWithDot.tsx +3 -3
- package/src/Components/Icons/16x16/Branch.tsx +3 -3
- package/src/Components/Icons/16x16/Bug.tsx +3 -3
- package/src/Components/Icons/16x16/Build.tsx +4 -4
- package/src/Components/Icons/16x16/BuildCache.tsx +2 -2
- package/src/Components/Icons/16x16/BuildCacheSolid.tsx +3 -3
- package/src/Components/Icons/16x16/BuildTest.tsx +2 -2
- package/src/Components/Icons/16x16/BuildTestSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusAborted.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusAbortedSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusFailed.tsx +3 -3
- package/src/Components/Icons/16x16/BuildstatusFailedSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusLoading.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusLoadingAnimated.tsx +11 -11
- package/src/Components/Icons/16x16/BuildstatusNeverbuilt.tsx +3 -3
- package/src/Components/Icons/16x16/BuildstatusProgressEggplant.tsx +7 -7
- package/src/Components/Icons/16x16/BuildstatusProgressWhite.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusSuccessful.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusSuccessfulSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Bulletpoint.tsx +2 -2
- package/src/Components/Icons/16x16/Cache.tsx +4 -4
- package/src/Components/Icons/16x16/Calendar.tsx +3 -3
- package/src/Components/Icons/16x16/ChangePlan.tsx +3 -3
- package/src/Components/Icons/16x16/Chat.tsx +4 -4
- package/src/Components/Icons/16x16/ChatMessage.tsx +3 -3
- package/src/Components/Icons/16x16/CheckCircle.tsx +2 -2
- package/src/Components/Icons/16x16/ChevronDown.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronRight.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronUp.tsx +3 -3
- package/src/Components/Icons/16x16/Clock.tsx +3 -3
- package/src/Components/Icons/16x16/CloseSmall.tsx +3 -3
- package/src/Components/Icons/16x16/Code.tsx +3 -3
- package/src/Components/Icons/16x16/CodeSigning.tsx +4 -4
- package/src/Components/Icons/16x16/Coffee.tsx +3 -3
- package/src/Components/Icons/16x16/Commit.tsx +2 -2
- package/src/Components/Icons/16x16/Conference.tsx +5 -5
- package/src/Components/Icons/16x16/ConnectedAccounts.tsx +2 -2
- package/src/Components/Icons/16x16/Cordova.tsx +3 -3
- package/src/Components/Icons/16x16/Cpu.tsx +4 -4
- package/src/Components/Icons/16x16/Creditcard.tsx +4 -4
- package/src/Components/Icons/16x16/Credits.tsx +5 -5
- package/src/Components/Icons/16x16/Cycle.tsx +3 -3
- package/src/Components/Icons/16x16/DeleteNope.tsx +3 -3
- package/src/Components/Icons/16x16/Deployment.tsx +5 -5
- package/src/Components/Icons/16x16/Details.tsx +2 -2
- package/src/Components/Icons/16x16/Doc.tsx +3 -3
- package/src/Components/Icons/16x16/Dollars.tsx +3 -3
- package/src/Components/Icons/16x16/Download.tsx +3 -3
- package/src/Components/Icons/16x16/DropdownArrows.tsx +3 -3
- package/src/Components/Icons/16x16/Dudes.tsx +3 -3
- package/src/Components/Icons/16x16/Duplicate.tsx +3 -3
- package/src/Components/Icons/16x16/Enterprise.tsx +4 -4
- package/src/Components/Icons/16x16/ErrorGeneral.tsx +4 -4
- package/src/Components/Icons/16x16/Expand.tsx +2 -2
- package/src/Components/Icons/16x16/Fastlane.tsx +3 -3
- package/src/Components/Icons/16x16/FileDoc.tsx +3 -3
- package/src/Components/Icons/16x16/FilePdf.tsx +3 -3
- package/src/Components/Icons/16x16/FilePlist.tsx +5 -5
- package/src/Components/Icons/16x16/FileZip.tsx +5 -5
- package/src/Components/Icons/16x16/Filter.tsx +1 -1
- package/src/Components/Icons/16x16/Flag.tsx +3 -3
- package/src/Components/Icons/16x16/Flutter.tsx +2 -2
- package/src/Components/Icons/16x16/Folder.tsx +3 -3
- package/src/Components/Icons/16x16/Fullscreen.tsx +2 -2
- package/src/Components/Icons/16x16/FullscreenExit.tsx +2 -2
- package/src/Components/Icons/16x16/Gauge.tsx +2 -2
- package/src/Components/Icons/16x16/Github.tsx +3 -3
- package/src/Components/Icons/16x16/GitlabColor.tsx +9 -9
- package/src/Components/Icons/16x16/GitlabPlain.tsx +3 -3
- package/src/Components/Icons/16x16/GitlabShadedWhite.tsx +14 -14
- package/src/Components/Icons/16x16/Globe.tsx +3 -3
- package/src/Components/Icons/16x16/Go.tsx +8 -8
- package/src/Components/Icons/16x16/GoogleColor.tsx +6 -6
- package/src/Components/Icons/16x16/Gradle.tsx +2 -2
- package/src/Components/Icons/16x16/Group.tsx +3 -3
- package/src/Components/Icons/16x16/Heart.tsx +3 -3
- package/src/Components/Icons/16x16/HidePassword.tsx +4 -4
- package/src/Components/Icons/16x16/History.tsx +2 -2
- package/src/Components/Icons/16x16/Image.tsx +3 -3
- package/src/Components/Icons/16x16/Info.tsx +3 -3
- package/src/Components/Icons/16x16/Insights.tsx +2 -2
- package/src/Components/Icons/16x16/InsightsSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Interaction.tsx +4 -4
- package/src/Components/Icons/16x16/Invoice.tsx +3 -3
- package/src/Components/Icons/16x16/Ionic.tsx +3 -3
- package/src/Components/Icons/16x16/Japanese.tsx +3 -3
- package/src/Components/Icons/16x16/Key.tsx +3 -3
- package/src/Components/Icons/16x16/Laptop.tsx +3 -3
- package/src/Components/Icons/16x16/LaunchDarkly.tsx +1 -1
- package/src/Components/Icons/16x16/Lightbulb.tsx +3 -3
- package/src/Components/Icons/16x16/Link.tsx +2 -2
- package/src/Components/Icons/16x16/Lock.tsx +3 -3
- package/src/Components/Icons/16x16/LockOpen.tsx +2 -2
- package/src/Components/Icons/16x16/Login.tsx +3 -3
- package/src/Components/Icons/16x16/Logout.tsx +3 -3
- package/src/Components/Icons/16x16/Macos.tsx +3 -3
- package/src/Components/Icons/16x16/Magnifier.tsx +3 -3
- package/src/Components/Icons/16x16/Mail.tsx +3 -3
- package/src/Components/Icons/16x16/MenuGrid.tsx +3 -3
- package/src/Components/Icons/16x16/MenuHamburger.tsx +3 -3
- package/src/Components/Icons/16x16/Message.tsx +3 -3
- package/src/Components/Icons/16x16/MinusClose.tsx +2 -2
- package/src/Components/Icons/16x16/MinusRemove.tsx +3 -3
- package/src/Components/Icons/16x16/Mobile.tsx +3 -3
- package/src/Components/Icons/16x16/MonitorChart.tsx +2 -2
- package/src/Components/Icons/16x16/MoreHorizontal.tsx +3 -3
- package/src/Components/Icons/16x16/MoreVertical.tsx +3 -3
- package/src/Components/Icons/16x16/News.tsx +4 -4
- package/src/Components/Icons/16x16/NoTie.tsx +3 -3
- package/src/Components/Icons/16x16/Nodejs.tsx +3 -3
- package/src/Components/Icons/16x16/Numero.tsx +3 -3
- package/src/Components/Icons/16x16/OpenInBrowser.tsx +3 -3
- package/src/Components/Icons/16x16/Other.tsx +5 -5
- package/src/Components/Icons/16x16/OverflowingLines.tsx +3 -3
- package/src/Components/Icons/16x16/Overview.tsx +3 -3
- package/src/Components/Icons/16x16/Owner.tsx +4 -4
- package/src/Components/Icons/16x16/Pause.tsx +3 -3
- package/src/Components/Icons/16x16/Pencil.tsx +5 -5
- package/src/Components/Icons/16x16/Percent.tsx +3 -3
- package/src/Components/Icons/16x16/Person.tsx +3 -3
- package/src/Components/Icons/16x16/Play.tsx +3 -3
- package/src/Components/Icons/16x16/PlusAdd.tsx +3 -3
- package/src/Components/Icons/16x16/PlusOpen.tsx +3 -3
- package/src/Components/Icons/16x16/Podcast.tsx +4 -4
- package/src/Components/Icons/16x16/Power.tsx +3 -3
- package/src/Components/Icons/16x16/ProgressEggplant.tsx +5 -5
- package/src/Components/Icons/16x16/ProgressViolet.tsx +5 -5
- package/src/Components/Icons/16x16/ProgressWhite.tsx +5 -5
- package/src/Components/Icons/16x16/Pull.tsx +3 -3
- package/src/Components/Icons/16x16/Push.tsx +3 -3
- package/src/Components/Icons/16x16/ReactIcon.tsx +3 -3
- package/src/Components/Icons/16x16/Refresh.tsx +2 -2
- package/src/Components/Icons/16x16/Release.tsx +2 -2
- package/src/Components/Icons/16x16/ReleaseSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Replace.tsx +2 -2
- package/src/Components/Icons/16x16/Request.tsx +2 -2
- package/src/Components/Icons/16x16/Responsiveness.tsx +3 -3
- package/src/Components/Icons/16x16/Save.tsx +4 -4
- package/src/Components/Icons/16x16/Screenshare.tsx +4 -4
- package/src/Components/Icons/16x16/SecurityShield.tsx +3 -3
- package/src/Components/Icons/16x16/Settings.tsx +3 -3
- package/src/Components/Icons/16x16/SettingsSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Ship.tsx +4 -4
- package/src/Components/Icons/16x16/ShowPassword.tsx +4 -4
- package/src/Components/Icons/16x16/Shuffle.tsx +3 -3
- package/src/Components/Icons/16x16/Siren.tsx +1 -1
- package/src/Components/Icons/16x16/Sort.tsx +2 -2
- package/src/Components/Icons/16x16/SortArrows.tsx +2 -2
- package/src/Components/Icons/16x16/Stability.tsx +4 -4
- package/src/Components/Icons/16x16/Stack.tsx +3 -3
- package/src/Components/Icons/16x16/StageCurrent.tsx +2 -2
- package/src/Components/Icons/16x16/StageIncomplete.tsx +2 -2
- package/src/Components/Icons/16x16/Star.tsx +3 -3
- package/src/Components/Icons/16x16/Status.tsx +5 -5
- package/src/Components/Icons/16x16/StepUpgrade.tsx +3 -3
- package/src/Components/Icons/16x16/StepVersionOk.tsx +3 -3
- package/src/Components/Icons/16x16/Steps.tsx +3 -3
- package/src/Components/Icons/16x16/StepsTuorqouise.tsx +7 -7
- package/src/Components/Icons/16x16/StepsViolet.tsx +7 -7
- package/src/Components/Icons/16x16/StepsWhite.tsx +7 -7
- package/src/Components/Icons/16x16/StepstatusSkip.tsx +5 -5
- package/src/Components/Icons/16x16/StepstatusWarning.tsx +4 -4
- package/src/Components/Icons/16x16/Stopwatch.tsx +5 -5
- package/src/Components/Icons/16x16/Support.tsx +3 -3
- package/src/Components/Icons/16x16/Swag.tsx +2 -2
- package/src/Components/Icons/16x16/Tag.tsx +4 -4
- package/src/Components/Icons/16x16/TestFailed.tsx +4 -4
- package/src/Components/Icons/16x16/TestInconclusive.tsx +4 -4
- package/src/Components/Icons/16x16/TestInfo.tsx +4 -4
- package/src/Components/Icons/16x16/TestInprogress.tsx +3 -3
- package/src/Components/Icons/16x16/TestSkipped.tsx +5 -5
- package/src/Components/Icons/16x16/TestSuccess.tsx +4 -4
- package/src/Components/Icons/16x16/TestWarning.tsx +4 -4
- package/src/Components/Icons/16x16/Testing.tsx +4 -4
- package/src/Components/Icons/16x16/Tick.tsx +3 -3
- package/src/Components/Icons/16x16/Time.tsx +3 -3
- package/src/Components/Icons/16x16/Tools.tsx +3 -3
- package/src/Components/Icons/16x16/Trace.tsx +2 -2
- package/src/Components/Icons/16x16/Trash.tsx +3 -3
- package/src/Components/Icons/16x16/Trigger.tsx +3 -3
- package/src/Components/Icons/16x16/Twitter.tsx +3 -3
- package/src/Components/Icons/16x16/Upload.tsx +1 -1
- package/src/Components/Icons/16x16/ValidateShield.tsx +3 -3
- package/src/Components/Icons/16x16/Video.tsx +5 -5
- package/src/Components/Icons/16x16/Warning.tsx +3 -3
- package/src/Components/Icons/16x16/WarningColored.tsx +2 -2
- package/src/Components/Icons/16x16/WebUi.tsx +5 -5
- package/src/Components/Icons/16x16/Webhooks.tsx +4 -4
- package/src/Components/Icons/16x16/Webinar.tsx +3 -3
- package/src/Components/Icons/16x16/Window.tsx +4 -4
- package/src/Components/Icons/16x16/Workflow.tsx +3 -3
- package/src/Components/Icons/16x16/WorkflowFlow.tsx +3 -3
- package/src/Components/Icons/16x16/Wow.tsx +3 -3
- package/src/Components/Icons/16x16/WrappedLines.tsx +3 -3
- package/src/Components/Icons/16x16/Xamarin.tsx +4 -4
- package/src/Components/Icons/24x24/Addons.tsx +2 -2
- package/src/Components/Icons/24x24/AddonsTuorqouise.tsx +6 -6
- package/src/Components/Icons/24x24/AddonsViolet.tsx +6 -6
- package/src/Components/Icons/24x24/AddonsWhite.tsx +6 -6
- package/src/Components/Icons/24x24/Agent.tsx +3 -3
- package/src/Components/Icons/24x24/Anchor.tsx +2 -2
- package/src/Components/Icons/24x24/Android.tsx +2 -2
- package/src/Components/Icons/24x24/App.tsx +2 -2
- package/src/Components/Icons/24x24/Apple.tsx +2 -2
- package/src/Components/Icons/24x24/AppleFill.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowDown.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveDown.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowMoveLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveRight.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveUp.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowQuit.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowRight.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowUp.tsx +2 -2
- package/src/Components/Icons/24x24/Badge3rdParty.tsx +2 -2
- package/src/Components/Icons/24x24/BadgeBitrise.tsx +2 -2
- package/src/Components/Icons/24x24/Bazel.tsx +8 -8
- package/src/Components/Icons/24x24/Bell.tsx +2 -2
- package/src/Components/Icons/24x24/Bitbot.tsx +2 -2
- package/src/Components/Icons/24x24/BitbotError.tsx +2 -2
- package/src/Components/Icons/24x24/BitbucketBlue.tsx +3 -3
- package/src/Components/Icons/24x24/BitbucketPlain.tsx +2 -2
- package/src/Components/Icons/24x24/BitbucketShadedWhite.tsx +9 -9
- package/src/Components/Icons/24x24/Book.tsx +2 -2
- package/src/Components/Icons/24x24/BoxWithArrowDown.tsx +2 -2
- package/src/Components/Icons/24x24/BoxWithDot.tsx +2 -2
- package/src/Components/Icons/24x24/Branch.tsx +3 -3
- package/src/Components/Icons/24x24/Bug.tsx +2 -2
- package/src/Components/Icons/24x24/Build.tsx +2 -2
- package/src/Components/Icons/24x24/BuildCache.tsx +2 -2
- package/src/Components/Icons/24x24/BuildCacheSolid.tsx +3 -3
- package/src/Components/Icons/24x24/BuildTest.tsx +2 -2
- package/src/Components/Icons/24x24/BuildTestSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusAborted.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusAbortedSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusFailed.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusFailedSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusLoading.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusLoadingAnimated.tsx +11 -11
- package/src/Components/Icons/24x24/BuildstatusNeverbuilt.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusProgressEggplant.tsx +6 -6
- package/src/Components/Icons/24x24/BuildstatusProgressWhite.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusSuccessful.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusSuccessfulSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Bulletpoint.tsx +2 -2
- package/src/Components/Icons/24x24/Cache.tsx +2 -2
- package/src/Components/Icons/24x24/Calendar.tsx +2 -2
- package/src/Components/Icons/24x24/ChangePlan.tsx +1 -1
- package/src/Components/Icons/24x24/Chat.tsx +2 -2
- package/src/Components/Icons/24x24/ChatMessage.tsx +2 -2
- package/src/Components/Icons/24x24/CheckCircle.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronDown.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronRight.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronUp.tsx +2 -2
- package/src/Components/Icons/24x24/Clock.tsx +2 -2
- package/src/Components/Icons/24x24/CloseSmall.tsx +2 -2
- package/src/Components/Icons/24x24/Code.tsx +1 -1
- package/src/Components/Icons/24x24/CodeSigning.tsx +2 -2
- package/src/Components/Icons/24x24/Coffee.tsx +2 -2
- package/src/Components/Icons/24x24/Commit.tsx +2 -2
- package/src/Components/Icons/24x24/Conference.tsx +2 -2
- package/src/Components/Icons/24x24/ConnectedAccounts.tsx +2 -2
- package/src/Components/Icons/24x24/Cordova.tsx +2 -2
- package/src/Components/Icons/24x24/Cpu.tsx +2 -2
- package/src/Components/Icons/24x24/Creditcard.tsx +2 -2
- package/src/Components/Icons/24x24/Credits.tsx +3 -3
- package/src/Components/Icons/24x24/Cycle.tsx +2 -2
- package/src/Components/Icons/24x24/DeleteNope.tsx +2 -2
- package/src/Components/Icons/24x24/Deployment.tsx +2 -2
- package/src/Components/Icons/24x24/Details.tsx +2 -2
- package/src/Components/Icons/24x24/Doc.tsx +2 -2
- package/src/Components/Icons/24x24/Dollars.tsx +2 -2
- package/src/Components/Icons/24x24/Download.tsx +2 -2
- package/src/Components/Icons/24x24/DropdownArrows.tsx +2 -2
- package/src/Components/Icons/24x24/Dudes.tsx +2 -2
- package/src/Components/Icons/24x24/Duplicate.tsx +2 -2
- package/src/Components/Icons/24x24/Enterprise.tsx +2 -2
- package/src/Components/Icons/24x24/ErrorGeneral.tsx +2 -2
- package/src/Components/Icons/24x24/Expand.tsx +1 -1
- package/src/Components/Icons/24x24/Fastlane.tsx +2 -2
- package/src/Components/Icons/24x24/FileDoc.tsx +2 -2
- package/src/Components/Icons/24x24/FilePdf.tsx +2 -2
- package/src/Components/Icons/24x24/FilePlist.tsx +2 -2
- package/src/Components/Icons/24x24/FileZip.tsx +2 -2
- package/src/Components/Icons/24x24/Filter.tsx +1 -1
- package/src/Components/Icons/24x24/Flag.tsx +2 -2
- package/src/Components/Icons/24x24/Flutter.tsx +1 -1
- package/src/Components/Icons/24x24/Folder.tsx +2 -2
- package/src/Components/Icons/24x24/Fullscreen.tsx +1 -1
- package/src/Components/Icons/24x24/FullscreenExit.tsx +1 -1
- package/src/Components/Icons/24x24/Gauge.tsx +2 -2
- package/src/Components/Icons/24x24/Github.tsx +2 -2
- package/src/Components/Icons/24x24/GitlabColor.tsx +1 -1
- package/src/Components/Icons/24x24/GitlabPlain.tsx +2 -2
- package/src/Components/Icons/24x24/GitlabShadedWhite.tsx +7 -7
- package/src/Components/Icons/24x24/Globe.tsx +2 -2
- package/src/Components/Icons/24x24/Go.tsx +4 -4
- package/src/Components/Icons/24x24/GoogleColor.tsx +6 -6
- package/src/Components/Icons/24x24/Gradle.tsx +3 -3
- package/src/Components/Icons/24x24/Group.tsx +2 -2
- package/src/Components/Icons/24x24/Heart.tsx +2 -2
- package/src/Components/Icons/24x24/HidePassword.tsx +2 -2
- package/src/Components/Icons/24x24/History.tsx +2 -2
- package/src/Components/Icons/24x24/Image.tsx +2 -2
- package/src/Components/Icons/24x24/Info.tsx +2 -2
- package/src/Components/Icons/24x24/Insights.tsx +2 -2
- package/src/Components/Icons/24x24/InsightsSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Interaction.tsx +2 -2
- package/src/Components/Icons/24x24/Invoice.tsx +2 -2
- package/src/Components/Icons/24x24/Ionic.tsx +2 -2
- package/src/Components/Icons/24x24/Japanese.tsx +2 -2
- package/src/Components/Icons/24x24/Key.tsx +2 -2
- package/src/Components/Icons/24x24/Laptop.tsx +2 -2
- package/src/Components/Icons/24x24/LaunchDarkly.tsx +1 -1
- package/src/Components/Icons/24x24/Lightbulb.tsx +2 -2
- package/src/Components/Icons/24x24/Link.tsx +1 -1
- package/src/Components/Icons/24x24/Lock.tsx +2 -2
- package/src/Components/Icons/24x24/LockOpen.tsx +2 -2
- package/src/Components/Icons/24x24/Login.tsx +2 -2
- package/src/Components/Icons/24x24/Logout.tsx +2 -2
- package/src/Components/Icons/24x24/Macos.tsx +2 -2
- package/src/Components/Icons/24x24/Magnifier.tsx +2 -2
- package/src/Components/Icons/24x24/Mail.tsx +2 -2
- package/src/Components/Icons/24x24/MenuGrid.tsx +2 -2
- package/src/Components/Icons/24x24/MenuHamburger.tsx +2 -2
- package/src/Components/Icons/24x24/Message.tsx +2 -2
- package/src/Components/Icons/24x24/MinusClose.tsx +2 -2
- package/src/Components/Icons/24x24/MinusRemove.tsx +2 -2
- package/src/Components/Icons/24x24/Mobile.tsx +2 -2
- package/src/Components/Icons/24x24/MonitorChart.tsx +2 -2
- package/src/Components/Icons/24x24/MoreHorizontal.tsx +2 -2
- package/src/Components/Icons/24x24/MoreVertical.tsx +2 -2
- package/src/Components/Icons/24x24/News.tsx +2 -2
- package/src/Components/Icons/24x24/NoTie.tsx +2 -2
- package/src/Components/Icons/24x24/Nodejs.tsx +2 -2
- package/src/Components/Icons/24x24/Numero.tsx +2 -2
- package/src/Components/Icons/24x24/OpenInBrowser.tsx +2 -2
- package/src/Components/Icons/24x24/Other.tsx +3 -3
- package/src/Components/Icons/24x24/OverflowingLines.tsx +3 -3
- package/src/Components/Icons/24x24/Overview.tsx +2 -2
- package/src/Components/Icons/24x24/Owner.tsx +2 -2
- package/src/Components/Icons/24x24/Pause.tsx +2 -2
- package/src/Components/Icons/24x24/Pencil.tsx +2 -2
- package/src/Components/Icons/24x24/Percent.tsx +2 -2
- package/src/Components/Icons/24x24/Person.tsx +2 -2
- package/src/Components/Icons/24x24/Play.tsx +2 -2
- package/src/Components/Icons/24x24/PlusAdd.tsx +2 -2
- package/src/Components/Icons/24x24/PlusOpen.tsx +2 -2
- package/src/Components/Icons/24x24/Podcast.tsx +2 -2
- package/src/Components/Icons/24x24/Power.tsx +1 -1
- package/src/Components/Icons/24x24/ProgressEggplant.tsx +5 -5
- package/src/Components/Icons/24x24/ProgressViolet.tsx +5 -5
- package/src/Components/Icons/24x24/ProgressWhite.tsx +5 -5
- package/src/Components/Icons/24x24/Pull.tsx +2 -2
- package/src/Components/Icons/24x24/Push.tsx +3 -3
- package/src/Components/Icons/24x24/ReactIcon.tsx +2 -2
- package/src/Components/Icons/24x24/Refresh.tsx +1 -1
- package/src/Components/Icons/24x24/Release.tsx +2 -2
- package/src/Components/Icons/24x24/ReleaseSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Replace.tsx +2 -2
- package/src/Components/Icons/24x24/Request.tsx +1 -1
- package/src/Components/Icons/24x24/Responsiveness.tsx +1 -1
- package/src/Components/Icons/24x24/Save.tsx +2 -2
- package/src/Components/Icons/24x24/Screenshare.tsx +2 -2
- package/src/Components/Icons/24x24/SecurityShield.tsx +2 -2
- package/src/Components/Icons/24x24/Settings.tsx +2 -2
- package/src/Components/Icons/24x24/SettingsSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Ship.tsx +2 -2
- package/src/Components/Icons/24x24/ShowPassword.tsx +2 -2
- package/src/Components/Icons/24x24/Shuffle.tsx +2 -2
- package/src/Components/Icons/24x24/Siren.tsx +1 -1
- package/src/Components/Icons/24x24/Sort.tsx +2 -2
- package/src/Components/Icons/24x24/SortArrows.tsx +2 -2
- package/src/Components/Icons/24x24/Stability.tsx +2 -2
- package/src/Components/Icons/24x24/Stack.tsx +2 -2
- package/src/Components/Icons/24x24/StageCurrent.tsx +2 -2
- package/src/Components/Icons/24x24/StageIncomplete.tsx +2 -2
- package/src/Components/Icons/24x24/Star.tsx +2 -2
- package/src/Components/Icons/24x24/Status.tsx +3 -3
- package/src/Components/Icons/24x24/StepUpgrade.tsx +2 -2
- package/src/Components/Icons/24x24/StepVersionOk.tsx +2 -2
- package/src/Components/Icons/24x24/Steps.tsx +2 -2
- package/src/Components/Icons/24x24/StepsTuorqouise.tsx +6 -6
- package/src/Components/Icons/24x24/StepsViolet.tsx +6 -6
- package/src/Components/Icons/24x24/StepsWhite.tsx +6 -6
- package/src/Components/Icons/24x24/StepstatusSkip.tsx +2 -2
- package/src/Components/Icons/24x24/StepstatusWarning.tsx +2 -2
- package/src/Components/Icons/24x24/Stopwatch.tsx +2 -2
- package/src/Components/Icons/24x24/Support.tsx +2 -2
- package/src/Components/Icons/24x24/Swag.tsx +1 -1
- package/src/Components/Icons/24x24/Tag.tsx +2 -2
- package/src/Components/Icons/24x24/TestFailed.tsx +2 -2
- package/src/Components/Icons/24x24/TestInconclusive.tsx +2 -2
- package/src/Components/Icons/24x24/TestInfo.tsx +2 -2
- package/src/Components/Icons/24x24/TestInprogress.tsx +2 -2
- package/src/Components/Icons/24x24/TestSkipped.tsx +2 -2
- package/src/Components/Icons/24x24/TestSuccess.tsx +2 -2
- package/src/Components/Icons/24x24/TestWarning.tsx +2 -2
- package/src/Components/Icons/24x24/Testing.tsx +2 -2
- package/src/Components/Icons/24x24/Tick.tsx +2 -2
- package/src/Components/Icons/24x24/Time.tsx +2 -2
- package/src/Components/Icons/24x24/Tools.tsx +1 -1
- package/src/Components/Icons/24x24/Trace.tsx +1 -1
- package/src/Components/Icons/24x24/Trash.tsx +2 -2
- package/src/Components/Icons/24x24/Trigger.tsx +2 -2
- package/src/Components/Icons/24x24/Twitter.tsx +2 -2
- package/src/Components/Icons/24x24/Upload.tsx +1 -1
- package/src/Components/Icons/24x24/ValidateShield.tsx +2 -2
- package/src/Components/Icons/24x24/Video.tsx +3 -3
- package/src/Components/Icons/24x24/Warning.tsx +2 -2
- package/src/Components/Icons/24x24/WarningColored.tsx +2 -2
- package/src/Components/Icons/24x24/WebUi.tsx +2 -2
- package/src/Components/Icons/24x24/Webhooks.tsx +1 -1
- package/src/Components/Icons/24x24/Webinar.tsx +2 -2
- package/src/Components/Icons/24x24/Window.tsx +2 -2
- package/src/Components/Icons/24x24/Workflow.tsx +2 -2
- package/src/Components/Icons/24x24/WorkflowFlow.tsx +2 -2
- package/src/Components/Icons/24x24/Wow.tsx +2 -2
- package/src/Components/Icons/24x24/WrappedLines.tsx +3 -3
- package/src/Components/Icons/24x24/Xamarin.tsx +2 -2
- package/src/Components/Image/Image.tsx +1 -1
- package/src/Components/LightBox/LightBox.tsx +3 -3
- package/src/Components/Link/Link.theme.ts +4 -4
- package/src/Components/Link/Link.tsx +1 -1
- package/src/Components/LinkBox/LinkBox.tsx +1 -1
- package/src/Components/LinkOverlay/LinkOverlay.tsx +1 -1
- package/src/Components/List/List.theme.ts +1 -1
- package/src/Components/List/List.tsx +1 -1
- package/src/Components/List/ListItem.tsx +1 -1
- package/src/Components/Menu/Menu.theme.ts +27 -27
- package/src/Components/Menu/MenuButton.tsx +1 -1
- package/src/Components/Menu/MenuItem.tsx +6 -6
- package/src/Components/Menu/MenuList.tsx +1 -1
- package/src/Components/Note/Note.theme.ts +47 -47
- package/src/Components/Note/Note.tsx +3 -3
- package/src/Components/Note/NoteMarkdownContent.tsx +17 -17
- package/src/Components/Notification/Notification.tsx +10 -10
- package/src/Components/NumberInput/NumberInput.theme.ts +14 -14
- package/src/Components/Popover/Popover.theme.ts +3 -3
- package/src/Components/Popover/Popover.tsx +1 -1
- package/src/Components/Popover/PopoverArrow.tsx +1 -1
- package/src/Components/ProgressBitbot/ProgressBitbot.tsx +2 -2
- package/src/Components/ProgressIndicator/ProgressIndicator.theme.ts +24 -24
- package/src/Components/ProgressIndicator/ProgressIndicator.tsx +13 -13
- package/src/Components/ProgressSpinner/ProgressSpinner.tsx +2 -2
- package/src/Components/Provider/Provider.tsx +1 -1
- package/src/Components/Ribbon/Ribbon.tsx +10 -10
- package/src/Components/SearchInput/SearchInput.tsx +2 -2
- package/src/Components/SegmentedControl/SegmentedControl.theme.ts +26 -26
- package/src/Components/SegmentedControl/SegmentedControl.tsx +3 -3
- package/src/Components/SegmentedControl/SegmentedControlItem.tsx +1 -1
- package/src/Components/Select/Select.theme.ts +20 -20
- package/src/Components/Select/Select.tsx +7 -7
- package/src/Components/Sidebar/Sidebar.tsx +6 -6
- package/src/Components/Sidebar/SidebarItem.theme.ts +30 -30
- package/src/Components/Sidebar/SidebarItem.tsx +11 -11
- package/src/Components/Skeleton/Skeleton.theme.ts +9 -9
- package/src/Components/Skeleton/Skeleton.tsx +3 -3
- package/src/Components/Slider/Slider.theme.ts +27 -27
- package/src/Components/Table/CheckableRow.tsx +3 -3
- package/src/Components/Table/SelectableRow.tsx +3 -3
- package/src/Components/Table/Table.theme.ts +63 -61
- package/src/Components/Table/Table.tsx +2 -2
- package/src/Components/Table/TableCaption.tsx +2 -2
- package/src/Components/Table/TableContainer.tsx +1 -1
- package/src/Components/Table/TableIconButton.tsx +5 -5
- package/src/Components/Table/TablePagination.tsx +16 -16
- package/src/Components/Table/Tbody.tsx +1 -1
- package/src/Components/Table/Td.tsx +1 -1
- package/src/Components/Table/Th.tsx +4 -4
- package/src/Components/Table/Thead.tsx +1 -1
- package/src/Components/Table/Tr.tsx +6 -6
- package/src/Components/Tabs/ContainedTab.tsx +1 -1
- package/src/Components/Tabs/Tab.tsx +1 -1
- package/src/Components/Tabs/TabList.tsx +1 -1
- package/src/Components/Tabs/TabPanel.tsx +1 -1
- package/src/Components/Tabs/TabPanels.tsx +1 -1
- package/src/Components/Tabs/Tabs.theme.ts +56 -56
- package/src/Components/Tabs/Tabs.tsx +2 -2
- package/src/Components/Tag/Tag.theme.ts +41 -41
- package/src/Components/Tag/Tag.tsx +2 -2
- package/src/Components/Text/Text.tsx +2 -2
- package/src/Components/Toast/Toast.tsx +4 -4
- package/src/Components/Toggle/Toggle.theme.ts +57 -57
- package/src/Components/Toggle/Toggle.tsx +2 -2
- package/src/Components/Toggletip/Toggletip.theme.ts +2 -2
- package/src/Components/Toggletip/Toggletip.tsx +3 -3
- package/src/Components/Tooltip/Tooltip.theme.ts +2 -2
- package/src/Components/Tooltip/Tooltip.tsx +5 -5
- package/src/Foundations/Breakpoints/Breakpoints.ts +1 -1
- package/src/Foundations/Colors/Colors.tsx +2 -2
- package/src/Foundations/Colors/CommonTokens.tsx +2 -2
- package/src/Foundations/Colors/SystemTokens.tsx +2 -2
- package/src/Foundations/Icons/figmaIcons.ts +239 -239
- package/src/Foundations/Shadows/Shadows.ts +5 -5
- package/src/Foundations/Themes/Alert.theme.ts +12 -12
- package/src/Foundations/Typography/Typography.ts +2 -2
- package/src/Foundations/Zindex/Zindex.ts +5 -5
- package/src/Foundations/docComponents/TokenTable.tsx +1 -1
- package/src/hooks/useResponsive.ts +1 -1
- package/src/theme.ts +54 -54
- package/src/tokens/tokens.ts +4 -4
- package/src/utils/utils.ts +1 -1
|
@@ -7,24 +7,24 @@ const animation = keyframes`
|
|
|
7
7
|
`;
|
|
8
8
|
|
|
9
9
|
const afterStyle = (foregroundColor: string) => ({
|
|
10
|
+
animation: `${animation} infinite 1.5s`,
|
|
11
|
+
backgroundColor: foregroundColor,
|
|
10
12
|
content: '""',
|
|
11
|
-
position: 'absolute',
|
|
12
|
-
width: '100%',
|
|
13
13
|
height: '100%',
|
|
14
|
-
top: 0,
|
|
15
14
|
left: 0,
|
|
16
|
-
pointerEvents: 'none',
|
|
17
|
-
backgroundColor: foregroundColor,
|
|
18
15
|
maskImage:
|
|
19
16
|
'linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.63) 35%, rgb(0, 0, 0) 48%, rgba(0, 0, 0, 0.57) 55%, rgba(0, 0, 0, 0) 100%)',
|
|
20
|
-
|
|
17
|
+
pointerEvents: 'none',
|
|
18
|
+
position: 'absolute',
|
|
19
|
+
top: 0,
|
|
20
|
+
width: '100%',
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
const baseStyle = defineStyle(({
|
|
23
|
+
const baseStyle = defineStyle(({ foregroundColor, isActive }) => {
|
|
24
24
|
return {
|
|
25
|
-
position: 'relative',
|
|
26
|
-
overflow: 'hidden',
|
|
27
25
|
_after: isActive ? afterStyle(foregroundColor) : {},
|
|
26
|
+
overflow: 'hidden',
|
|
27
|
+
position: 'relative',
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Box, BoxProps, forwardRef, useStyleConfig, useTheme
|
|
1
|
+
import { Box, BoxProps, forwardRef, getToken, useStyleConfig, useTheme } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export interface SkeletonProps extends BoxProps {
|
|
4
4
|
isActive?: boolean;
|
|
@@ -11,14 +11,14 @@ export interface SkeletonProps extends BoxProps {
|
|
|
11
11
|
* We don't extend Chakra's Skeleton
|
|
12
12
|
*/
|
|
13
13
|
const Skeleton = forwardRef<SkeletonProps, 'div'>((props, ref) => {
|
|
14
|
-
const {
|
|
14
|
+
const { foregroundColor: foregroundColorToken, isActive, ...rest } = props;
|
|
15
15
|
const theme = useTheme();
|
|
16
16
|
const foregroundColor = foregroundColorToken
|
|
17
17
|
? getToken('colors', foregroundColorToken, foregroundColorToken)(theme)
|
|
18
18
|
: '#ffffff';
|
|
19
19
|
const css = useStyleConfig('Skeleton', {
|
|
20
|
-
isActive,
|
|
21
20
|
foregroundColor,
|
|
21
|
+
isActive,
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
return <Box __css={css} {...rest} ref={ref} />;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';
|
|
2
2
|
|
|
3
|
-
const {
|
|
3
|
+
const { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers([
|
|
4
4
|
'container',
|
|
5
5
|
'track',
|
|
6
6
|
'thumb',
|
|
@@ -8,61 +8,61 @@ const { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpe
|
|
|
8
8
|
]);
|
|
9
9
|
|
|
10
10
|
const baseStyleContainer = defineStyle(() => ({
|
|
11
|
-
width: '100%',
|
|
12
|
-
display: 'inline-block',
|
|
13
|
-
position: 'relative',
|
|
14
|
-
cursor: 'pointer',
|
|
15
11
|
_disabled: {
|
|
16
|
-
opacity: 0.6,
|
|
17
12
|
cursor: 'default',
|
|
13
|
+
opacity: 0.6,
|
|
18
14
|
pointerEvents: 'none',
|
|
19
15
|
},
|
|
16
|
+
cursor: 'pointer',
|
|
17
|
+
display: 'inline-block',
|
|
18
|
+
position: 'relative',
|
|
19
|
+
width: '100%',
|
|
20
20
|
}));
|
|
21
21
|
|
|
22
22
|
const baseStyleTrack = defineStyle(() => ({
|
|
23
|
-
height: '8',
|
|
24
|
-
overflow: 'hidden',
|
|
25
23
|
backgroundColor: 'neutral.95',
|
|
26
24
|
borderRadius: '4',
|
|
25
|
+
height: '8',
|
|
26
|
+
overflow: 'hidden',
|
|
27
27
|
}));
|
|
28
28
|
|
|
29
29
|
const baseStyleThumb = defineStyle(() => ({
|
|
30
|
-
top: '50%',
|
|
31
|
-
transform: `translateY(-50%)`,
|
|
32
30
|
_active: {
|
|
33
31
|
transform: 'translateY(-50%) scale(1.15)',
|
|
34
32
|
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
_focusVisible: {
|
|
34
|
+
boxShadow: 'outline',
|
|
35
|
+
},
|
|
38
36
|
alignItems: 'center',
|
|
39
|
-
justifyContent: 'center',
|
|
40
|
-
position: 'absolute',
|
|
41
|
-
outline: 0,
|
|
42
|
-
zIndex: 1,
|
|
43
|
-
borderRadius: '4',
|
|
44
37
|
bg: 'neutral.100',
|
|
45
38
|
border: '1px solid',
|
|
46
39
|
borderColor: 'neutral.90',
|
|
40
|
+
borderRadius: '4',
|
|
47
41
|
color: 'neutral.90',
|
|
42
|
+
display: 'flex',
|
|
43
|
+
height: '40px',
|
|
44
|
+
justifyContent: 'center',
|
|
45
|
+
outline: 0,
|
|
46
|
+
position: 'absolute',
|
|
47
|
+
top: '50%',
|
|
48
|
+
transform: `translateY(-50%)`,
|
|
48
49
|
transitionProperty: 'transform',
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
50
|
+
width: '40px',
|
|
51
|
+
zIndex: 1,
|
|
52
52
|
}));
|
|
53
53
|
|
|
54
54
|
const baseStyleFilledTrack = defineStyle(() => ({
|
|
55
|
-
width: 'inherit',
|
|
56
|
-
height: 'inherit',
|
|
57
|
-
borderRadius: 'inherit',
|
|
58
55
|
backgroundColor: 'purple.40',
|
|
56
|
+
borderRadius: 'inherit',
|
|
57
|
+
height: 'inherit',
|
|
58
|
+
width: 'inherit',
|
|
59
59
|
}));
|
|
60
60
|
|
|
61
61
|
const baseStyle = definePartsStyle(() => ({
|
|
62
62
|
container: baseStyleContainer(),
|
|
63
|
-
track: baseStyleTrack(),
|
|
64
|
-
thumb: baseStyleThumb(),
|
|
65
63
|
filledTrack: baseStyleFilledTrack(),
|
|
64
|
+
thumb: baseStyleThumb(),
|
|
65
|
+
track: baseStyleTrack(),
|
|
66
66
|
}));
|
|
67
67
|
|
|
68
68
|
const SliderTheme = defineMultiStyleConfig({ baseStyle });
|
|
@@ -19,19 +19,19 @@ const CheckableRow = (props: CheckableRowProps) => {
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<LinkBox
|
|
22
|
-
as={Tr}
|
|
23
|
-
transform="scale(1)"
|
|
24
22
|
_hover={{
|
|
25
|
-
td: { background: 'neutral.95' },
|
|
26
23
|
':has(input:checked)': {
|
|
27
24
|
td: { background: 'purple.93' },
|
|
28
25
|
},
|
|
26
|
+
td: { background: 'neutral.95' },
|
|
29
27
|
}}
|
|
28
|
+
as={Tr}
|
|
30
29
|
sx={{
|
|
31
30
|
':has(input:checked)': {
|
|
32
31
|
td: { background: 'purple.95' },
|
|
33
32
|
},
|
|
34
33
|
}}
|
|
34
|
+
transform="scale(1)"
|
|
35
35
|
{...rest}
|
|
36
36
|
>
|
|
37
37
|
<Td>
|
|
@@ -18,19 +18,19 @@ const SelectableRow = (props: SelectableRowProps) => {
|
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
20
|
<LinkBox
|
|
21
|
-
as={Tr}
|
|
22
|
-
transform="scale(1)"
|
|
23
21
|
_hover={{
|
|
24
|
-
td: { background: 'neutral.95' },
|
|
25
22
|
':has(input:checked)': {
|
|
26
23
|
td: { background: 'purple.93' },
|
|
27
24
|
},
|
|
25
|
+
td: { background: 'neutral.95' },
|
|
28
26
|
}}
|
|
27
|
+
as={Tr}
|
|
29
28
|
sx={{
|
|
30
29
|
':has(input:checked)': {
|
|
31
30
|
td: { background: 'purple.95' },
|
|
32
31
|
},
|
|
33
32
|
}}
|
|
33
|
+
transform="scale(1)"
|
|
34
34
|
{...rest}
|
|
35
35
|
>
|
|
36
36
|
<Td>
|
|
@@ -4,109 +4,111 @@ const Tabletheme = {
|
|
|
4
4
|
baseStyle: () => {
|
|
5
5
|
return {
|
|
6
6
|
caption: {
|
|
7
|
-
textAlign: 'left',
|
|
8
7
|
marginBottom: '12',
|
|
9
|
-
|
|
10
|
-
captionTitle: {
|
|
11
|
-
fontSize: '4',
|
|
12
|
-
lineHeight: '1.75rem',
|
|
13
|
-
fontWeight: 'bold',
|
|
14
|
-
color: 'pal.purple.10',
|
|
8
|
+
textAlign: 'left',
|
|
15
9
|
},
|
|
16
10
|
captionDescription: {
|
|
17
|
-
marginTop: '4',
|
|
18
11
|
color: 'pal.neutral.30',
|
|
12
|
+
marginTop: '4',
|
|
19
13
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
borderRadius: '4',
|
|
24
|
-
border: '1px solid',
|
|
25
|
-
borderColor: 'pal.neutral.93',
|
|
26
|
-
width: '100%',
|
|
27
|
-
borderSpacing: 0,
|
|
28
|
-
'&:not(.disable-row-hover)': {
|
|
29
|
-
tr: {
|
|
30
|
-
_hover: {
|
|
31
|
-
td: { backgroundColor: 'pal.neutral.95' },
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
thead: {
|
|
37
|
-
backgroundColor: 'pal.neutral.93',
|
|
38
|
-
borderTopLeftRadius: '4',
|
|
39
|
-
borderTopRightRadius: '4',
|
|
40
|
-
},
|
|
41
|
-
th: {
|
|
42
|
-
paddingX: '16',
|
|
43
|
-
paddingY: '12',
|
|
14
|
+
captionTitle: {
|
|
15
|
+
color: 'pal.purple.10',
|
|
16
|
+
fontSize: '4',
|
|
44
17
|
fontWeight: 'bold',
|
|
45
|
-
|
|
46
|
-
whiteSpace: 'nowrap',
|
|
18
|
+
lineHeight: '1.75rem',
|
|
47
19
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
20
|
+
expandTd: {
|
|
21
|
+
borderBottomColor: 'transparent',
|
|
22
|
+
paddingRight: 0,
|
|
23
|
+
width: '1%',
|
|
52
24
|
},
|
|
53
25
|
sortButton: {
|
|
26
|
+
_hover: {
|
|
27
|
+
backgroundColor: 'pal.neutral.90',
|
|
28
|
+
},
|
|
29
|
+
alignItems: 'center',
|
|
54
30
|
display: 'flex',
|
|
31
|
+
fontWeight: 'bold',
|
|
55
32
|
gap: '8',
|
|
56
|
-
alignItems: 'center',
|
|
57
|
-
width: '100%',
|
|
58
33
|
paddingX: '16',
|
|
59
34
|
paddingY: '12',
|
|
60
|
-
fontWeight: 'bold',
|
|
61
35
|
textAlign: 'left',
|
|
62
|
-
|
|
63
|
-
backgroundColor: 'pal.neutral.90',
|
|
64
|
-
},
|
|
36
|
+
width: '100%',
|
|
65
37
|
},
|
|
66
38
|
sortIcon: {
|
|
67
|
-
path: {
|
|
68
|
-
fill: 'pal.neutral.80',
|
|
69
|
-
},
|
|
70
|
-
'[aria-sort="none"]:hover & path': {
|
|
71
|
-
fill: 'pal.purple.10',
|
|
72
|
-
},
|
|
73
39
|
'[aria-sort="ascending"] & path:first-of-type': {
|
|
74
40
|
fill: 'pal.purple.10',
|
|
75
41
|
},
|
|
76
42
|
'[aria-sort="descending"] & path:last-of-type': {
|
|
77
43
|
fill: 'pal.purple.10',
|
|
78
44
|
},
|
|
45
|
+
'[aria-sort="none"]:hover & path': {
|
|
46
|
+
fill: 'pal.purple.10',
|
|
47
|
+
},
|
|
48
|
+
path: {
|
|
49
|
+
fill: 'pal.neutral.80',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
table: {
|
|
53
|
+
'&:not(.disable-row-hover)': {
|
|
54
|
+
tr: {
|
|
55
|
+
_hover: {
|
|
56
|
+
td: { backgroundColor: 'pal.neutral.95' },
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
borderCollapse: 'separate',
|
|
61
|
+
borderColor: 'pal.neutral.93',
|
|
62
|
+
borderRadius: '4',
|
|
63
|
+
borderSpacing: 0,
|
|
64
|
+
borderStyle: 'solid',
|
|
65
|
+
borderWidth: '1px',
|
|
66
|
+
fontVariantNumeric: 'lining-nums tabular-nums',
|
|
67
|
+
width: '100%',
|
|
79
68
|
},
|
|
80
69
|
td: {
|
|
81
70
|
backgroundColor: 'pal.neutral.100',
|
|
82
|
-
|
|
83
|
-
|
|
71
|
+
borderTopColor: 'pal.neutral.93',
|
|
72
|
+
borderTopStyle: 'solid',
|
|
73
|
+
borderTopWidth: '1px',
|
|
84
74
|
height: rem(65),
|
|
85
75
|
paddingX: '16',
|
|
86
76
|
paddingY: '8',
|
|
87
77
|
textAlign: 'left',
|
|
88
78
|
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
79
|
+
th: {
|
|
80
|
+
fontWeight: 'bold',
|
|
81
|
+
paddingX: '16',
|
|
82
|
+
paddingY: '12',
|
|
83
|
+
textAlign: 'left',
|
|
84
|
+
whiteSpace: 'nowrap',
|
|
85
|
+
},
|
|
86
|
+
thead: {
|
|
87
|
+
backgroundColor: 'pal.neutral.93',
|
|
88
|
+
borderTopLeftRadius: '4',
|
|
89
|
+
borderTopRightRadius: '4',
|
|
90
|
+
},
|
|
91
|
+
tooltipContainer: {
|
|
92
|
+
alignItems: 'center',
|
|
93
|
+
display: 'flex',
|
|
94
|
+
gap: 4,
|
|
93
95
|
},
|
|
94
96
|
};
|
|
95
97
|
},
|
|
96
98
|
variants: {
|
|
97
99
|
borderless: {
|
|
98
|
-
thead: {
|
|
99
|
-
backgroundColor: 'transparent',
|
|
100
|
-
},
|
|
101
100
|
table: {
|
|
102
101
|
border: 'none',
|
|
103
102
|
},
|
|
104
|
-
|
|
103
|
+
td: {
|
|
105
104
|
paddingX: '12',
|
|
106
105
|
},
|
|
107
|
-
|
|
106
|
+
th: {
|
|
108
107
|
paddingX: '12',
|
|
109
108
|
},
|
|
109
|
+
thead: {
|
|
110
|
+
backgroundColor: 'transparent',
|
|
111
|
+
},
|
|
110
112
|
},
|
|
111
113
|
},
|
|
112
114
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Table as ChakraTable, TableProps as ChakraTableProps
|
|
1
|
+
import { forwardRef, Table as ChakraTable, TableProps as ChakraTableProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export interface TableProps extends ChakraTableProps {
|
|
4
4
|
disableRowHover?: boolean;
|
|
@@ -13,8 +13,8 @@ const Table = forwardRef<TableProps, 'table'>((props, ref) => {
|
|
|
13
13
|
const { disableRowHover, isFixed, ...rest } = props;
|
|
14
14
|
return (
|
|
15
15
|
<ChakraTable
|
|
16
|
-
layout={isFixed ? 'fixed' : 'auto'}
|
|
17
16
|
className={disableRowHover ? 'disable-row-hover' : undefined}
|
|
17
|
+
layout={isFixed ? 'fixed' : 'auto'}
|
|
18
18
|
{...rest}
|
|
19
19
|
ref={ref}
|
|
20
20
|
/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
forwardRef,
|
|
2
3
|
TableCaption as ChakraTableCaption,
|
|
3
4
|
TableCaptionProps as ChakraTableCaptionProps,
|
|
4
|
-
forwardRef,
|
|
5
5
|
useTableStyles,
|
|
6
6
|
} from '@chakra-ui/react';
|
|
7
7
|
import Text from '../Text/Text';
|
|
@@ -15,7 +15,7 @@ const TableCaption = forwardRef<TableCaptionProps, 'caption'>((props, ref) => {
|
|
|
15
15
|
const css = useTableStyles();
|
|
16
16
|
|
|
17
17
|
return (
|
|
18
|
-
<ChakraTableCaption {...props} placement="top"
|
|
18
|
+
<ChakraTableCaption {...props} ref={ref} placement="top">
|
|
19
19
|
<Text as="h5" sx={css.captionTitle}>
|
|
20
20
|
{children}
|
|
21
21
|
</Text>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableContainer as ChakraTableContainer, TableContainerProps
|
|
1
|
+
import { forwardRef, TableContainer as ChakraTableContainer, TableContainerProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const TableContainer = forwardRef<TableContainerProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraTableContainer {...props} ref={ref} />;
|
|
@@ -7,11 +7,6 @@ const TableIconButton = forwardRef<TableIconButtonProps, 'button'>((props, ref)
|
|
|
7
7
|
const { isDanger } = props;
|
|
8
8
|
return (
|
|
9
9
|
<IconButton
|
|
10
|
-
color={isDanger ? undefined : 'pal.purple.10'}
|
|
11
|
-
iconSize="24"
|
|
12
|
-
size="small"
|
|
13
|
-
isDanger={isDanger}
|
|
14
|
-
variant="tertiary"
|
|
15
10
|
ref={ref}
|
|
16
11
|
_active={{
|
|
17
12
|
backgroundColor: 'pal.neutral.80',
|
|
@@ -19,6 +14,11 @@ const TableIconButton = forwardRef<TableIconButtonProps, 'button'>((props, ref)
|
|
|
19
14
|
_hover={{
|
|
20
15
|
backgroundColor: 'pal.neutral.90',
|
|
21
16
|
}}
|
|
17
|
+
color={isDanger ? undefined : 'pal.purple.10'}
|
|
18
|
+
iconSize="24"
|
|
19
|
+
isDanger={isDanger}
|
|
20
|
+
size="small"
|
|
21
|
+
variant="tertiary"
|
|
22
22
|
{...props}
|
|
23
23
|
/>
|
|
24
24
|
);
|
|
@@ -22,13 +22,13 @@ export type TablePaginationProps = {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
const TablePagination = ({
|
|
25
|
+
colSpan,
|
|
26
|
+
itemsPerPageOptions = defaultItemsPerPageOptions,
|
|
25
27
|
page,
|
|
26
28
|
perPage,
|
|
27
|
-
totalCount,
|
|
28
29
|
setPage,
|
|
29
30
|
setPerPage,
|
|
30
|
-
|
|
31
|
-
itemsPerPageOptions = defaultItemsPerPageOptions,
|
|
31
|
+
totalCount,
|
|
32
32
|
}: TablePaginationProps): JSX.Element => {
|
|
33
33
|
const pageCount = totalCount && Math.ceil(totalCount / perPage);
|
|
34
34
|
const itemsStartIndex = (page - 1) * perPage + 1;
|
|
@@ -38,13 +38,13 @@ const TablePagination = ({
|
|
|
38
38
|
<Tfoot>
|
|
39
39
|
<Tr>
|
|
40
40
|
<Td colSpan={colSpan}>
|
|
41
|
-
<Box display="flex" gap="1rem"
|
|
42
|
-
<Box display="flex" gap="0.5rem"
|
|
41
|
+
<Box alignItems="center" display="flex" gap="1rem">
|
|
42
|
+
<Box alignItems="center" display="flex" gap="0.5rem">
|
|
43
43
|
<Text>Items per page:</Text>
|
|
44
44
|
<Dropdown
|
|
45
45
|
onChange={({ target }) => setPerPage(Number(target.value))}
|
|
46
|
-
value={perPage.toString()}
|
|
47
46
|
search={false}
|
|
47
|
+
value={perPage.toString()}
|
|
48
48
|
width="auto"
|
|
49
49
|
>
|
|
50
50
|
{itemsPerPageOptions.map((perPageOption) => (
|
|
@@ -54,16 +54,16 @@ const TablePagination = ({
|
|
|
54
54
|
))}
|
|
55
55
|
</Dropdown>
|
|
56
56
|
</Box>
|
|
57
|
-
<Divider
|
|
57
|
+
<Divider color="pal.neutral.90" height="3rem" orientation="vertical" />
|
|
58
58
|
<Text as="span" marginRight="auto">
|
|
59
59
|
{itemsStartIndex}-{itemsEndIndex} of {totalCount} items
|
|
60
60
|
</Text>
|
|
61
|
-
<Divider
|
|
62
|
-
<Box display="flex" gap="0.5rem"
|
|
61
|
+
<Divider color="pal.neutral.90" height="3rem" orientation="vertical" />
|
|
62
|
+
<Box alignItems="center" display="flex" gap="0.5rem">
|
|
63
63
|
<Dropdown
|
|
64
64
|
onChange={({ target }) => setPage(Number(target.value))}
|
|
65
|
-
value={page.toString()}
|
|
66
65
|
search={false}
|
|
66
|
+
value={page.toString()}
|
|
67
67
|
width="auto"
|
|
68
68
|
>
|
|
69
69
|
{[...Array(pageCount)].map((_, index) => {
|
|
@@ -80,18 +80,18 @@ const TablePagination = ({
|
|
|
80
80
|
</Box>
|
|
81
81
|
<ButtonGroup>
|
|
82
82
|
<IconButton
|
|
83
|
-
iconName="ChevronLeft"
|
|
84
|
-
variant="secondary"
|
|
85
|
-
onClick={() => setPage(page - 1)}
|
|
86
83
|
aria-label="Previous page"
|
|
84
|
+
iconName="ChevronLeft"
|
|
87
85
|
isDisabled={page === 1}
|
|
86
|
+
onClick={() => setPage(page - 1)}
|
|
87
|
+
variant="secondary"
|
|
88
88
|
/>
|
|
89
89
|
<IconButton
|
|
90
|
-
iconName="ChevronRight"
|
|
91
|
-
variant="secondary"
|
|
92
|
-
onClick={() => setPage(page + 1)}
|
|
93
90
|
aria-label="Next page"
|
|
91
|
+
iconName="ChevronRight"
|
|
94
92
|
isDisabled={page === pageCount}
|
|
93
|
+
onClick={() => setPage(page + 1)}
|
|
94
|
+
variant="secondary"
|
|
95
95
|
/>
|
|
96
96
|
</ButtonGroup>
|
|
97
97
|
</Box>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tbody as ChakraTbody
|
|
1
|
+
import { forwardRef, TableBodyProps, Tbody as ChakraTbody } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const Tbody = forwardRef<TableBodyProps, 'tbody'>((props, ref) => {
|
|
4
4
|
return <ChakraTbody {...props} ref={ref} />;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { forwardRef, TableCellProps as ChakraTableCellProps, Td as ChakraTd } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export interface TableCellProps extends ChakraTableCellProps {
|
|
4
4
|
variant?: 'default' | 'separator';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AriaAttributes } from 'react';
|
|
2
2
|
import {
|
|
3
|
-
Th as ChakraTh,
|
|
4
|
-
TableColumnHeaderProps as ChakraTableColumnHeaderProps,
|
|
5
3
|
forwardRef,
|
|
4
|
+
TableColumnHeaderProps as ChakraTableColumnHeaderProps,
|
|
5
|
+
Th as ChakraTh,
|
|
6
6
|
useTableStyles,
|
|
7
7
|
} from '@chakra-ui/react';
|
|
8
8
|
import Box from '../Box/Box';
|
|
@@ -58,12 +58,12 @@ const Th = forwardRef<TableColumnHeaderProps, 'th'>((props, ref) => {
|
|
|
58
58
|
properties['aria-sort'] = sortedBy || 'none';
|
|
59
59
|
properties.children = (
|
|
60
60
|
<Box
|
|
61
|
-
as="button"
|
|
62
|
-
onClick={onClick}
|
|
63
61
|
__css={{
|
|
64
62
|
...css.sortButton,
|
|
65
63
|
flexDirection: isNumeric ? 'row-reverse' : 'row',
|
|
66
64
|
}}
|
|
65
|
+
as="button"
|
|
66
|
+
onClick={onClick}
|
|
67
67
|
>
|
|
68
68
|
{properties.children}
|
|
69
69
|
<Icon name="Sort" sx={css.sortIcon} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Thead as ChakraThead
|
|
1
|
+
import { forwardRef, TableHeadProps, Thead as ChakraThead } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const Thead = forwardRef<TableHeadProps, 'thead'>((props, ref) => {
|
|
4
4
|
return <ChakraThead {...props} ref={ref} />;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Children, ReactNode, useCallback } from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Collapse,
|
|
4
|
-
Tr as ChakraTr,
|
|
5
|
-
TableRowProps as ChakraTableRowProps,
|
|
6
4
|
forwardRef,
|
|
5
|
+
TableRowProps as ChakraTableRowProps,
|
|
6
|
+
Tr as ChakraTr,
|
|
7
7
|
useDisclosure,
|
|
8
8
|
useTableStyles,
|
|
9
9
|
} from '@chakra-ui/react';
|
|
@@ -28,7 +28,7 @@ type ExpandableProps = ChakraTableRowProps & {
|
|
|
28
28
|
export type TableRowProps = RowProps & (NonExpandableProps | ExpandableProps);
|
|
29
29
|
|
|
30
30
|
const Tr = forwardRef<TableRowProps, 'tr'>((props, ref) => {
|
|
31
|
-
const { children, defaultIsExpanded,
|
|
31
|
+
const { children, defaultIsExpanded, expandableContent, onClick, onExpandedChanged, ...rest } = props;
|
|
32
32
|
|
|
33
33
|
const { isOpen, onToggle } = useDisclosure({ defaultIsOpen: defaultIsExpanded });
|
|
34
34
|
const css = useTableStyles();
|
|
@@ -50,9 +50,9 @@ const Tr = forwardRef<TableRowProps, 'tr'>((props, ref) => {
|
|
|
50
50
|
<ChakraTr {...properties} ref={ref}>
|
|
51
51
|
<Td sx={css.expandTd}>
|
|
52
52
|
<TableIconButton
|
|
53
|
+
aria-label={isOpen ? 'Collapse row' : 'Expand row'}
|
|
53
54
|
iconName="ChevronDown"
|
|
54
55
|
isTooltipDisabled
|
|
55
|
-
aria-label={isOpen ? 'Collapse row' : 'Expand row'}
|
|
56
56
|
onClick={onToggleClick}
|
|
57
57
|
sx={{
|
|
58
58
|
'> svg': {
|
|
@@ -65,9 +65,9 @@ const Tr = forwardRef<TableRowProps, 'tr'>((props, ref) => {
|
|
|
65
65
|
{children}
|
|
66
66
|
</ChakraTr>
|
|
67
67
|
<ChakraTr>
|
|
68
|
-
<Td colSpan={colSpan} height="0"
|
|
68
|
+
<Td borderTop="none" colSpan={colSpan} height="0" padding="0">
|
|
69
69
|
<Collapse in={isOpen} unmountOnExit>
|
|
70
|
-
<Box sx={{
|
|
70
|
+
<Box sx={{ borderColor: css.td.borderColor, borderTop: css.td.borderTop, paddingX: css.td.paddingX }}>
|
|
71
71
|
{expandableContent}
|
|
72
72
|
</Box>
|
|
73
73
|
</Collapse>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, TabProps as ChakraTabProps,
|
|
1
|
+
import { Button, forwardRef, TabProps as ChakraTabProps, useTab, useTabsStyles } from '@chakra-ui/react';
|
|
2
2
|
import { TypeColors } from '../../tokens/tokens';
|
|
3
3
|
import Box from '../Box/Box';
|
|
4
4
|
import Icon, { TypeIconName } from '../Icon/Icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, TabProps as ChakraTabProps,
|
|
1
|
+
import { Button, forwardRef, TabProps as ChakraTabProps, useTab, useTabsStyles } from '@chakra-ui/react';
|
|
2
2
|
import Badge, { BadgeProps } from '../Badge/Badge';
|
|
3
3
|
import Icon, { TypeIconName } from '../Icon/Icon';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabList as ChakraTabList, TabListProps
|
|
1
|
+
import { forwardRef, TabList as ChakraTabList, TabListProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const TabList = forwardRef<TabListProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraTabList {...props} ref={ref} />;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabPanel as ChakraTabPanel, TabPanelProps
|
|
1
|
+
import { forwardRef, TabPanel as ChakraTabPanel, TabPanelProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const TabPanel = forwardRef<TabPanelProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraTabPanel {...props} ref={ref} />;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabPanels as ChakraTabPanels, TabPanelsProps
|
|
1
|
+
import { forwardRef, TabPanels as ChakraTabPanels, TabPanelsProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const TabPanels = forwardRef<TabPanelsProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraTabPanels {...props} ref={ref} />;
|