@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
|
@@ -10,62 +10,62 @@ const [HeaderContext, useHeaderContext] = createContext<{
|
|
|
10
10
|
controls: 'left' | 'right' | 'both';
|
|
11
11
|
}>();
|
|
12
12
|
export const DatePickerHeaderContent = (props: BoxProps) => (
|
|
13
|
-
<Box alignSelf="center" display="flex"
|
|
13
|
+
<Box alignSelf="center" display="flex" gap="8" justifyContent="center" {...props} />
|
|
14
14
|
);
|
|
15
15
|
export const DatePickerHeaderPrevious = ({ label }: { label: string }) => {
|
|
16
|
-
const {
|
|
16
|
+
const { controls, onPrevious } = useHeaderContext();
|
|
17
17
|
return (
|
|
18
18
|
<IconButton
|
|
19
|
-
size="small"
|
|
20
19
|
alignSelf="start"
|
|
21
|
-
visibility={controls === 'right' ? 'hidden' : undefined}
|
|
22
20
|
aria-label={label}
|
|
23
|
-
variant="tertiary"
|
|
24
|
-
color="purple.10"
|
|
25
21
|
as="button"
|
|
26
|
-
|
|
22
|
+
color="purple.10"
|
|
27
23
|
iconName="ChevronLeft"
|
|
28
24
|
isTooltipDisabled
|
|
25
|
+
onClick={onPrevious}
|
|
26
|
+
size="small"
|
|
27
|
+
variant="tertiary"
|
|
28
|
+
visibility={controls === 'right' ? 'hidden' : undefined}
|
|
29
29
|
/>
|
|
30
30
|
);
|
|
31
31
|
};
|
|
32
32
|
export const DatePickerHeaderNext = ({ label }: { label: string }) => {
|
|
33
|
-
const {
|
|
33
|
+
const { controls, onNext } = useHeaderContext();
|
|
34
34
|
return (
|
|
35
35
|
<IconButton
|
|
36
36
|
alignSelf="end"
|
|
37
|
-
visibility={controls === 'left' ? 'hidden' : undefined}
|
|
38
|
-
size="small"
|
|
39
37
|
aria-label={label}
|
|
40
|
-
variant="tertiary"
|
|
41
38
|
color="purple.10"
|
|
42
|
-
onClick={onNext}
|
|
43
39
|
iconName="ChevronRight"
|
|
44
40
|
isTooltipDisabled
|
|
41
|
+
onClick={onNext}
|
|
42
|
+
size="small"
|
|
43
|
+
variant="tertiary"
|
|
44
|
+
visibility={controls === 'left' ? 'hidden' : undefined}
|
|
45
45
|
/>
|
|
46
46
|
);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const DatePickerHeader = ({
|
|
50
|
-
onPrevious,
|
|
51
|
-
onNext,
|
|
52
50
|
children,
|
|
53
51
|
controls = 'both',
|
|
52
|
+
onNext,
|
|
53
|
+
onPrevious,
|
|
54
54
|
}: {
|
|
55
55
|
onPrevious: () => void;
|
|
56
56
|
onNext: () => void;
|
|
57
57
|
controls?: 'left' | 'right' | 'both';
|
|
58
58
|
children?: ReactNode;
|
|
59
59
|
}): JSX.Element => {
|
|
60
|
-
const ctx = useObjectMemo({
|
|
60
|
+
const ctx = useObjectMemo({ controls, onNext, onPrevious });
|
|
61
61
|
return (
|
|
62
62
|
<Box
|
|
63
|
-
marginBottom="24"
|
|
64
|
-
width="17.5rem"
|
|
65
|
-
display="grid"
|
|
66
|
-
gridTemplateColumns="2rem auto 2rem"
|
|
67
63
|
alignItems="center"
|
|
64
|
+
display="grid"
|
|
68
65
|
gap="4"
|
|
66
|
+
gridTemplateColumns="2rem auto 2rem"
|
|
67
|
+
marginBottom="24"
|
|
68
|
+
width="17.5rem"
|
|
69
69
|
>
|
|
70
70
|
<HeaderContext value={ctx}>{children}</HeaderContext>
|
|
71
71
|
</Box>
|
|
@@ -35,48 +35,48 @@ const days = createElement(
|
|
|
35
35
|
{},
|
|
36
36
|
...Array.from({ length: daysCount }).map((_, i) => <DatePickerDay n={i + 1} />),
|
|
37
37
|
);
|
|
38
|
-
const DatePickerMonth = ({ controls, onViewDateChange, viewDate
|
|
38
|
+
const DatePickerMonth = ({ controls, onMonthClick, onViewDateChange, viewDate }: Props) => {
|
|
39
39
|
const onNextMonth = useCallback(() => onViewDateChange(viewDate.plus({ months: 1 })), [onViewDateChange, viewDate]);
|
|
40
40
|
const onPreviousMonth = useCallback(
|
|
41
41
|
() => onViewDateChange(viewDate.minus({ months: 1 })),
|
|
42
42
|
[onViewDateChange, viewDate],
|
|
43
43
|
);
|
|
44
44
|
|
|
45
|
-
const dayContext = useObjectMemo({
|
|
45
|
+
const dayContext = useObjectMemo({ onNextMonth, onPreviousMonth, viewDate });
|
|
46
46
|
|
|
47
47
|
const monthLabelId = useId();
|
|
48
48
|
return (
|
|
49
49
|
<Box data-testid={`controls-${controls}`}>
|
|
50
|
-
<DatePickerHeader
|
|
50
|
+
<DatePickerHeader controls={controls} onNext={onNextMonth} onPrevious={onPreviousMonth}>
|
|
51
51
|
<DatePickerHeaderPrevious label="previous month" />
|
|
52
52
|
<DatePickerHeaderContent id={monthLabelId}>
|
|
53
53
|
<Button
|
|
54
|
-
onClick={onMonthClick}
|
|
55
|
-
size="small"
|
|
56
|
-
variant="tertiary"
|
|
57
54
|
color="purple.10"
|
|
58
55
|
flexShrink={0}
|
|
56
|
+
onClick={onMonthClick}
|
|
59
57
|
rightIconName="ChevronDown"
|
|
58
|
+
size="small"
|
|
59
|
+
variant="tertiary"
|
|
60
60
|
>
|
|
61
61
|
{viewDate.monthLong}
|
|
62
62
|
</Button>
|
|
63
63
|
<NumberInput
|
|
64
64
|
aria-label="year"
|
|
65
65
|
flexShrink={1}
|
|
66
|
-
size="small"
|
|
67
|
-
min={1990}
|
|
68
|
-
w="4.5rem"
|
|
69
66
|
max={2100}
|
|
70
|
-
|
|
67
|
+
min={1990}
|
|
71
68
|
onChange={(_, year) => onViewDateChange(viewDate.set({ year }))}
|
|
69
|
+
size="small"
|
|
70
|
+
value={viewDate.year}
|
|
71
|
+
w="4.5rem"
|
|
72
72
|
>
|
|
73
73
|
<NumberInputField />
|
|
74
74
|
<NumberInputStepper>
|
|
75
75
|
<NumberIncrementStepper>
|
|
76
|
-
<Icon
|
|
76
|
+
<Icon name="ChevronUp" size="16" />
|
|
77
77
|
</NumberIncrementStepper>
|
|
78
78
|
<NumberDecrementStepper>
|
|
79
|
-
<Icon
|
|
79
|
+
<Icon name="ChevronDown" size="16" />
|
|
80
80
|
</NumberDecrementStepper>
|
|
81
81
|
</NumberInputStepper>
|
|
82
82
|
</NumberInput>
|
|
@@ -84,14 +84,14 @@ const DatePickerMonth = ({ controls, onViewDateChange, viewDate, onMonthClick }:
|
|
|
84
84
|
<DatePickerHeaderNext label="next month" />
|
|
85
85
|
</DatePickerHeader>
|
|
86
86
|
|
|
87
|
-
<DatePickerGrid alignItems="center"
|
|
87
|
+
<DatePickerGrid alignItems="center" gridTemplateRows="2rem" justifyItems="center">
|
|
88
88
|
{daysOfTheWeek.map((day) => (
|
|
89
|
-
<Text key={day}
|
|
89
|
+
<Text key={day} color="neutral.50" size="2" textTransform="capitalize">
|
|
90
90
|
{day}
|
|
91
91
|
</Text>
|
|
92
92
|
))}
|
|
93
93
|
</DatePickerGrid>
|
|
94
|
-
<DatePickerGrid aria-labelledby={monthLabelId}
|
|
94
|
+
<DatePickerGrid aria-labelledby={monthLabelId} paddingTop="8" role="listbox">
|
|
95
95
|
<DatePickerDayContext value={dayContext}>{days}</DatePickerDayContext>
|
|
96
96
|
</DatePickerGrid>
|
|
97
97
|
</Box>
|
|
@@ -18,12 +18,12 @@ import DatePickerHeader, {
|
|
|
18
18
|
} from './DatePickerHeader';
|
|
19
19
|
|
|
20
20
|
const DatePickerMonthItem = ({
|
|
21
|
-
children,
|
|
22
|
-
selected,
|
|
23
21
|
'aria-label': label,
|
|
24
|
-
|
|
25
|
-
n,
|
|
22
|
+
children,
|
|
26
23
|
id,
|
|
24
|
+
n,
|
|
25
|
+
onClick,
|
|
26
|
+
selected,
|
|
27
27
|
}: {
|
|
28
28
|
id?: string;
|
|
29
29
|
'aria-label': string;
|
|
@@ -32,20 +32,20 @@ const DatePickerMonthItem = ({
|
|
|
32
32
|
n: number;
|
|
33
33
|
onClick: (n: number) => void;
|
|
34
34
|
}) => {
|
|
35
|
-
const {
|
|
35
|
+
const { day, text } = useMultiStyleConfig('DatePickerDay', {
|
|
36
|
+
currentMonth: true,
|
|
36
37
|
selectable: true,
|
|
37
38
|
selection: selected ? 'incomplete' : undefined,
|
|
38
|
-
currentMonth: true,
|
|
39
39
|
});
|
|
40
40
|
return (
|
|
41
41
|
<Box
|
|
42
|
-
id={id}
|
|
43
|
-
aria-selected={selected ? true : undefined}
|
|
44
42
|
aria-label={label}
|
|
43
|
+
aria-selected={selected ? true : undefined}
|
|
45
44
|
as="button"
|
|
45
|
+
id={id}
|
|
46
|
+
onClick={() => onClick(n)}
|
|
46
47
|
role="option"
|
|
47
48
|
sx={day}
|
|
48
|
-
onClick={() => onClick(n)}
|
|
49
49
|
width="48"
|
|
50
50
|
>
|
|
51
51
|
<Text sx={{ ...text, width: '48' }}>{children}</Text>
|
|
@@ -56,8 +56,8 @@ const DatePickerMonthItem = ({
|
|
|
56
56
|
const monthNames = Info.months('short');
|
|
57
57
|
const longMonthNames = Info.months('long');
|
|
58
58
|
const DatePickerMonthSelector = ({
|
|
59
|
-
viewDate,
|
|
60
59
|
onMonthSelected,
|
|
60
|
+
viewDate,
|
|
61
61
|
}: {
|
|
62
62
|
viewDate: DateTime;
|
|
63
63
|
onMonthSelected: (month: number, year: number) => void;
|
|
@@ -71,28 +71,28 @@ const DatePickerMonthSelector = ({
|
|
|
71
71
|
const monthId = useId();
|
|
72
72
|
return (
|
|
73
73
|
<Box>
|
|
74
|
-
<DatePickerHeader
|
|
74
|
+
<DatePickerHeader onNext={onNextYear} onPrevious={onPreviousYear}>
|
|
75
75
|
<DatePickerHeaderPrevious label="previous year" />
|
|
76
76
|
<DatePickerHeaderContent>
|
|
77
77
|
<NumberInput
|
|
78
78
|
aria-label="year"
|
|
79
79
|
flexShrink={1}
|
|
80
|
-
size="small"
|
|
81
|
-
min={1990}
|
|
82
|
-
w="4.5rem"
|
|
83
80
|
max={2100}
|
|
84
|
-
|
|
81
|
+
min={1990}
|
|
85
82
|
onChange={(_, year) => {
|
|
86
83
|
setSelectedYear(year);
|
|
87
84
|
}}
|
|
85
|
+
size="small"
|
|
86
|
+
value={selectedYear}
|
|
87
|
+
w="4.5rem"
|
|
88
88
|
>
|
|
89
89
|
<NumberInputField ref={yearRef} />
|
|
90
90
|
<NumberInputStepper>
|
|
91
91
|
<NumberIncrementStepper>
|
|
92
|
-
<Icon
|
|
92
|
+
<Icon name="ChevronUp" size="16" />
|
|
93
93
|
</NumberIncrementStepper>
|
|
94
94
|
<NumberDecrementStepper>
|
|
95
|
-
<Icon
|
|
95
|
+
<Icon name="ChevronDown" size="16" />
|
|
96
96
|
</NumberDecrementStepper>
|
|
97
97
|
</NumberInputStepper>
|
|
98
98
|
</NumberInput>
|
|
@@ -100,26 +100,26 @@ const DatePickerMonthSelector = ({
|
|
|
100
100
|
<DatePickerHeaderNext label="next year" />
|
|
101
101
|
</DatePickerHeader>
|
|
102
102
|
<Box
|
|
103
|
-
display="grid"
|
|
104
|
-
rowGap="24"
|
|
105
103
|
alignItems="center"
|
|
106
|
-
|
|
104
|
+
aria-activedescendant={monthId}
|
|
105
|
+
aria-label="month"
|
|
106
|
+
display="grid"
|
|
107
107
|
gridTemplateColumns="repeat(3,1fr)"
|
|
108
108
|
gridTemplateRows="repeat(4, 1fr)"
|
|
109
|
+
justifyItems="center"
|
|
109
110
|
role="listbox"
|
|
110
|
-
|
|
111
|
-
aria-activedescendant={monthId}
|
|
111
|
+
rowGap="24"
|
|
112
112
|
>
|
|
113
113
|
{monthNames.map((month, idx) => {
|
|
114
114
|
const selected = viewDate.month === idx + 1;
|
|
115
115
|
return (
|
|
116
116
|
<DatePickerMonthItem
|
|
117
|
+
key={month}
|
|
118
|
+
aria-label={longMonthNames[idx]}
|
|
117
119
|
id={selected ? monthId : undefined}
|
|
118
|
-
onClick={monthClicked}
|
|
119
120
|
n={idx + 1}
|
|
120
|
-
|
|
121
|
+
onClick={monthClicked}
|
|
121
122
|
selected={selected}
|
|
122
|
-
key={month}
|
|
123
123
|
>
|
|
124
124
|
{month}
|
|
125
125
|
</DatePickerMonthItem>
|
|
@@ -6,19 +6,19 @@ const { defineMultiStyleConfig } = createMultiStyleConfigHelpers(['content', 'tr
|
|
|
6
6
|
const DefinitionTooltipTheme = defineMultiStyleConfig({
|
|
7
7
|
baseStyle: {
|
|
8
8
|
content: {
|
|
9
|
+
maxWidth: rem(320),
|
|
9
10
|
paddingX: '12',
|
|
10
11
|
paddingY: '8',
|
|
11
|
-
maxWidth: rem(320),
|
|
12
12
|
},
|
|
13
13
|
trigger: {
|
|
14
|
+
_hover: {
|
|
15
|
+
borderBottomColor: 'purple.50',
|
|
16
|
+
},
|
|
14
17
|
borderBottom: '1px dotted',
|
|
15
18
|
borderBottomColor: 'neutral.60',
|
|
16
19
|
display: 'inline-block',
|
|
17
|
-
width: 'fit-content',
|
|
18
20
|
fontWeight: 'inherit',
|
|
19
|
-
|
|
20
|
-
borderBottomColor: 'purple.50',
|
|
21
|
-
},
|
|
21
|
+
width: 'fit-content',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
});
|
|
@@ -18,7 +18,7 @@ const DefinitionTooltip = (props: DefinitionTooltipProps) => {
|
|
|
18
18
|
return (
|
|
19
19
|
<Popover placement="top" variant="dark" withArrow {...rest}>
|
|
20
20
|
<PopoverTrigger>
|
|
21
|
-
<Box as="span" role="button" tabIndex={0}
|
|
21
|
+
<Box __css={style.trigger} as="span" role="button" tabIndex={0} {...triggerProps}>
|
|
22
22
|
{children}
|
|
23
23
|
</Box>
|
|
24
24
|
</PopoverTrigger>
|
|
@@ -2,58 +2,66 @@ import type { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
|
2
2
|
|
|
3
3
|
const DialogTheme: ComponentStyleConfig = {
|
|
4
4
|
baseStyle: ({ scrollBehavior }) => ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
body: {
|
|
6
|
+
flex: 1,
|
|
7
|
+
overflow: scrollBehavior === 'inside' ? 'auto' : undefined,
|
|
8
|
+
paddingX: '32',
|
|
8
9
|
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
zIndex: 'dialog',
|
|
10
|
+
closeButton: {
|
|
11
|
+
color: 'purple.10',
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
right: '22',
|
|
14
|
+
top: '22',
|
|
15
15
|
},
|
|
16
16
|
dialog: {
|
|
17
|
-
borderRadius: '8',
|
|
18
17
|
backgroundColor: 'neutral.100',
|
|
18
|
+
borderRadius: '8',
|
|
19
19
|
boxShadow: 'large',
|
|
20
20
|
marginY: '15vh',
|
|
21
21
|
maxH: scrollBehavior === 'inside' ? '70vh' : undefined,
|
|
22
22
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
position: 'absolute',
|
|
30
|
-
top: '22',
|
|
31
|
-
right: '22',
|
|
32
|
-
color: 'purple.10',
|
|
33
|
-
},
|
|
34
|
-
body: {
|
|
35
|
-
flex: 1,
|
|
36
|
-
paddingX: '32',
|
|
37
|
-
overflow: scrollBehavior === 'inside' ? 'auto' : undefined,
|
|
23
|
+
dialogContainer: {
|
|
24
|
+
alignItems: 'flex-start',
|
|
25
|
+
display: 'flex',
|
|
26
|
+
justifyContent: 'center',
|
|
27
|
+
overflow: scrollBehavior === 'inside' ? 'hidden' : 'auto',
|
|
28
|
+
zIndex: 'dialog',
|
|
38
29
|
},
|
|
39
30
|
footer: {
|
|
40
31
|
display: 'flex',
|
|
41
|
-
|
|
32
|
+
flexWrap: 'wrap',
|
|
42
33
|
gap: '16',
|
|
34
|
+
justifyContent: 'end',
|
|
43
35
|
padding: '32',
|
|
44
36
|
paddingTop: '48',
|
|
45
|
-
|
|
37
|
+
},
|
|
38
|
+
header: {
|
|
39
|
+
color: 'purple.10',
|
|
40
|
+
padding: '24',
|
|
41
|
+
paddingLeft: '30',
|
|
42
|
+
},
|
|
43
|
+
overlay: {
|
|
44
|
+
backgroundColor: 'rgba(0, 0, 0, .5)',
|
|
45
|
+
zIndex: 'dialogOverlay',
|
|
46
46
|
},
|
|
47
47
|
}),
|
|
48
48
|
sizes: {
|
|
49
|
-
|
|
49
|
+
full: {
|
|
50
50
|
dialog: {
|
|
51
|
-
|
|
51
|
+
bottom: '32',
|
|
52
|
+
left: '32',
|
|
53
|
+
margin: '0',
|
|
54
|
+
maxH: 'auto',
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
right: '32',
|
|
57
|
+
top: '32',
|
|
58
|
+
width: 'auto',
|
|
52
59
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
dialogContainer: {
|
|
61
|
+
zIndex: 'fullDialog',
|
|
62
|
+
},
|
|
63
|
+
overlay: {
|
|
64
|
+
zIndex: 'fullDialogOverlay',
|
|
57
65
|
},
|
|
58
66
|
},
|
|
59
67
|
large: {
|
|
@@ -61,33 +69,25 @@ const DialogTheme: ComponentStyleConfig = {
|
|
|
61
69
|
maxWidth: '50rem',
|
|
62
70
|
},
|
|
63
71
|
},
|
|
64
|
-
|
|
65
|
-
overlay: {
|
|
66
|
-
zIndex: 'fullDialogOverlay',
|
|
67
|
-
},
|
|
68
|
-
dialogContainer: {
|
|
69
|
-
zIndex: 'fullDialog',
|
|
70
|
-
},
|
|
72
|
+
medium: {
|
|
71
73
|
dialog: {
|
|
72
|
-
|
|
73
|
-
margin: '0',
|
|
74
|
-
width: 'auto',
|
|
75
|
-
left: '32',
|
|
76
|
-
right: '32',
|
|
77
|
-
top: '32',
|
|
78
|
-
bottom: '32',
|
|
79
|
-
maxH: 'auto',
|
|
74
|
+
maxWidth: '40rem',
|
|
80
75
|
},
|
|
81
76
|
},
|
|
82
77
|
mobile: {
|
|
83
78
|
dialog: {
|
|
84
|
-
w: '100vw',
|
|
85
|
-
maxH: '100vh',
|
|
86
79
|
'@supports(min-height: -webkit-fill-available)': {
|
|
87
80
|
maxH: '-webkit-fill-available',
|
|
88
81
|
},
|
|
89
|
-
marginY: '0',
|
|
90
82
|
borderRadius: 0,
|
|
83
|
+
marginY: '0',
|
|
84
|
+
maxH: '100vh',
|
|
85
|
+
w: '100vw',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
small: {
|
|
89
|
+
dialog: {
|
|
90
|
+
maxWidth: '30rem',
|
|
91
91
|
},
|
|
92
92
|
},
|
|
93
93
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useId } from 'react';
|
|
2
2
|
import {
|
|
3
|
+
ComponentWithAs,
|
|
4
|
+
HTMLChakraProps,
|
|
3
5
|
Modal,
|
|
4
|
-
ModalOverlay,
|
|
5
|
-
ModalContent,
|
|
6
6
|
ModalCloseButton,
|
|
7
|
+
ModalContent,
|
|
7
8
|
ModalHeader,
|
|
9
|
+
ModalOverlay,
|
|
8
10
|
useBreakpointValue,
|
|
9
11
|
usePrefersReducedMotion,
|
|
10
|
-
HTMLChakraProps,
|
|
11
|
-
ComponentWithAs,
|
|
12
12
|
} from '@chakra-ui/react';
|
|
13
13
|
import { BREAKPOINTS } from '../../Foundations/Breakpoints/Breakpoints';
|
|
14
14
|
import Icon from '../Icon/Icon';
|
|
@@ -57,7 +57,7 @@ const Dialog: ComponentWithAs<'section', DialogProps> = ({
|
|
|
57
57
|
{variant !== 'empty' && (
|
|
58
58
|
<>
|
|
59
59
|
<ModalHeader marginRight="48">
|
|
60
|
-
<Text id={headerId}
|
|
60
|
+
<Text as="h1" id={headerId} size="5">
|
|
61
61
|
{title}
|
|
62
62
|
</Text>
|
|
63
63
|
</ModalHeader>
|
|
@@ -8,7 +8,7 @@ export interface DotProps extends BoxProps {
|
|
|
8
8
|
const Dot = forwardRef<DotProps, 'div'>((props, ref) => {
|
|
9
9
|
const { size, ...rest } = props;
|
|
10
10
|
|
|
11
|
-
return <Box ref={ref}
|
|
11
|
+
return <Box ref={ref} aria-hidden borderRadius="50%" height={size} width={size} {...rest} />;
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
export default Dot;
|
|
@@ -11,40 +11,40 @@ const { defineMultiStyleConfig } = createMultiStyleConfigHelpers([
|
|
|
11
11
|
|
|
12
12
|
const DrawerTheme = defineMultiStyleConfig({
|
|
13
13
|
baseStyle: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
dialogContainer: {
|
|
20
|
-
zIndex: 'dialog',
|
|
21
|
-
top: '3rem',
|
|
14
|
+
closeButton: {
|
|
15
|
+
padding: '4',
|
|
16
|
+
position: 'absolute',
|
|
17
|
+
right: '16',
|
|
18
|
+
top: '16',
|
|
22
19
|
},
|
|
23
20
|
dialog: {
|
|
24
|
-
top: '3rem !important',
|
|
25
21
|
background: 'neutral.100',
|
|
26
|
-
maxWidth: '20rem',
|
|
27
|
-
padding: '24',
|
|
28
22
|
display: 'flex',
|
|
29
23
|
flexDirection: 'column',
|
|
30
24
|
gap: '8',
|
|
25
|
+
maxWidth: '20rem',
|
|
26
|
+
padding: '24',
|
|
27
|
+
top: '3rem !important',
|
|
31
28
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
dialogContainer: {
|
|
30
|
+
top: '3rem',
|
|
31
|
+
zIndex: 'dialog',
|
|
32
|
+
},
|
|
33
|
+
footer: {
|
|
34
|
+
justifyContent: 'flex-start',
|
|
35
|
+
marginTop: 'auto',
|
|
37
36
|
},
|
|
38
37
|
header: {
|
|
39
38
|
color: 'neutral.60',
|
|
40
39
|
fontSize: '1',
|
|
40
|
+
fontWeight: 'bold',
|
|
41
41
|
lineHeight: '1rem',
|
|
42
42
|
textTransform: 'uppercase',
|
|
43
|
-
fontWeight: 'bold',
|
|
44
43
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
overlay: {
|
|
45
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
46
|
+
top: '3rem',
|
|
47
|
+
zIndex: 'dialogOverlay',
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
});
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
BoxProps,
|
|
4
4
|
Drawer as ChakraDrawer,
|
|
5
5
|
DrawerBody,
|
|
6
|
+
DrawerCloseButton,
|
|
7
|
+
DrawerContent,
|
|
8
|
+
DrawerContentProps,
|
|
6
9
|
DrawerFooter,
|
|
7
10
|
DrawerHeader,
|
|
8
|
-
DrawerProps as ChakraDrawerProps,
|
|
9
11
|
DrawerOverlay,
|
|
10
|
-
|
|
11
|
-
DrawerCloseButton,
|
|
12
|
-
DrawerContentProps,
|
|
12
|
+
DrawerProps as ChakraDrawerProps,
|
|
13
13
|
} from '@chakra-ui/react';
|
|
14
14
|
import Icon from '../Icon/Icon';
|
|
15
15
|
|
|
@@ -25,7 +25,7 @@ export interface DrawerProps
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const Drawer = (props: DrawerProps) => {
|
|
28
|
-
const { children, footer, maxWidth = '20rem', padding,
|
|
28
|
+
const { bodyPadding, children, footer, headerPadding, maxWidth = '20rem', padding, title, ...drawerProps } = props;
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
31
|
<ChakraDrawer {...drawerProps}>
|
|
@@ -26,9 +26,9 @@ function useDropdownContextTyped<T>(): DropdownContext<T> {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
const DropdownProvider = <T,>({
|
|
29
|
-
styles,
|
|
30
|
-
context,
|
|
31
29
|
children,
|
|
30
|
+
context,
|
|
31
|
+
styles,
|
|
32
32
|
}: {
|
|
33
33
|
styles: ComponentProps<typeof DropdownStylesProvider>['value'];
|
|
34
34
|
children: ReactNode;
|