twenty-sdk 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/front-component/host/components/FrontComponentRenderer.d.ts +1 -1
- package/dist/front-component.cjs +48 -221
- package/dist/front-component.mjs +13781 -32907
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +21 -7
- package/dist/types-BSOjxfFi.mjs +7 -0
- package/dist/types-DqLnNRPE.js +1 -0
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts +16 -6
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata.cjs +1 -1
- package/dist/vendor/twenty-shared/metadata.mjs +20 -6
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts +2 -1
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +11 -11
- package/dist/vendor/twenty-ui/AllIcons-CGPKtPQS.js +4188 -0
- package/dist/vendor/twenty-ui/AllIcons-CcTQbSjc.cjs +1 -0
- package/dist/vendor/twenty-ui/Animation-Dqlz22Qp.cjs +1 -0
- package/dist/vendor/twenty-ui/Animation-W4Sjfu-g.js +11 -0
- package/dist/vendor/twenty-ui/Avatar-Cg4dvBA_.js +130 -0
- package/dist/vendor/twenty-ui/Avatar-zyamQwOj.cjs +1 -0
- package/dist/vendor/twenty-ui/Button-BChGSHVB.js +257 -0
- package/dist/vendor/twenty-ui/Button-PLd38fEI.cjs +24 -0
- package/dist/vendor/twenty-ui/ColorSample-BEUix7Ah.cjs +16 -0
- package/dist/vendor/twenty-ui/ColorSample-Bp-he5lO.js +28 -0
- package/dist/vendor/twenty-ui/HoverBackground-D630rSrX.cjs +1 -0
- package/dist/vendor/twenty-ui/HoverBackground-bYDC0iDZ.js +5 -0
- package/dist/vendor/twenty-ui/Loader-9V3BLpiM.cjs +2 -0
- package/dist/vendor/twenty-ui/Loader-BmJ693nz.js +43 -0
- package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorNames-O_b9E7H3.js +5 -0
- package/dist/vendor/twenty-ui/MainColorsLight-GOpmobTe.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorsLight-x_vjLhiq.js +1682 -0
- package/dist/vendor/twenty-ui/MobileViewport-BcwxurOJ.cjs +1 -0
- package/dist/vendor/twenty-ui/MobileViewport-CDXq37n6.js +4 -0
- package/dist/vendor/twenty-ui/OverflowingTextWithTooltip-1P96Lw-o.cjs +1 -0
- package/dist/vendor/twenty-ui/OverflowingTextWithTooltip-F-KEqUMB.js +132 -0
- package/dist/vendor/twenty-ui/Pill-C3ErQi9y.js +16 -0
- package/dist/vendor/twenty-ui/Pill-D732nsLI.cjs +1 -0
- package/dist/vendor/twenty-ui/Tag-CfX8tARK.js +99 -0
- package/dist/vendor/twenty-ui/Tag-DIE1bmT7.cjs +1 -0
- package/dist/vendor/twenty-ui/ThemeCommon-BiQXECTo.cjs +1 -0
- package/dist/vendor/twenty-ui/ThemeCommon-CUpBXrDJ.js +867 -0
- package/dist/vendor/twenty-ui/ThemeContextProvider-DRVSWXAb.js +26 -0
- package/dist/vendor/twenty-ui/ThemeContextProvider-DZWArlAl.cjs +1 -0
- package/dist/vendor/twenty-ui/Toggle-8vjP6D_0.cjs +4 -0
- package/dist/vendor/twenty-ui/Toggle-Bd3-khQW.js +169 -0
- package/dist/vendor/twenty-ui/VisibilityHidden-Bkyg_zrv.cjs +1 -0
- package/dist/vendor/twenty-ui/VisibilityHidden-D9rwE91j.js +11 -0
- package/dist/vendor/twenty-ui/VisibilityHiddenInput-B3xu3qIM.cjs +1 -0
- package/dist/vendor/twenty-ui/VisibilityHiddenInput-CpO8FZey.js +8 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHidden.d.ts +4 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHidden.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHiddenInput.d.ts +5 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHiddenInput.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/accessibility/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/utils/visibility-hidden.d.ts +2 -0
- package/dist/vendor/twenty-ui/accessibility/utils/visibility-hidden.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility.cjs +1 -0
- package/dist/vendor/twenty-ui/accessibility.mjs +8 -0
- package/dist/vendor/twenty-ui/assets/index.d.ts +1 -0
- package/dist/vendor/twenty-ui/assets/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/assets.cjs +1 -0
- package/dist/vendor/twenty-ui/assets.mjs +1 -0
- package/dist/vendor/twenty-ui/components/Pill/Pill.d.ts +10 -0
- package/dist/vendor/twenty-ui/components/Pill/Pill.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/AvatarChip.d.ts +18 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/AvatarChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/MultipleAvatarChip.d.ts +15 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/MultipleAvatarChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/Chip.d.ts +34 -0
- package/dist/vendor/twenty-ui/components/chip/Chip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/LinkChip.d.ts +13 -0
- package/dist/vendor/twenty-ui/components/chip/LinkChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/constants/LinkChipClickOutsideId.d.ts +2 -0
- package/dist/vendor/twenty-ui/components/chip/constants/LinkChipClickOutsideId.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/index.d.ts +13 -0
- package/dist/vendor/twenty-ui/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/tag/Tag.d.ts +20 -0
- package/dist/vendor/twenty-ui/components/tag/Tag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components.cjs +1 -0
- package/dist/vendor/twenty-ui/components.mjs +235 -0
- package/dist/vendor/twenty-ui/config-D3RPmuwk.cjs +1 -0
- package/dist/vendor/twenty-ui/config-D9UgCg2c.js +18 -0
- package/dist/vendor/twenty-ui/createState---bO_WLW.cjs +1 -0
- package/dist/vendor/twenty-ui/createState-DvtGszbK.js +9 -0
- package/dist/vendor/twenty-ui/display/avatar/components/Avatar.d.ts +20 -0
- package/dist/vendor/twenty-ui/display/avatar/components/Avatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/components/AvatarGroup.d.ts +7 -0
- package/dist/vendor/twenty-ui/display/avatar/components/AvatarGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/components/states/isInvalidAvatarUrlState.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/components/states/isInvalidAvatarUrlState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/constants/AvatarPropertiesBySize.d.ts +23 -0
- package/dist/vendor/twenty-ui/display/avatar/constants/AvatarPropertiesBySize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarSize.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarType.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/banner/components/Banner.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/banner/components/Banner.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/banner/components/SidePanelInformationBanner.d.ts +8 -0
- package/dist/vendor/twenty-ui/display/banner/components/SidePanelInformationBanner.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/AnimatedCheckmark.d.ts +10 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/AnimatedCheckmark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/Checkmark.d.ts +7 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/Checkmark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/color/components/ColorSample.d.ts +14 -0
- package/dist/vendor/twenty-ui/display/color/components/ColorSample.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/command-block/components/CommandBlock.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/command-block/components/CommandBlock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconAddressBook.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconAddressBook.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconChartBarHorizontal.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconChartBarHorizontal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGmail.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGmail.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogle.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogleCalendar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogleCalendar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconLock.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconLock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoft.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoft.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftCalendar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftCalendar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftOutlook.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftOutlook.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconRelationManyToOne.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconRelationManyToOne.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTrashXOff.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTrashXOff.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStarFilled.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStarFilled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconArray.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconArray.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarEvent.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarEvent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarTime.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarTime.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCurrency.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCurrency.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconFile.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconFile.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconJson.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconJson.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconLink.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMail.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMail.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconManyToMany.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconManyToMany.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMap.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMap.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconNumbers.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconNumbers.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToMany.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToMany.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToOne.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToOne.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconPhone.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconPhone.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconSetting.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconSetting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconStar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconStar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTag.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTags.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTags.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconText.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconToggle.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUid.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUid.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUser.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUser.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconWrapper.d.ts +5 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconWrapper.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/TablerIcons.d.ts +3 -0
- package/dist/vendor/twenty-ui/display/icon/components/TablerIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/hooks/useIcons.d.ts +5 -0
- package/dist/vendor/twenty-ui/display/icon/hooks/useIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/providers/IconsProvider.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/providers/IconsProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/providers/internal/AllIcons.d.ts +4185 -0
- package/dist/vendor/twenty-ui/display/icon/providers/internal/AllIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/states/iconsState.d.ts +4 -0
- package/dist/vendor/twenty-ui/display/icon/states/iconsState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/types/IconComponent.d.ts +11 -0
- package/dist/vendor/twenty-ui/display/icon/types/IconComponent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/index.d.ts +76 -0
- package/dist/vendor/twenty-ui/display/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/info/components/Info.d.ts +12 -0
- package/dist/vendor/twenty-ui/display/info/components/Info.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/status/components/Status.d.ts +13 -0
- package/dist/vendor/twenty-ui/display/status/components/Status.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/text/components/HorizontalSeparator.d.ts +11 -0
- package/dist/vendor/twenty-ui/display/text/components/HorizontalSeparator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/text/components/SeparatorLineText.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/text/components/SeparatorLineText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/tooltip/AppTooltip.d.ts +31 -0
- package/dist/vendor/twenty-ui/display/tooltip/AppTooltip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/tooltip/OverflowingTextWithTooltip.d.ts +16 -0
- package/dist/vendor/twenty-ui/display/tooltip/OverflowingTextWithTooltip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H1Title.d.ts +15 -0
- package/dist/vendor/twenty-ui/display/typography/components/H1Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H2Title.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/typography/components/H2Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H3Title.d.ts +10 -0
- package/dist/vendor/twenty-ui/display/typography/components/H3Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/Label.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/typography/components/Label.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/StyledText.d.ts +20 -0
- package/dist/vendor/twenty-ui/display/typography/components/StyledText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display.cjs +8 -0
- package/dist/vendor/twenty-ui/display.mjs +1194 -0
- package/dist/vendor/twenty-ui/emotion-react-jsx-runtime.browser.esm-BUNawPtg.js +1765 -0
- package/dist/vendor/twenty-ui/emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs +44 -0
- package/dist/vendor/twenty-ui/feedback/index.d.ts +6 -0
- package/dist/vendor/twenty-ui/feedback/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/loader/components/Loader.d.ts +8 -0
- package/dist/vendor/twenty-ui/feedback/loader/components/Loader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/CircularProgressBar.d.ts +8 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/CircularProgressBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/ProgressBar.d.ts +14 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/ProgressBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/hooks/useProgressAnimation.d.ts +13 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/hooks/useProgressAnimation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback.cjs +1 -0
- package/dist/vendor/twenty-ui/feedback.mjs +124 -0
- package/dist/vendor/twenty-ui/getDisplayValueByUrlType-BMzTxZmB.cjs +1 -0
- package/dist/vendor/twenty-ui/getDisplayValueByUrlType-BqPVhhu2.js +20 -0
- package/dist/vendor/twenty-ui/index.cjs +1 -0
- package/dist/vendor/twenty-ui/index.d.ts +3 -0
- package/dist/vendor/twenty-ui/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/index.mjs +4 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedButton.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedLightIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedLightIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/Button.d.ts +32 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/Button.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/constant.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/constant.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonHotKeys.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonHotKeys.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonIcon.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonIcon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonSoon.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonSoon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonText.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/ButtonGroup.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/ButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/ColorPickerButton.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/ColorPickerButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButton.d.ts +18 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButtonGroup.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButtonGroup.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButton.d.ts +23 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButtonGroup.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/InsideButton.d.ts +11 -0
- package/dist/vendor/twenty-ui/input/button/components/InsideButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightButton.d.ts +17 -0
- package/dist/vendor/twenty-ui/input/button/components/LightButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButtonGroup.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/MainButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/MainButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/RoundedIconButton.d.ts +8 -0
- package/dist/vendor/twenty-ui/input/button/components/RoundedIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/TabButton.d.ts +21 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/TabButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/StyledTabBase.d.ts +22 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/StyledTabBase.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/TabContent.d.ts +17 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/TabContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditor.d.ts +14 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditorHeader.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditorHeader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/constants/BaseCodeEditorThemeId.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/code-editor/constants/BaseCodeEditorThemeId.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/input/code-editor/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemeCard.d.ts +15 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemeCard.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemePicker.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemePicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/CardPicker.d.ts +10 -0
- package/dist/vendor/twenty-ui/input/components/CardPicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Checkbox.d.ts +34 -0
- package/dist/vendor/twenty-ui/input/components/Checkbox.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/IconListViewGrip.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/components/IconListViewGrip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Radio.d.ts +33 -0
- package/dist/vendor/twenty-ui/input/components/Radio.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/RadioGroup.d.ts +10 -0
- package/dist/vendor/twenty-ui/input/components/RadioGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/SearchInput.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/components/SearchInput.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Toggle.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/components/Toggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/index.d.ts +59 -0
- package/dist/vendor/twenty-ui/input/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/types/ColorScheme.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/types/ColorScheme.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/types/SelectOption.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/types/SelectOption.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input.cjs +179 -0
- package/dist/vendor/twenty-ui/input.mjs +1247 -0
- package/dist/vendor/twenty-ui/isValidCountryCode-Dyji5s5r-B7O5eJvP.js +10526 -0
- package/dist/vendor/twenty-ui/isValidCountryCode-Dyji5s5r-MH68p3NE.cjs +25 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonArrayNode.d.ts +11 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonArrayNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNestedNode.d.ts +19 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNestedNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNode.d.ts +9 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonObjectNode.d.ts +11 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonObjectNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTree.d.ts +16 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTree.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTreeContextProvider.d.ts +7 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTreeContextProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonValueNode.d.ts +16 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonValueNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonArrow.d.ts +6 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonArrow.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonList.d.ts +8 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonList.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonListItem.d.ts +6 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonListItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeLabel.d.ts +9 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeLabel.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeValue.d.ts +7 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeValue.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/contexts/JsonTreeContext.d.ts +18 -0
- package/dist/vendor/twenty-ui/json-visualizer/contexts/JsonTreeContext.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-ui/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/index.d.ts +15 -0
- package/dist/vendor/twenty-ui/json-visualizer/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/GetJsonNodeHighlighting.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/GetJsonNodeHighlighting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/JsonNodeHighlighting.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/JsonNodeHighlighting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isArray.d.ts +2 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isArray.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isTwoFirstDepths.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isTwoFirstDepths.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer.cjs +7 -0
- package/dist/vendor/twenty-ui/json-visualizer.mjs +271 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts +17 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDimension.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDimension.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurationObject.d.ts +5 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurationObject.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurations.d.ts +4 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurations.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationMode.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationMode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationSize.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getCommonStyles.d.ts +16 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getCommonStyles.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts +45 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getTransitionValues.d.ts +15 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getTransitionValues.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts +10 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts +31 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts +21 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/Background.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/Background.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkBackground.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkBackground.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkMovingImage.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkMovingImage.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/MovingImage.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/MovingImage.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/index.d.ts +8 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/Card.d.ts +9 -0
- package/dist/vendor/twenty-ui/layout/card/components/Card.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardContent.d.ts +7 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardFooter.d.ts +8 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardFooter.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardHeader.d.ts +6 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardHeader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/index.d.ts +23 -0
- package/dist/vendor/twenty-ui/layout/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/section/components/Section.d.ts +21 -0
- package/dist/vendor/twenty-ui/layout/section/components/Section.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout.cjs +6 -0
- package/dist/vendor/twenty-ui/layout.mjs +266 -0
- package/dist/vendor/twenty-ui/navigation/index.d.ts +43 -0
- package/dist/vendor/twenty-ui/navigation/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/AdvancedSettingsToggle.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/link/components/AdvancedSettingsToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ClickToActionLink.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ClickToActionLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ContactLink.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ContactLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/GithubVersionLink.d.ts +6 -0
- package/dist/vendor/twenty-ui/navigation/link/components/GithubVersionLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RawLink.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RawLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RoundedLink.d.ts +9 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RoundedLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/SocialLink.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/link/components/SocialLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/UndecoratedLink.d.ts +12 -0
- package/dist/vendor/twenty-ui/navigation/link/components/UndecoratedLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/index.d.ts +9 -0
- package/dist/vendor/twenty-ui/navigation/link/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/Cal.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/Cal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/GithubLink.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/GithubLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/TwentyPricingLink.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/TwentyPricingLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/navigation/link/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/MenuPicker.d.ts +18 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/MenuPicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/index.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/index.d.ts +3 -0
- package/dist/vendor/twenty-ui/navigation/menu/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItem.d.ts +41 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemAvatar.d.ts +22 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemDraggable.d.ts +21 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemDraggable.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts +6 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts +14 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts +15 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemNavigate.d.ts +11 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemNavigate.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelect.d.ts +29 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelect.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts +13 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemToggle.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/index.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/index.d.ts +5 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts +64 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/types/MenuItemAccent.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/types/MenuItemAccent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBar.d.ts +13 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBarItem.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBarItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/notification-counter/components/NotificationCounter.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/notification-counter/components/NotificationCounter.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation.cjs +42 -0
- package/dist/vendor/twenty-ui/navigation.mjs +887 -0
- package/dist/vendor/twenty-ui/style.css +1 -0
- package/dist/vendor/twenty-ui/testing/ComponentStorybookLayout.d.ts +9 -0
- package/dist/vendor/twenty-ui/testing/ComponentStorybookLayout.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/CatalogDecorator.d.ts +18 -0
- package/dist/vendor/twenty-ui/testing/decorators/CatalogDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentWithRouterDecorator.d.ts +11 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentWithRouterDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/RecoilRootDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/RecoilRootDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/RouterDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/RouterDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/index.d.ts +11 -0
- package/dist/vendor/twenty-ui/testing/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/mocks/avatarUrlMock.d.ts +2 -0
- package/dist/vendor/twenty-ui/testing/mocks/avatarUrlMock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/types/CatalogStory.d.ts +18 -0
- package/dist/vendor/twenty-ui/testing/types/CatalogStory.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing.cjs +3 -0
- package/dist/vendor/twenty-ui/testing.mjs +156 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentDark.d.ts +21 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentLight.d.ts +21 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Animation.d.ts +10 -0
- package/dist/vendor/twenty-ui/theme/constants/Animation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundDark.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundLight.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurDark.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurLight.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderCommon.d.ts +12 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderDark.d.ts +22 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderLight.d.ts +22 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowDark.d.ts +8 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowLight.d.ts +8 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeDark.d.ts +13 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeLight.d.ts +13 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsDark.d.ts +750 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsLight.d.ts +750 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontCommon.d.ts +18 -0
- package/dist/vendor/twenty-ui/theme/constants/FontCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontDark.d.ts +27 -0
- package/dist/vendor/twenty-ui/theme/constants/FontDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontLight.d.ts +27 -0
- package/dist/vendor/twenty-ui/theme/constants/FontLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDark.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDarkAlpha.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDarkAlpha.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLight.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLightAlpha.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLightAlpha.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/HoverBackground.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/HoverBackground.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Icon.d.ts +14 -0
- package/dist/vendor/twenty-ui/theme/constants/Icon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconDark.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconLight.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorNames.d.ts +5 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorNames.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsDark.d.ts +28 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsLight.d.ts +28 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MobileViewport.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/MobileViewport.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Modal.d.ts +9 -0
- package/dist/vendor/twenty-ui/theme/constants/Modal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Rgba.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/Rgba.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsDark.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsLight.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarDark.d.ts +23 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarLight.d.ts +23 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TagDark.d.ts +67 -0
- package/dist/vendor/twenty-ui/theme/constants/TagDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TagLight.d.ts +67 -0
- package/dist/vendor/twenty-ui/theme/constants/TagLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Text.d.ts +12 -0
- package/dist/vendor/twenty-ui/theme/constants/Text.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TextInputStyle.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/TextInputStyle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeCommon.d.ts +57 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeDark.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeLight.d.ts +1039 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsDark.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsLight.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/index.d.ts +54 -0
- package/dist/vendor/twenty-ui/theme/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeContextProvider.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeContextProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeProvider.d.ts +10 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/types/ThemeType.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/types/ThemeType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/utils/getNextThemeColor.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/utils/getNextThemeColor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/utils/themeColorSchema.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/utils/themeColorSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme.cjs +1 -0
- package/dist/vendor/twenty-ui/theme.mjs +1223 -0
- package/dist/vendor/twenty-ui/themeColorSchema-CgAr-Bzv.js +6 -0
- package/dist/vendor/twenty-ui/themeColorSchema-DSPsU2O5.cjs +1 -0
- package/dist/vendor/twenty-ui/useIsMobile-DqVdogVd.js +13 -0
- package/dist/vendor/twenty-ui/useIsMobile-p7nY1Vab.cjs +1 -0
- package/dist/vendor/twenty-ui/useMouseDownNavigation-C_8Q5KFZ.cjs +1 -0
- package/dist/vendor/twenty-ui/useMouseDownNavigation-qpLZC7wJ.js +29 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedCircleLoading.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedCircleLoading.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedContainer.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedContainer.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseIn.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseIn.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseInOut.d.ts +13 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseInOut.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedFadeOut.d.ts +12 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedFadeOut.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedRotate.d.ts +10 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedRotate.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTextWord.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTextWord.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTranslation.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTranslation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/index.d.ts +8 -0
- package/dist/vendor/twenty-ui/utilities/animation/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/stringToThemeColorP3String.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/stringToThemeColorP3String.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/config.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/config.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsControlSymbol.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsControlSymbol.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsShortcutSeparator.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsShortcutSeparator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getUserDevice.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getUserDevice.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/dimensions/components/AutogrowWrapper.d.ts +10 -0
- package/dist/vendor/twenty-ui/utilities/dimensions/components/AutogrowWrapper.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/index.d.ts +26 -0
- package/dist/vendor/twenty-ui/utilities/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useMouseDownNavigation.d.ts +17 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useMouseDownNavigation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useResetLocationHash.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useResetLocationHash.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/isNavigationModifierPressed.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/navigation/isNavigationModifierPressed.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/types/trigger-event.type.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/navigation/types/trigger-event.type.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/responsive/hooks/useIsMobile.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/responsive/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/screen-size/hooks/useScreenSize.d.ts +5 -0
- package/dist/vendor/twenty-ui/utilities/screen-size/hooks/useScreenSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/state/utils/createState.d.ts +8 -0
- package/dist/vendor/twenty-ui/utilities/state/utils/createState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/types/ClickOutsideAttributes.d.ts +5 -0
- package/dist/vendor/twenty-ui/utilities/types/ClickOutsideAttributes.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/types/Nullable.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/types/Nullable.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/utils/getDisplayValueByUrlType.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/utils/getDisplayValueByUrlType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities.cjs +1 -0
- package/dist/vendor/twenty-ui/utilities.mjs +275 -0
- package/dist/vendor/twenty-ui/visibility-hidden-00WyuQUL.cjs +1 -0
- package/dist/vendor/twenty-ui/visibility-hidden-DANnDHvJ.js +5 -0
- package/package.json +6 -3
- package/dist/types-Bg4PAegr.js +0 -1
- package/dist/types-DVJsIqkp.mjs +0 -7
|
@@ -0,0 +1,1247 @@
|
|
|
1
|
+
import { j as b, a as i, F as N } from "./emotion-react-jsx-runtime.browser.esm-BUNawPtg.js";
|
|
2
|
+
import { useTheme as k, css as p } from "@emotion/react";
|
|
3
|
+
import d from "@emotion/styled";
|
|
4
|
+
import { u as tr, g as ar } from "./useIsMobile-DqVdogVd.js";
|
|
5
|
+
import { motion as E, useAnimation as er, AnimatePresence as q } from "framer-motion";
|
|
6
|
+
import { Link as _ } from "react-router-dom";
|
|
7
|
+
import { P as Q } from "./Pill-C3ErQi9y.js";
|
|
8
|
+
import { C as V } from "./Button-BChGSHVB.js";
|
|
9
|
+
import { B as Zo, b as rn } from "./Button-BChGSHVB.js";
|
|
10
|
+
import * as L from "react";
|
|
11
|
+
import S, { useContext as ir, useState as T } from "react";
|
|
12
|
+
import { T as w } from "./isValidCountryCode-Dyji5s5r-B7O5eJvP.js";
|
|
13
|
+
import "@sniptt/guards";
|
|
14
|
+
import { S as cr } from "./ColorSample-Bp-he5lO.js";
|
|
15
|
+
import { L as dr } from "./Toggle-Bd3-khQW.js";
|
|
16
|
+
import { e as nn, d as tn, b as an, c as en, C as cn, a as dn, T as sn } from "./Toggle-Bd3-khQW.js";
|
|
17
|
+
import X from "@emotion/is-prop-valid";
|
|
18
|
+
import { G as $ } from "./MainColorsLight-x_vjLhiq.js";
|
|
19
|
+
import { A as sr } from "./Avatar-Cg4dvBA_.js";
|
|
20
|
+
import { T as lr, G as z } from "./ThemeContextProvider-DRVSWXAb.js";
|
|
21
|
+
import ur from "@monaco-editor/react";
|
|
22
|
+
import { L as pr } from "./Loader-BmJ693nz.js";
|
|
23
|
+
import { M as gr } from "./MobileViewport-CDXq37n6.js";
|
|
24
|
+
import { IconSearch as br, IconFilter as fr } from "@tabler/icons-react";
|
|
25
|
+
const yr = /* @__PURE__ */ d("button", {
|
|
26
|
+
target: "e3gw90y0"
|
|
27
|
+
})("align-items:center;", ({ theme: r, variant: o, inverted: n, accent: a, disabled: t, focus: e }) => {
|
|
28
|
+
switch (o) {
|
|
29
|
+
case "primary":
|
|
30
|
+
switch (a) {
|
|
31
|
+
case "default":
|
|
32
|
+
return p`
|
|
33
|
+
background: ${n ? r.background.primary : r.background.secondary};
|
|
34
|
+
border-color: ${n ? r.background.transparent.light : !t && e ? r.color.blue : r.background.transparent.light};
|
|
35
|
+
border-width: 1px 1px 1px 1px !important;
|
|
36
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.accent.tertiary}` : "none"};
|
|
37
|
+
color: ${n ? r.font.color.secondary : t ? r.font.color.extraLight : r.font.color.secondary};
|
|
38
|
+
&:hover {
|
|
39
|
+
background: ${n ? r.background.secondary : r.background.tertiary};
|
|
40
|
+
}
|
|
41
|
+
&:active {
|
|
42
|
+
background: ${n ? r.background.tertiary : r.background.quaternary};
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
case "blue":
|
|
46
|
+
return p`
|
|
47
|
+
background: ${n ? r.background.primary : r.color.blue};
|
|
48
|
+
border-color: ${n ? r.background.transparent.light : e ? r.color.blue : r.background.transparent.light};
|
|
49
|
+
border-width: 1px 1px 1px 1px !important;
|
|
50
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.accent.tertiary}` : "none"};
|
|
51
|
+
color: ${n ? r.color.blue : r.grayScale.gray1};
|
|
52
|
+
${t ? "" : p`
|
|
53
|
+
&:hover {
|
|
54
|
+
background: ${n ? r.background.secondary : r.color.blue10};
|
|
55
|
+
}
|
|
56
|
+
&:active {
|
|
57
|
+
background: ${n ? r.background.tertiary : r.color.blue12};
|
|
58
|
+
}
|
|
59
|
+
`}
|
|
60
|
+
`;
|
|
61
|
+
case "danger":
|
|
62
|
+
return p`
|
|
63
|
+
background: ${n ? r.background.primary : r.color.red};
|
|
64
|
+
border-color: ${n ? r.background.transparent.light : e ? r.color.red : r.background.transparent.light};
|
|
65
|
+
border-width: 1px 1px !important;
|
|
66
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.color.red3}` : "none"};
|
|
67
|
+
color: ${n ? r.color.red : r.background.primary};
|
|
68
|
+
${t ? "" : p`
|
|
69
|
+
&:hover {
|
|
70
|
+
background: ${n ? r.background.secondary : r.color.red8};
|
|
71
|
+
}
|
|
72
|
+
&:active {
|
|
73
|
+
background: ${n ? r.background.tertiary : r.color.red10};
|
|
74
|
+
}
|
|
75
|
+
`}
|
|
76
|
+
`;
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
case "secondary":
|
|
80
|
+
case "tertiary":
|
|
81
|
+
switch (a) {
|
|
82
|
+
case "default":
|
|
83
|
+
return p`
|
|
84
|
+
background: transparent;
|
|
85
|
+
border-color: ${n ? o === "secondary" ? e || t ? r.grayScale.gray1 : r.background.transparent.primary : e ? r.grayScale.gray1 : "transparent" : o === "secondary" ? !t && e ? r.color.blue : r.background.transparent.medium : e ? r.color.blue : "transparent"};
|
|
86
|
+
border-width: 1px 1px 1px 1px !important;
|
|
87
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.accent.tertiary}` : "none"};
|
|
88
|
+
color: ${n ? r.font.color.inverted : t ? r.font.color.extraLight : r.font.color.secondary};
|
|
89
|
+
&:hover {
|
|
90
|
+
background: ${n ? r.background.transparent.light : t ? "transparent" : r.background.transparent.light};
|
|
91
|
+
}
|
|
92
|
+
&:active {
|
|
93
|
+
background: ${n ? r.background.transparent.medium : t ? "transparent" : r.background.transparent.light};
|
|
94
|
+
}
|
|
95
|
+
`;
|
|
96
|
+
case "blue":
|
|
97
|
+
return p`
|
|
98
|
+
background: transparent;
|
|
99
|
+
border-color: ${n ? o === "secondary" ? e || t ? r.grayScale.gray1 : r.background.transparent.primary : e ? r.grayScale.gray1 : "transparent" : o === "secondary" ? e ? r.color.blue : r.accent.primary : e ? r.color.blue : "transparent"};
|
|
100
|
+
border-width: 1px 1px 1px 1px !important;
|
|
101
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.accent.tertiary}` : "none"};
|
|
102
|
+
color: ${n ? r.font.color.inverted : t ? r.accent.accent4060 : r.color.blue};
|
|
103
|
+
&:hover {
|
|
104
|
+
background: ${n ? r.background.transparent.light : t ? "transparent" : r.accent.tertiary};
|
|
105
|
+
}
|
|
106
|
+
&:active {
|
|
107
|
+
background: ${n ? r.background.transparent.medium : t ? "transparent" : r.accent.secondary};
|
|
108
|
+
}
|
|
109
|
+
`;
|
|
110
|
+
case "danger":
|
|
111
|
+
return p`
|
|
112
|
+
background: transparent;
|
|
113
|
+
border-color: ${n ? o === "secondary" ? e || t ? r.grayScale.gray1 : r.background.transparent.primary : e ? r.grayScale.gray1 : "transparent" : o === "secondary" ? e ? r.color.red : r.border.color.danger : e ? r.color.red : "transparent"};
|
|
114
|
+
border-width: 1px 1px 1px 1px !important;
|
|
115
|
+
box-shadow: ${!t && e ? `0 0 0 3px ${n ? r.background.transparent.medium : r.color.red3}` : "none"};
|
|
116
|
+
color: ${n ? r.font.color.inverted : r.font.color.danger};
|
|
117
|
+
&:hover {
|
|
118
|
+
background: ${n ? r.background.transparent.light : t ? "transparent" : r.background.danger};
|
|
119
|
+
}
|
|
120
|
+
&:active {
|
|
121
|
+
background: ${n ? r.background.transparent.medium : t ? "transparent" : r.background.danger};
|
|
122
|
+
}
|
|
123
|
+
`;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}, " text-decoration:none;border-radius:", ({ position: r, theme: o }) => {
|
|
127
|
+
switch (r) {
|
|
128
|
+
case "left":
|
|
129
|
+
return `${o.border.radius.sm} 0px 0px ${o.border.radius.sm}`;
|
|
130
|
+
case "right":
|
|
131
|
+
return `0px ${o.border.radius.sm} ${o.border.radius.sm} 0px`;
|
|
132
|
+
case "middle":
|
|
133
|
+
return "0px";
|
|
134
|
+
case "standalone":
|
|
135
|
+
return o.border.radius.sm;
|
|
136
|
+
}
|
|
137
|
+
}, ";border-style:solid;border-width:", ({ variant: r, position: o }) => {
|
|
138
|
+
switch (r) {
|
|
139
|
+
case "primary":
|
|
140
|
+
case "secondary":
|
|
141
|
+
return o === "middle" ? "1px 0px" : "1px";
|
|
142
|
+
case "tertiary":
|
|
143
|
+
return "0";
|
|
144
|
+
}
|
|
145
|
+
}, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:500;font-size:", ({ theme: r }) => r.font.size.md, ";gap:", ({ theme: r }) => r.spacing(1), ";height:", ({ size: r }) => r === "small" ? "24px" : "32px", ";justify-content:", ({ justify: r }) => r, ";padding:", ({ theme: r }) => `0 ${r.spacing(2)}`, ";transition:background 0.1s ease;white-space:nowrap;width:", ({ fullWidth: r }) => r ? "100%" : "auto", ";&:focus{outline:none;}"), xr = /* @__PURE__ */ d(Q, {
|
|
146
|
+
target: "e3gw90y1"
|
|
147
|
+
})("margin-left:auto;"), kr = /* @__PURE__ */ d("div", {
|
|
148
|
+
target: "e3gw90y2"
|
|
149
|
+
})("background:", ({ theme: r, accent: o }) => {
|
|
150
|
+
switch (o) {
|
|
151
|
+
case "blue":
|
|
152
|
+
return r.border.color.blue;
|
|
153
|
+
case "danger":
|
|
154
|
+
return r.border.color.danger;
|
|
155
|
+
default:
|
|
156
|
+
return r.font.color.light;
|
|
157
|
+
}
|
|
158
|
+
}, ";height:", ({ theme: r, buttonSize: o }) => r.spacing(o === "small" ? 2 : 4), ";margin:0;width:1px;"), hr = /* @__PURE__ */ d("div", {
|
|
159
|
+
target: "e3gw90y3"
|
|
160
|
+
})("color:", ({ theme: r, variant: o, accent: n }) => {
|
|
161
|
+
switch (n) {
|
|
162
|
+
case "blue":
|
|
163
|
+
return r.border.color.blue;
|
|
164
|
+
case "danger":
|
|
165
|
+
return o === "primary" ? r.border.color.danger : r.color.red8;
|
|
166
|
+
default:
|
|
167
|
+
return r.font.color.light;
|
|
168
|
+
}
|
|
169
|
+
}, ";font-weight:", ({ theme: r }) => r.font.weight.medium, ";"), O = /* @__PURE__ */ d(E.div, {
|
|
170
|
+
target: "e3gw90y4"
|
|
171
|
+
})("display:flex;align-items:center;justify-content:center;"), Io = ({ className: r, Icon: o, animatedSvg: n, title: a, fullWidth: t = !1, variant: e = "primary", inverted: c = !1, size: s = "medium", accent: l = "default", position: u = "standalone", soon: g = !1, disabled: y = !1, justify: x = "flex-start", focus: v = !1, onClick: F, to: I, target: j, dataTestId: D, hotkeys: C, ariaLabel: H, animate: f, transition: h, dataClickOutsideId: B, dataGloballyPreventClickOutside: M, soonLabel: rr = "Soon" }) => {
|
|
172
|
+
const or = k(), nr = tr();
|
|
173
|
+
return /* @__PURE__ */ b(yr, {
|
|
174
|
+
as: I ? _ : "button",
|
|
175
|
+
fullWidth: t,
|
|
176
|
+
variant: e,
|
|
177
|
+
inverted: c,
|
|
178
|
+
size: s,
|
|
179
|
+
position: u,
|
|
180
|
+
disabled: g || y,
|
|
181
|
+
focus: v,
|
|
182
|
+
justify: x,
|
|
183
|
+
accent: l,
|
|
184
|
+
className: r,
|
|
185
|
+
onClick: F,
|
|
186
|
+
to: I,
|
|
187
|
+
target: j,
|
|
188
|
+
"data-testid": D,
|
|
189
|
+
"aria-label": H,
|
|
190
|
+
"data-click-outside-id": B,
|
|
191
|
+
"data-globally-prevent-click-outside": M,
|
|
192
|
+
children: [
|
|
193
|
+
o && /* @__PURE__ */ i(O, {
|
|
194
|
+
animate: f,
|
|
195
|
+
transition: h,
|
|
196
|
+
children: /* @__PURE__ */ i(o, {
|
|
197
|
+
size: or.icon.size.sm
|
|
198
|
+
})
|
|
199
|
+
}),
|
|
200
|
+
n && /* @__PURE__ */ i(O, {
|
|
201
|
+
animate: f,
|
|
202
|
+
transition: h,
|
|
203
|
+
children: n
|
|
204
|
+
}),
|
|
205
|
+
a,
|
|
206
|
+
C && !nr && /* @__PURE__ */ b(N, {
|
|
207
|
+
children: [
|
|
208
|
+
/* @__PURE__ */ i(kr, {
|
|
209
|
+
buttonSize: s,
|
|
210
|
+
accent: l
|
|
211
|
+
}),
|
|
212
|
+
/* @__PURE__ */ i(hr, {
|
|
213
|
+
variant: e,
|
|
214
|
+
accent: l,
|
|
215
|
+
children: C.join(ar())
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
}),
|
|
219
|
+
g && /* @__PURE__ */ i(xr, {
|
|
220
|
+
label: rr
|
|
221
|
+
})
|
|
222
|
+
]
|
|
223
|
+
});
|
|
224
|
+
}, mr = /* @__PURE__ */ d("button", {
|
|
225
|
+
target: "e198cdmp0"
|
|
226
|
+
})("align-items:center;background:transparent;border:none;border:", ({ disabled: r, theme: o, focus: n }) => !r && n ? `1px solid ${o.color.blue}` : "none", ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";box-shadow:", ({ disabled: r, theme: o, focus: n }) => !r && n ? `0 0 0 3px ${o.color.blue3}` : "none", ";color:", ({ theme: r, accent: o, active: n, disabled: a, focus: t }) => {
|
|
227
|
+
switch (o) {
|
|
228
|
+
case "secondary":
|
|
229
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.secondary;
|
|
230
|
+
case "tertiary":
|
|
231
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.tertiary;
|
|
232
|
+
}
|
|
233
|
+
}, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";gap:", ({ theme: r }) => r.spacing(1), ";height:", ({ size: r }) => r === "small" ? "24px" : "32px", ";justify-content:center;padding:", ({ theme: r }) => r.spacing(1), ";transition:background 0.1s ease;white-space:nowrap;width:", ({ size: r }) => r === "small" ? "24px" : "32px", ";min-width:", ({ size: r }) => r === "small" ? "24px" : "32px", ";&:hover{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.light, ";}&:focus{outline:none;}&:active{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.medium, ";}"), wr = /* @__PURE__ */ d(E.div, {
|
|
234
|
+
target: "e198cdmp1"
|
|
235
|
+
})("display:flex;align-items:center;justify-content:center;"), Do = ({ "aria-label": r, className: o, testId: n, animate: a, transition: t, Icon: e, active: c = !1, size: s = "small", accent: l = "secondary", disabled: u = !1, focus: g = !1, onClick: y, title: x }) => {
|
|
236
|
+
const v = k();
|
|
237
|
+
return /* @__PURE__ */ i(mr, {
|
|
238
|
+
"data-testid": n,
|
|
239
|
+
"aria-label": r,
|
|
240
|
+
onClick: y,
|
|
241
|
+
disabled: u,
|
|
242
|
+
focus: g && !u,
|
|
243
|
+
accent: l,
|
|
244
|
+
className: o,
|
|
245
|
+
size: s,
|
|
246
|
+
active: c,
|
|
247
|
+
title: x,
|
|
248
|
+
children: /* @__PURE__ */ i(wr, {
|
|
249
|
+
animate: a,
|
|
250
|
+
transition: t,
|
|
251
|
+
children: e && /* @__PURE__ */ i(e, {
|
|
252
|
+
size: s === "medium" ? v.icon.size.md : v.icon.size.sm
|
|
253
|
+
})
|
|
254
|
+
})
|
|
255
|
+
});
|
|
256
|
+
}, $r = /* @__PURE__ */ d("div", {
|
|
257
|
+
target: "evsziqm0"
|
|
258
|
+
})("border-radius:", ({ theme: r }) => r.border.radius.md, ";display:flex;"), Mo = ({ className: r, children: o, variant: n, size: a, accent: t }) => /* @__PURE__ */ i($r, {
|
|
259
|
+
className: r,
|
|
260
|
+
children: S.Children.map(o, (e, c) => {
|
|
261
|
+
if (!/* @__PURE__ */ S.isValidElement(e)) return null;
|
|
262
|
+
let s;
|
|
263
|
+
c === 0 ? s = "left" : c === o.length - 1 ? s = "right" : s = "middle";
|
|
264
|
+
const l = {
|
|
265
|
+
position: s,
|
|
266
|
+
variant: n,
|
|
267
|
+
accent: t,
|
|
268
|
+
size: a
|
|
269
|
+
};
|
|
270
|
+
return w(n) && (l.variant = n), w(t) && (l.variant = n), w(a) && (l.size = a), /* @__PURE__ */ S.cloneElement(e, l);
|
|
271
|
+
})
|
|
272
|
+
}), Sr = /* @__PURE__ */ d(dr, {
|
|
273
|
+
target: "e1ytphpf0"
|
|
274
|
+
})(({ isSelected: r, theme: o }) => r ? /* @__PURE__ */ p("background-color:", o.background.transparent.medium, ";&:hover{background-color:", o.background.transparent.medium, ";}") : ""), To = ({ colorName: r, isSelected: o, onClick: n }) => /* @__PURE__ */ i(Sr, {
|
|
275
|
+
size: "medium",
|
|
276
|
+
isSelected: o,
|
|
277
|
+
Icon: () => /* @__PURE__ */ i(cr, {
|
|
278
|
+
colorName: r
|
|
279
|
+
}),
|
|
280
|
+
onClick: n
|
|
281
|
+
}), vr = /* @__PURE__ */ d("button", {
|
|
282
|
+
shouldForwardProp: (r) => ![
|
|
283
|
+
"applyBlur",
|
|
284
|
+
"applyShadow",
|
|
285
|
+
"focus",
|
|
286
|
+
"position",
|
|
287
|
+
"size"
|
|
288
|
+
].includes(r) && X(r),
|
|
289
|
+
target: "e1l7wwhi0"
|
|
290
|
+
})("align-items:center;backdrop-filter:", ({ applyBlur: r }) => r ? "blur(20px)" : "none", ";background:", ({ theme: r }) => r.background.primary, ";border:", ({ focus: r, theme: o }) => r ? `1px solid ${o.color.blue}` : "none", ";border-radius:", ({ position: r, theme: o }) => {
|
|
291
|
+
switch (r) {
|
|
292
|
+
case "left":
|
|
293
|
+
return `${o.border.radius.sm} 0px 0px ${o.border.radius.sm}`;
|
|
294
|
+
case "right":
|
|
295
|
+
return `0px ${o.border.radius.sm} ${o.border.radius.sm} 0px`;
|
|
296
|
+
case "middle":
|
|
297
|
+
return "0px";
|
|
298
|
+
case "standalone":
|
|
299
|
+
return o.border.radius.sm;
|
|
300
|
+
}
|
|
301
|
+
}, ";box-shadow:", ({ theme: r, applyShadow: o, focus: n }) => o ? `0px 2px 4px 0px ${r.background.transparent.light}, 0px 0px 4px 0px ${r.background.transparent.medium}${n ? `,0 0 0 3px ${r.color.blue3}` : ""}` : n ? `0 0 0 3px ${r.color.blue3}` : "none", ";color:", ({ theme: r, disabled: o, focus: n }) => o ? r.font.color.extraLight : n ? r.color.blue : r.font.color.secondary, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";gap:", ({ theme: r }) => r.spacing(1), ";height:", ({ size: r }) => r === "small" ? "24px" : "32px", ";padding:", ({ theme: r }) => `0 ${r.spacing(2)}`, ";transition:background 0.1s ease;white-space:nowrap;&:hover{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.lighter, ";}&:active{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.medium, ";}&:focus{outline:none;}text-decoration:none;"), Fo = ({ className: r, Icon: o, title: n, size: a = "small", position: t = "standalone", applyBlur: e = !0, applyShadow: c = !0, disabled: s = !1, focus: l = !1, to: u }) => {
|
|
302
|
+
const g = k();
|
|
303
|
+
return /* @__PURE__ */ b(vr, {
|
|
304
|
+
disabled: s,
|
|
305
|
+
focus: l && !s,
|
|
306
|
+
size: a,
|
|
307
|
+
applyBlur: e,
|
|
308
|
+
applyShadow: c,
|
|
309
|
+
position: t,
|
|
310
|
+
className: r,
|
|
311
|
+
to: u,
|
|
312
|
+
as: u ? _ : "button",
|
|
313
|
+
children: [
|
|
314
|
+
o && /* @__PURE__ */ i(o, {
|
|
315
|
+
size: g.icon.size.sm
|
|
316
|
+
}),
|
|
317
|
+
n
|
|
318
|
+
]
|
|
319
|
+
});
|
|
320
|
+
}, zr = /* @__PURE__ */ d("div", {
|
|
321
|
+
target: "e1ayw1cr0"
|
|
322
|
+
})("backdrop-filter:blur(20px);border-radius:", ({ theme: r }) => r.border.radius.md, ";box-shadow:", ({ theme: r }) => `0px 2px 4px 0px ${r.background.transparent.light}, 0px 0px 4px 0px ${r.background.transparent.medium}`, ";display:inline-flex;"), jo = ({ children: r, size: o, className: n }) => /* @__PURE__ */ i(zr, {
|
|
323
|
+
className: n,
|
|
324
|
+
children: S.Children.map(r, (a, t) => {
|
|
325
|
+
let e;
|
|
326
|
+
t === 0 ? e = "left" : t === r.length - 1 ? e = "right" : e = "middle";
|
|
327
|
+
const c = {
|
|
328
|
+
position: e,
|
|
329
|
+
size: o,
|
|
330
|
+
applyShadow: !1,
|
|
331
|
+
applyBlur: !1
|
|
332
|
+
};
|
|
333
|
+
return w(o) && (c.size = o), /* @__PURE__ */ S.cloneElement(a, c);
|
|
334
|
+
})
|
|
335
|
+
}), Cr = (r) => ![
|
|
336
|
+
"applyBlur",
|
|
337
|
+
"applyShadow",
|
|
338
|
+
"isActive",
|
|
339
|
+
"focus",
|
|
340
|
+
"position",
|
|
341
|
+
"size"
|
|
342
|
+
].includes(r), Br = /* @__PURE__ */ d("button", {
|
|
343
|
+
shouldForwardProp: Cr,
|
|
344
|
+
target: "e1xd25i80"
|
|
345
|
+
})("align-items:center;backdrop-filter:", ({ theme: r, applyBlur: o }) => o ? r.blur.medium : "none", ";background:", ({ theme: r, isActive: o }) => o ? r.background.transparent.medium : r.background.primary, ";border:", ({ focus: r, theme: o }) => r ? `1px solid ${o.color.blue}` : `1px solid ${o.border.color.strong}`, ";border-radius:", ({ position: r, theme: o }) => {
|
|
346
|
+
switch (r) {
|
|
347
|
+
case "left":
|
|
348
|
+
return `${o.border.radius.sm} 0px 0px ${o.border.radius.sm}`;
|
|
349
|
+
case "right":
|
|
350
|
+
return `0px ${o.border.radius.sm} ${o.border.radius.sm} 0px`;
|
|
351
|
+
case "middle":
|
|
352
|
+
return "0px";
|
|
353
|
+
case "standalone":
|
|
354
|
+
return o.border.radius.sm;
|
|
355
|
+
}
|
|
356
|
+
}, ";box-shadow:", ({ theme: r, applyShadow: o, focus: n }) => o ? r.boxShadow.light : n ? `0 0 0 3px ${r.color.blue3}` : "none", ";box-sizing:border-box;color:", ({ theme: r, disabled: o, focus: n }) => o ? r.font.color.extraLight : n ? r.color.blue : r.font.color.tertiary, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";gap:", ({ theme: r }) => r.spacing(1), ";justify-content:center;padding:0;position:relative;transition:background ", ({ theme: r }) => r.animation.duration.instant, `s
|
|
357
|
+
ease;white-space:nowrap;`, ({ position: r, size: o }) => {
|
|
358
|
+
const n = (o === "small" ? 24 : 32) - (r === "standalone" ? 0 : 4);
|
|
359
|
+
return `
|
|
360
|
+
height: ${n}px;
|
|
361
|
+
width: ${n}px;
|
|
362
|
+
`;
|
|
363
|
+
}, " ", ({ theme: r, disabled: o }) => !o && /* @__PURE__ */ p("&:hover{background:", r.background.transparent.lighter, ";}"), " &:active{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.medium, ";}&:focus{outline:none;}"), Lr = ({ className: r, Icon: o, size: n = "small", position: a = "standalone", applyShadow: t = !0, applyBlur: e = !0, disabled: c = !1, focus: s = !1, onClick: l, isActive: u }) => {
|
|
364
|
+
const g = k();
|
|
365
|
+
return /* @__PURE__ */ i(Br, {
|
|
366
|
+
disabled: c,
|
|
367
|
+
focus: s && !c,
|
|
368
|
+
size: n,
|
|
369
|
+
applyShadow: t,
|
|
370
|
+
applyBlur: e,
|
|
371
|
+
className: r,
|
|
372
|
+
position: a,
|
|
373
|
+
onClick: l,
|
|
374
|
+
isActive: u,
|
|
375
|
+
children: o && /* @__PURE__ */ i(o, {
|
|
376
|
+
size: g.icon.size.md
|
|
377
|
+
})
|
|
378
|
+
});
|
|
379
|
+
}, Er = /* @__PURE__ */ d("div", {
|
|
380
|
+
target: "e1y10e6t0"
|
|
381
|
+
})("backdrop-filter:blur(20px);background-color:", ({ theme: r }) => r.background.primary, ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";box-shadow:", ({ theme: r }) => `0px 2px 4px 0px ${r.background.transparent.light}, 0px 0px 4px 0px ${r.background.transparent.medium}`, ";display:inline-flex;gap:2px;padding:2px;"), Go = ({ iconButtons: r, size: o, className: n }) => /* @__PURE__ */ i(Er, {
|
|
382
|
+
className: n,
|
|
383
|
+
children: r.map(({ Icon: a, onClick: t, isActive: e }, c) => {
|
|
384
|
+
const s = r.length === 1 ? "standalone" : c === 0 ? "left" : c === r.length - 1 ? "right" : "middle";
|
|
385
|
+
return /* @__PURE__ */ i(Lr, {
|
|
386
|
+
applyBlur: !1,
|
|
387
|
+
applyShadow: !1,
|
|
388
|
+
Icon: a,
|
|
389
|
+
onClick: t,
|
|
390
|
+
position: s,
|
|
391
|
+
size: o,
|
|
392
|
+
isActive: e
|
|
393
|
+
}, `floating-icon-button-${c}`);
|
|
394
|
+
})
|
|
395
|
+
}), Ir = /* @__PURE__ */ d("button", {
|
|
396
|
+
target: "e10ufusy0"
|
|
397
|
+
})("align-items:center;", ({ theme: r, variant: o, accent: n, disabled: a, focus: t }) => {
|
|
398
|
+
switch (o) {
|
|
399
|
+
case "primary":
|
|
400
|
+
switch (n) {
|
|
401
|
+
case "default":
|
|
402
|
+
return p`
|
|
403
|
+
background: ${r.background.secondary};
|
|
404
|
+
border-color: ${t ? r.color.blue : r.background.transparent.light};
|
|
405
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
406
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.accent.tertiary}` : "none"};
|
|
407
|
+
color: ${a ? r.font.color.extraLight : r.font.color.secondary};
|
|
408
|
+
&:hover {
|
|
409
|
+
background: ${a ? r.background.secondary : r.background.tertiary};
|
|
410
|
+
}
|
|
411
|
+
&:active {
|
|
412
|
+
background: ${a ? r.background.secondary : r.background.quaternary};
|
|
413
|
+
}
|
|
414
|
+
`;
|
|
415
|
+
case "blue":
|
|
416
|
+
return p`
|
|
417
|
+
background: ${r.color.blue};
|
|
418
|
+
border-color: ${a ? "transparent" : t ? r.color.blue : r.background.transparent.light};
|
|
419
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
420
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.accent.tertiary}` : "none"};
|
|
421
|
+
color: ${$.gray1};
|
|
422
|
+
opacity: ${a ? 0.24 : 1};
|
|
423
|
+
|
|
424
|
+
${a ? "" : p`
|
|
425
|
+
&:hover {
|
|
426
|
+
background: ${r.color.blue10};
|
|
427
|
+
}
|
|
428
|
+
&:active {
|
|
429
|
+
background: ${r.color.blue12};
|
|
430
|
+
}
|
|
431
|
+
`}
|
|
432
|
+
`;
|
|
433
|
+
case "danger":
|
|
434
|
+
return p`
|
|
435
|
+
background: ${r.color.red};
|
|
436
|
+
border-color: ${a ? "transparent" : t ? r.color.red : r.background.transparent.light};
|
|
437
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
438
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.color.red3}` : "none"};
|
|
439
|
+
color: ${$.gray1};
|
|
440
|
+
opacity: ${a ? 0.24 : 1};
|
|
441
|
+
|
|
442
|
+
${a ? "" : p`
|
|
443
|
+
&:hover,
|
|
444
|
+
&:active {
|
|
445
|
+
background: ${r.color.red10};
|
|
446
|
+
}
|
|
447
|
+
`}
|
|
448
|
+
`;
|
|
449
|
+
}
|
|
450
|
+
break;
|
|
451
|
+
case "secondary":
|
|
452
|
+
case "tertiary":
|
|
453
|
+
switch (n) {
|
|
454
|
+
case "default":
|
|
455
|
+
return p`
|
|
456
|
+
background: ${t ? r.background.transparent.primary : "transparent"};
|
|
457
|
+
border-color: ${o === "secondary" ? !a && t ? r.color.blue : r.background.transparent.medium : t ? r.color.blue : "transparent"};
|
|
458
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
459
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.accent.tertiary}` : "none"};
|
|
460
|
+
color: ${a ? r.font.color.extraLight : o === "secondary" ? r.font.color.secondary : r.font.color.tertiary};
|
|
461
|
+
&:hover {
|
|
462
|
+
background: ${a ? "transparent" : r.background.transparent.light};
|
|
463
|
+
}
|
|
464
|
+
&:active {
|
|
465
|
+
background: ${a ? "transparent" : r.background.transparent.light};
|
|
466
|
+
}
|
|
467
|
+
`;
|
|
468
|
+
case "blue":
|
|
469
|
+
return p`
|
|
470
|
+
background: ${t ? r.background.transparent.primary : "transparent"};
|
|
471
|
+
border-color: ${o === "secondary" ? a ? r.color.blue5 : r.color.blue : t ? r.color.blue : "transparent"};
|
|
472
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
473
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.accent.tertiary}` : "none"};
|
|
474
|
+
color: ${a ? r.accent.accent4060 : r.color.blue};
|
|
475
|
+
&:hover {
|
|
476
|
+
background: ${a ? "transparent" : r.accent.tertiary};
|
|
477
|
+
}
|
|
478
|
+
&:active {
|
|
479
|
+
background: ${a ? "transparent" : r.accent.secondary};
|
|
480
|
+
}
|
|
481
|
+
`;
|
|
482
|
+
case "danger":
|
|
483
|
+
return p`
|
|
484
|
+
background: transparent;
|
|
485
|
+
border-color: ${o === "secondary" ? r.border.color.danger : t ? r.color.red : "transparent"};
|
|
486
|
+
border-width: ${!a && t ? "1px 1px !important" : 0};
|
|
487
|
+
box-shadow: ${!a && t ? `0 0 0 3px ${r.color.red3}` : "none"};
|
|
488
|
+
color: ${a ? r.color.red5 : r.font.color.danger};
|
|
489
|
+
&:hover {
|
|
490
|
+
background: ${a ? "transparent" : r.background.danger};
|
|
491
|
+
}
|
|
492
|
+
&:active {
|
|
493
|
+
background: ${a ? "transparent" : r.background.danger};
|
|
494
|
+
}
|
|
495
|
+
`;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}, " border-radius:", ({ position: r, theme: o }) => {
|
|
499
|
+
switch (r) {
|
|
500
|
+
case "left":
|
|
501
|
+
return `${o.border.radius.sm} 0px 0px ${o.border.radius.sm}`;
|
|
502
|
+
case "right":
|
|
503
|
+
return `0px ${o.border.radius.sm} ${o.border.radius.sm} 0px`;
|
|
504
|
+
case "middle":
|
|
505
|
+
return "0px";
|
|
506
|
+
case "standalone":
|
|
507
|
+
return o.border.radius.sm;
|
|
508
|
+
}
|
|
509
|
+
}, ";border-style:solid;border-width:", ({ variant: r, position: o }) => {
|
|
510
|
+
switch (r) {
|
|
511
|
+
case "primary":
|
|
512
|
+
case "secondary":
|
|
513
|
+
return o === "middle" ? "1px 0px" : "1px";
|
|
514
|
+
case "tertiary":
|
|
515
|
+
return "0";
|
|
516
|
+
}
|
|
517
|
+
}, ";box-sizing:border-box;cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:500;gap:", ({ theme: r }) => r.spacing(1), ";height:", ({ size: r }) => r === "small" ? "24px" : "32px", ";justify-content:center;padding:0;transition:background 0.1s ease;white-space:nowrap;min-width:", ({ size: r }) => r === "small" ? "24px" : "32px", ";&:focus{outline:none;}"), Dr = ({ className: r, Icon: o, variant: n = "primary", size: a = "medium", accent: t = "default", position: e = "standalone", disabled: c = !1, focus: s = !1, dataTestId: l, ariaLabel: u, onClick: g, to: y }) => {
|
|
518
|
+
const x = k();
|
|
519
|
+
return /* @__PURE__ */ i(Ir, {
|
|
520
|
+
"data-testid": l,
|
|
521
|
+
variant: n,
|
|
522
|
+
size: a,
|
|
523
|
+
position: e,
|
|
524
|
+
disabled: c,
|
|
525
|
+
focus: s,
|
|
526
|
+
accent: t,
|
|
527
|
+
className: r,
|
|
528
|
+
onClick: g,
|
|
529
|
+
"aria-label": u,
|
|
530
|
+
to: y,
|
|
531
|
+
children: o && /* @__PURE__ */ i(o, {
|
|
532
|
+
size: x.icon.size.md
|
|
533
|
+
})
|
|
534
|
+
});
|
|
535
|
+
}, Mr = /* @__PURE__ */ d("button", {
|
|
536
|
+
target: "e13o9rlw0"
|
|
537
|
+
})("align-items:center;border:none;background-color:transparent;border-radius:", ({ theme: r }) => r.border.radius.xs, ";color:", ({ theme: r }) => r.font.color.tertiary, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;height:20px;justify-content:center;padding:0;white-space:nowrap;min-width:20px;transition:background-color 0.1s ease;&:hover{background-color:", ({ theme: r }) => r.background.transparent.light, ";}"), Tr = ({ className: r, Icon: o, onClick: n, disabled: a = !1 }) => {
|
|
538
|
+
const t = k();
|
|
539
|
+
return /* @__PURE__ */ i(Mr, {
|
|
540
|
+
className: r,
|
|
541
|
+
onClick: n,
|
|
542
|
+
disabled: a,
|
|
543
|
+
children: o && /* @__PURE__ */ i(o, {
|
|
544
|
+
size: t.icon.size.sm
|
|
545
|
+
})
|
|
546
|
+
});
|
|
547
|
+
}, Fr = /* @__PURE__ */ d("div", {
|
|
548
|
+
target: "e7ozop00"
|
|
549
|
+
})("display:inline-flex;align-items:flex-start;background-color:", ({ disabled: r, theme: o }) => r ? "inherit" : o.background.transparent.lighter, ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";border:1px solid ", ({ theme: r }) => r.border.color.strong, ";gap:2px;padding:2px;backdrop-filter:blur(20px);&:hover{box-shadow:", ({ theme: r }) => r.boxShadow.light, ";}"), Ro = ({ iconButtons: r, disabled: o, className: n }) => /* @__PURE__ */ i(Fr, {
|
|
550
|
+
className: n,
|
|
551
|
+
disabled: o,
|
|
552
|
+
children: r.map(({ Icon: a, onClick: t }, e) => /* @__PURE__ */ i(Tr, {
|
|
553
|
+
Icon: a,
|
|
554
|
+
onClick: t,
|
|
555
|
+
disabled: o
|
|
556
|
+
}, e))
|
|
557
|
+
}), jr = /* @__PURE__ */ d("button", {
|
|
558
|
+
target: "egtrlo00"
|
|
559
|
+
})("align-items:center;background:transparent;border:", ({ theme: r, focus: o }) => o ? `1px solid ${r.color.blue}` : "none", ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";box-shadow:", ({ theme: r, focus: o }) => o ? `0 0 0 3px ${r.color.blue3}` : "none", ";color:", ({ theme: r, accent: o, active: n, disabled: a, focus: t }) => {
|
|
560
|
+
switch (o) {
|
|
561
|
+
case "secondary":
|
|
562
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.secondary;
|
|
563
|
+
case "tertiary":
|
|
564
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.tertiary;
|
|
565
|
+
}
|
|
566
|
+
}, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";gap:", ({ theme: r }) => r.spacing(1), ";height:24px;padding:", ({ theme: r }) => `0 ${r.spacing(2)}`, ";transition:background 0.1s ease;white-space:nowrap;&:hover{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.light, ";}&:focus{outline:none;}&:active{background:", ({ theme: r, disabled: o }) => o ? "transparent" : r.background.transparent.medium, ";}"), Ao = ({ className: r, Icon: o, title: n, active: a = !1, accent: t = "secondary", disabled: e = !1, focus: c = !1, type: s = "button", onClick: l }) => {
|
|
567
|
+
const u = k();
|
|
568
|
+
return /* @__PURE__ */ b(jr, {
|
|
569
|
+
onClick: l,
|
|
570
|
+
disabled: e,
|
|
571
|
+
focus: c && !e,
|
|
572
|
+
type: s,
|
|
573
|
+
accent: t,
|
|
574
|
+
className: r,
|
|
575
|
+
active: a,
|
|
576
|
+
children: [
|
|
577
|
+
!!o && /* @__PURE__ */ i(o, {
|
|
578
|
+
size: u.icon.size.md
|
|
579
|
+
}),
|
|
580
|
+
n
|
|
581
|
+
]
|
|
582
|
+
});
|
|
583
|
+
}, Gr = /* @__PURE__ */ d("button", {
|
|
584
|
+
target: "e1lpzrnu0"
|
|
585
|
+
})("align-items:center;background:", ({ theme: r, variant: o, disabled: n }) => {
|
|
586
|
+
if (n === !0)
|
|
587
|
+
return r.background.secondary;
|
|
588
|
+
switch (o) {
|
|
589
|
+
case "primary":
|
|
590
|
+
return r.background.primaryInverted;
|
|
591
|
+
case "secondary":
|
|
592
|
+
return r.background.primary;
|
|
593
|
+
default:
|
|
594
|
+
return r.background.primary;
|
|
595
|
+
}
|
|
596
|
+
}, ";border:1px solid;border-color:", ({ theme: r, disabled: o, variant: n }) => {
|
|
597
|
+
if (o === !0)
|
|
598
|
+
return r.background.transparent.lighter;
|
|
599
|
+
switch (n) {
|
|
600
|
+
case "primary":
|
|
601
|
+
return r.background.transparent.strong;
|
|
602
|
+
case "secondary":
|
|
603
|
+
return r.border.color.medium;
|
|
604
|
+
default:
|
|
605
|
+
return r.background.primary;
|
|
606
|
+
}
|
|
607
|
+
}, ";border-radius:", ({ theme: r }) => r.border.radius.md, ";", ({ theme: r, disabled: o }) => o === !0 ? "" : `box-shadow: ${r.boxShadow.light};`, " color:", ({ theme: r, variant: o, disabled: n }) => {
|
|
608
|
+
if (n === !0)
|
|
609
|
+
return r.font.color.light;
|
|
610
|
+
switch (o) {
|
|
611
|
+
case "primary":
|
|
612
|
+
return r.font.color.inverted;
|
|
613
|
+
case "secondary":
|
|
614
|
+
return r.font.color.primary;
|
|
615
|
+
default:
|
|
616
|
+
return r.font.color.primary;
|
|
617
|
+
}
|
|
618
|
+
}, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.semiBold, ";gap:", ({ theme: r }) => r.spacing(2), ";justify-content:center;outline:none;padding:", ({ theme: r }) => r.spacing(2), " ", ({ theme: r }) => r.spacing(3), ";max-height:", ({ theme: r }) => r.spacing(8), ";width:", ({ fullWidth: r, width: o }) => r ? "100%" : o ? `${o}px` : "auto", ";", ({ theme: r, variant: o, disabled: n }) => {
|
|
619
|
+
switch (o) {
|
|
620
|
+
case "secondary":
|
|
621
|
+
return `
|
|
622
|
+
&:hover {
|
|
623
|
+
background: ${r.background.tertiary};
|
|
624
|
+
}
|
|
625
|
+
`;
|
|
626
|
+
default:
|
|
627
|
+
return `
|
|
628
|
+
&:hover {
|
|
629
|
+
background: ${n ? r.background.secondary : r.background.primaryInvertedHover};};
|
|
630
|
+
}
|
|
631
|
+
`;
|
|
632
|
+
}
|
|
633
|
+
}, ";"), Po = ({ Icon: r, title: o, width: n, fullWidth: a = !1, variant: t = "primary", type: e, onClick: c, disabled: s, className: l }) => {
|
|
634
|
+
const u = k();
|
|
635
|
+
return /* @__PURE__ */ b(Gr, {
|
|
636
|
+
className: l,
|
|
637
|
+
disabled: s,
|
|
638
|
+
fullWidth: a,
|
|
639
|
+
width: n,
|
|
640
|
+
onClick: c,
|
|
641
|
+
type: e,
|
|
642
|
+
variant: t,
|
|
643
|
+
children: [
|
|
644
|
+
r && /* @__PURE__ */ i(r, {
|
|
645
|
+
size: u.icon.size.sm
|
|
646
|
+
}),
|
|
647
|
+
o
|
|
648
|
+
]
|
|
649
|
+
});
|
|
650
|
+
}, Rr = /* @__PURE__ */ d("button", {
|
|
651
|
+
target: "e12oqdtw0"
|
|
652
|
+
})("align-items:center;background:", ({ theme: r }) => r.color.blue, ";border:none;border-radius:50%;color:", ({ theme: r }) => r.font.color.inverted, ";cursor:pointer;display:flex;height:20px;justify-content:center;outline:none;padding:0;transition:color 0.1s ease-in-out,background 0.1s ease-in-out;&:disabled{background:", ({ theme: r }) => r.background.quaternary, ";color:", ({ theme: r }) => r.font.color.tertiary, ";cursor:default;}width:20px;"), _o = ({ Icon: r, onClick: o, disabled: n, className: a }) => {
|
|
653
|
+
const t = k();
|
|
654
|
+
return /* @__PURE__ */ i(Rr, {
|
|
655
|
+
className: a,
|
|
656
|
+
disabled: n,
|
|
657
|
+
onClick: o,
|
|
658
|
+
children: /* @__PURE__ */ i(r, {
|
|
659
|
+
size: t.icon.size.md
|
|
660
|
+
})
|
|
661
|
+
});
|
|
662
|
+
}, Ar = /* @__PURE__ */ d("button", {
|
|
663
|
+
shouldForwardProp: (r) => X(r) && r !== "active",
|
|
664
|
+
target: "eevtqp20"
|
|
665
|
+
})("all:unset;align-items:center;color:", ({ theme: r, active: o, disabled: n }) => o ? r.font.color.primary : n ? r.font.color.light : r.font.color.secondary, ";cursor:pointer;background-color:transparent;border:none;font-family:inherit;display:flex;gap:", ({ theme: r }) => r.spacing(1), ";justify-content:center;pointer-events:", ({ disabled: r }) => r ? "none" : "", ";text-decoration:none;position:relative;&::after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background-color:", ({ theme: r, active: o }) => o ? r.border.color.inverted : "transparent", ";z-index:1;}"), Ho = /* @__PURE__ */ d("div", {
|
|
666
|
+
target: "eevtqp21"
|
|
667
|
+
})("align-items:center;color:", ({ theme: r, active: o, disabled: n }) => o ? r.font.color.primary : n ? r.font.color.light : r.font.color.secondary, ";cursor:pointer;background-color:transparent;display:flex;gap:", ({ theme: r }) => r.spacing(1), ";justify-content:center;text-decoration:none;position:relative;&::after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background-color:", ({ theme: r, active: o }) => o ? r.border.color.inverted : "transparent", ";z-index:1;}"), Pr = /* @__PURE__ */ d("span", {
|
|
668
|
+
target: "eevtqp22"
|
|
669
|
+
})("display:flex;gap:", ({ theme: r }) => r.spacing(1), ";padding:", ({ theme: r, contentSize: o }) => o === "sm" ? `${r.spacing(1)} ${r.spacing(2)}` : `${r.spacing(2)} ${r.spacing(2)}`, ";font-weight:", ({ theme: r }) => r.font.weight.medium, ";width:100%;white-space:nowrap;border-radius:", ({ theme: r }) => r.border.radius.sm, ";&:hover{background:", ({ theme: r }) => r.background.tertiary, ";}&:active{background:", ({ theme: r }) => r.background.quaternary, ";}"), _r = ({ active: r, disabled: o, LeftIcon: n, title: a, logo: t, RightIcon: e, pill: c, contentSize: s = "sm", className: l }) => {
|
|
670
|
+
const { theme: u } = ir(lr), g = r ? u.font.color.primary : o ? u.font.color.extraLight : u.font.color.secondary;
|
|
671
|
+
return /* @__PURE__ */ b(Pr, {
|
|
672
|
+
contentSize: s,
|
|
673
|
+
className: l,
|
|
674
|
+
children: [
|
|
675
|
+
n && /* @__PURE__ */ i(n, {
|
|
676
|
+
color: g,
|
|
677
|
+
size: u.icon.size.md
|
|
678
|
+
}),
|
|
679
|
+
t && /* @__PURE__ */ i(sr, {
|
|
680
|
+
avatarUrl: t,
|
|
681
|
+
size: "md",
|
|
682
|
+
placeholder: a
|
|
683
|
+
}),
|
|
684
|
+
a,
|
|
685
|
+
e && /* @__PURE__ */ i(e, {
|
|
686
|
+
color: g,
|
|
687
|
+
size: u.icon.size.md
|
|
688
|
+
}),
|
|
689
|
+
c && (typeof c == "string" ? /* @__PURE__ */ i(Q, {
|
|
690
|
+
label: c
|
|
691
|
+
}) : c)
|
|
692
|
+
]
|
|
693
|
+
});
|
|
694
|
+
}, qo = ({ id: r, active: o, disabled: n, to: a, LeftIcon: t, className: e, title: c, onClick: s, logo: l, RightIcon: u, pill: g, contentSize: y = "sm", disableTestId: x = !1 }) => /* @__PURE__ */ i(Ar, {
|
|
695
|
+
"data-testid": x ? void 0 : `tab-${r}`,
|
|
696
|
+
active: o,
|
|
697
|
+
disabled: n,
|
|
698
|
+
as: a ? _ : "button",
|
|
699
|
+
to: a,
|
|
700
|
+
className: e,
|
|
701
|
+
onClick: s,
|
|
702
|
+
children: /* @__PURE__ */ i(_r, {
|
|
703
|
+
id: r,
|
|
704
|
+
active: o,
|
|
705
|
+
disabled: n,
|
|
706
|
+
LeftIcon: t,
|
|
707
|
+
title: c,
|
|
708
|
+
logo: l,
|
|
709
|
+
RightIcon: u,
|
|
710
|
+
pill: g,
|
|
711
|
+
contentSize: y
|
|
712
|
+
})
|
|
713
|
+
}), K = "baseCodeEditorTheme", m = (r) => {
|
|
714
|
+
const o = r.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);
|
|
715
|
+
if (w(o)) {
|
|
716
|
+
const [, n, a, t, e] = o, c = Math.round(parseFloat(n) * 255).toString(16).padStart(2, "0"), s = Math.round(parseFloat(a) * 255).toString(16).padStart(2, "0"), l = Math.round(parseFloat(t) * 255).toString(16).padStart(2, "0");
|
|
717
|
+
if (w(e)) {
|
|
718
|
+
const u = Math.round(parseFloat(e) * 255).toString(16).padStart(2, "0");
|
|
719
|
+
return `#${c}${s}${l}${u}`;
|
|
720
|
+
}
|
|
721
|
+
return `#${c}${s}${l}`;
|
|
722
|
+
}
|
|
723
|
+
return r;
|
|
724
|
+
}, Hr = ({ theme: r }) => ({
|
|
725
|
+
base: "vs",
|
|
726
|
+
inherit: !0,
|
|
727
|
+
rules: [
|
|
728
|
+
{
|
|
729
|
+
token: "",
|
|
730
|
+
foreground: m(r.code.text.gray),
|
|
731
|
+
fontStyle: "bold"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
token: "keyword",
|
|
735
|
+
foreground: m(r.code.text.sky)
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
token: "delimiter",
|
|
739
|
+
foreground: m(r.code.text.gray)
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
token: "string",
|
|
743
|
+
foreground: m(r.code.text.pink)
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
token: "comment",
|
|
747
|
+
foreground: m(r.code.text.orange)
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
colors: {
|
|
751
|
+
"editor.background": "#00000000",
|
|
752
|
+
"editorCursor.foreground": m(r.font.color.primary),
|
|
753
|
+
"editorLineNumber.foreground": m(r.font.color.extraLight),
|
|
754
|
+
"editorLineNumber.activeForeground": m(r.font.color.light),
|
|
755
|
+
"editor.lineHighlightBackground": m(r.background.tertiary)
|
|
756
|
+
}
|
|
757
|
+
}), qr = /* @__PURE__ */ d("div", {
|
|
758
|
+
target: "e1hl8r0s0"
|
|
759
|
+
})("align-items:center;display:flex;height:", ({ height: r }) => typeof r == "number" ? `${r}px` : r, ";justify-content:center;border:1px solid ", ({ theme: r }) => r.border.color.medium, ";background-color:", ({ theme: r }) => r.background.transparent.lighter, ";", ({ variant: r, theme: o }) => {
|
|
760
|
+
switch (r) {
|
|
761
|
+
case "default":
|
|
762
|
+
return p`
|
|
763
|
+
border-radius: ${o.border.radius.sm};
|
|
764
|
+
`;
|
|
765
|
+
case "borderless":
|
|
766
|
+
return p`
|
|
767
|
+
border: none;
|
|
768
|
+
`;
|
|
769
|
+
case "with-header":
|
|
770
|
+
return p`
|
|
771
|
+
border-radius: 0 0 ${o.border.radius.sm} ${o.border.radius.sm};
|
|
772
|
+
border-top: none;
|
|
773
|
+
`;
|
|
774
|
+
}
|
|
775
|
+
}), Vr = /* @__PURE__ */ d("div", {
|
|
776
|
+
target: "e1hl8r0s1"
|
|
777
|
+
})("display:contents;"), Or = /* @__PURE__ */ d(ur, {
|
|
778
|
+
target: "e1hl8r0s2"
|
|
779
|
+
})(".monaco-editor{outline-width:0;", ({ theme: r, transparentBackground: o }) => !o && /* @__PURE__ */ p("background-color:", r.background.secondary, ";"), " ", ({ variant: r, theme: o }) => r !== "borderless" && /* @__PURE__ */ p("border-radius:", o.border.radius.sm, ";"), "}.overflow-guard{box-sizing:border-box;", ({ variant: r, theme: o }) => {
|
|
780
|
+
switch (r) {
|
|
781
|
+
case "default":
|
|
782
|
+
return /* @__PURE__ */ p("border:1px solid ", o.border.color.medium, ";border-radius:", o.border.radius.sm, ";");
|
|
783
|
+
case "with-header":
|
|
784
|
+
return /* @__PURE__ */ p("border:1px solid ", o.border.color.medium, ";border-radius:0 0 ", o.border.radius.sm, " ", o.border.radius.sm, ";border-top:none;");
|
|
785
|
+
}
|
|
786
|
+
}, "}"), Vo = ({ value: r, language: o, onMount: n, onChange: a, setMarkers: t, onValidate: e, height: c = 450, variant: s = "default", transparentBackground: l, isLoading: u = !1, options: g }) => {
|
|
787
|
+
const y = k(), [x, v] = T(void 0), [F, I] = T(void 0), [j, D] = T(!1), C = (f, h) => {
|
|
788
|
+
const B = f?.getModel();
|
|
789
|
+
if (!w(B))
|
|
790
|
+
return;
|
|
791
|
+
const M = t?.(B.getValue());
|
|
792
|
+
w(M) && h?.editor.setModelMarkers(B, "customMarker", M);
|
|
793
|
+
};
|
|
794
|
+
return u ? /* @__PURE__ */ i(qr, {
|
|
795
|
+
height: c,
|
|
796
|
+
variant: s,
|
|
797
|
+
children: /* @__PURE__ */ i(pr, {})
|
|
798
|
+
}) : /* @__PURE__ */ b(Vr, {
|
|
799
|
+
onKeyDown: (f) => {
|
|
800
|
+
j && f.stopPropagation();
|
|
801
|
+
},
|
|
802
|
+
children: [
|
|
803
|
+
/* @__PURE__ */ i("input", {
|
|
804
|
+
type: "hidden",
|
|
805
|
+
"data-testid": "code-editor-value",
|
|
806
|
+
value: r ?? "",
|
|
807
|
+
readOnly: !0
|
|
808
|
+
}),
|
|
809
|
+
/* @__PURE__ */ i(Or, {
|
|
810
|
+
height: c,
|
|
811
|
+
variant: s,
|
|
812
|
+
value: r,
|
|
813
|
+
language: o,
|
|
814
|
+
loading: "",
|
|
815
|
+
transparentBackground: l,
|
|
816
|
+
onMount: (f, h) => {
|
|
817
|
+
v(h), I(f), h.editor.defineTheme(K, Hr({
|
|
818
|
+
theme: y
|
|
819
|
+
})), h.editor.setTheme(K), f.onDidFocusEditorWidget(() => {
|
|
820
|
+
D(!0);
|
|
821
|
+
}), f.onDidBlurEditorWidget(() => {
|
|
822
|
+
D(!1);
|
|
823
|
+
}), n?.(f, h), C(f, h);
|
|
824
|
+
},
|
|
825
|
+
onChange: (f) => {
|
|
826
|
+
w(f) && (a?.(f), C(F, x));
|
|
827
|
+
},
|
|
828
|
+
onValidate: (f) => {
|
|
829
|
+
e?.(f);
|
|
830
|
+
},
|
|
831
|
+
options: {
|
|
832
|
+
formatOnPaste: !0,
|
|
833
|
+
formatOnType: !0,
|
|
834
|
+
overviewRulerLanes: 0,
|
|
835
|
+
scrollbar: {
|
|
836
|
+
vertical: "hidden",
|
|
837
|
+
horizontal: "hidden"
|
|
838
|
+
},
|
|
839
|
+
minimap: {
|
|
840
|
+
enabled: !1
|
|
841
|
+
},
|
|
842
|
+
...g
|
|
843
|
+
}
|
|
844
|
+
})
|
|
845
|
+
]
|
|
846
|
+
});
|
|
847
|
+
}, Kr = /* @__PURE__ */ d("div", {
|
|
848
|
+
target: "ez6hqbm0"
|
|
849
|
+
})("align-items:center;background-color:", ({ theme: r }) => r.background.transparent.lighter, ";color:", ({ theme: r }) => r.font.color.tertiary, ";font-weight:", ({ theme: r }) => r.font.weight.medium, ";display:flex;height:", ({ theme: r }) => r.spacing(10), ";padding:", ({ theme: r }) => `0 ${r.spacing(2)}`, ";border:1px solid ", ({ theme: r }) => r.border.color.medium, ";border-top-left-radius:", ({ theme: r }) => r.border.radius.sm, ";border-top-right-radius:", ({ theme: r }) => r.border.radius.sm, ";justify-content:space-between;"), W = /* @__PURE__ */ d("div", {
|
|
850
|
+
target: "ez6hqbm1"
|
|
851
|
+
})("align-content:flex-end;display:flex;gap:", ({ theme: r }) => r.spacing(2), ";"), Oo = ({ title: r, leftNodes: o, rightNodes: n }) => /* @__PURE__ */ b(Kr, {
|
|
852
|
+
children: [
|
|
853
|
+
/* @__PURE__ */ b(W, {
|
|
854
|
+
children: [
|
|
855
|
+
o && o.map((a, t) => /* @__PURE__ */ i("div", {
|
|
856
|
+
children: a
|
|
857
|
+
}, `left-${t}`)),
|
|
858
|
+
r
|
|
859
|
+
]
|
|
860
|
+
}),
|
|
861
|
+
/* @__PURE__ */ i(W, {
|
|
862
|
+
children: n && n.map((a, t) => /* @__PURE__ */ i("div", {
|
|
863
|
+
children: a
|
|
864
|
+
}, `right-${t}`))
|
|
865
|
+
})
|
|
866
|
+
]
|
|
867
|
+
}), Wr = /* @__PURE__ */ d("div", {
|
|
868
|
+
target: "e1wbazos0"
|
|
869
|
+
})("align-items:flex-end;background:", ({ variant: r }) => {
|
|
870
|
+
switch (r) {
|
|
871
|
+
case "Dark":
|
|
872
|
+
return z.gray4;
|
|
873
|
+
case "Light":
|
|
874
|
+
default:
|
|
875
|
+
return $.gray4;
|
|
876
|
+
}
|
|
877
|
+
}, ";border:", ({ variant: r }) => {
|
|
878
|
+
switch (r) {
|
|
879
|
+
case "Dark":
|
|
880
|
+
return `1px solid ${z.gray5};`;
|
|
881
|
+
case "Light":
|
|
882
|
+
default:
|
|
883
|
+
return `1px solid ${$.gray5};`;
|
|
884
|
+
}
|
|
885
|
+
}, ";border-radius:", ({ theme: r }) => r.border.radius.md, ";box-sizing:border-box;cursor:pointer;display:flex;height:80px;justify-content:flex-end;overflow:hidden;padding-left:", ({ theme: r }) => r.spacing(6), ";padding-top:", ({ theme: r }) => r.spacing(6), ";width:160px;"), Yr = /* @__PURE__ */ d(E.div, {
|
|
886
|
+
target: "e1wbazos1"
|
|
887
|
+
})("background:", ({ variant: r }) => {
|
|
888
|
+
switch (r) {
|
|
889
|
+
case "Dark":
|
|
890
|
+
return z.gray1;
|
|
891
|
+
case "Light":
|
|
892
|
+
return $.gray1;
|
|
893
|
+
}
|
|
894
|
+
}, ";border-left:", ({ variant: r }) => {
|
|
895
|
+
switch (r) {
|
|
896
|
+
case "Dark":
|
|
897
|
+
return `1px solid ${z.gray5};`;
|
|
898
|
+
case "Light":
|
|
899
|
+
default:
|
|
900
|
+
return `1px solid ${$.gray5};`;
|
|
901
|
+
}
|
|
902
|
+
}, ";border-radius:", ({ theme: r }) => r.border.radius.md, " 0px 0px 0px;border-top:", ({ variant: r }) => {
|
|
903
|
+
switch (r) {
|
|
904
|
+
case "Dark":
|
|
905
|
+
return `1px solid ${z.gray5};`;
|
|
906
|
+
case "Light":
|
|
907
|
+
default:
|
|
908
|
+
return `1px solid ${$.gray5};`;
|
|
909
|
+
}
|
|
910
|
+
}, ";box-sizing:border-box;color:", ({ variant: r }) => {
|
|
911
|
+
switch (r) {
|
|
912
|
+
case "Dark":
|
|
913
|
+
return z.gray12;
|
|
914
|
+
case "Light":
|
|
915
|
+
default:
|
|
916
|
+
return $.gray12;
|
|
917
|
+
}
|
|
918
|
+
}, ";display:flex;flex:1;font-size:20px;height:56px;padding-left:", ({ theme: r }) => r.spacing(2), ";padding-top:", ({ theme: r }) => r.spacing(2), ";"), G = ({ variant: r, controls: o, style: n, className: a, onClick: t, onMouseEnter: e, onMouseLeave: c }) => /* @__PURE__ */ i(Wr, {
|
|
919
|
+
className: a,
|
|
920
|
+
variant: r,
|
|
921
|
+
style: n,
|
|
922
|
+
onClick: t,
|
|
923
|
+
onMouseEnter: e,
|
|
924
|
+
onMouseLeave: c,
|
|
925
|
+
children: /* @__PURE__ */ i(Yr, {
|
|
926
|
+
animate: o,
|
|
927
|
+
variant: r,
|
|
928
|
+
children: "Aa"
|
|
929
|
+
})
|
|
930
|
+
}), Y = /* @__PURE__ */ d("div", {
|
|
931
|
+
target: "e1wbazos2"
|
|
932
|
+
})("position:relative;width:160px;"), Ur = /* @__PURE__ */ d("div", {
|
|
933
|
+
target: "e1wbazos3"
|
|
934
|
+
})("border-radius:", ({ theme: r }) => r.border.radius.md, ";cursor:pointer;display:flex;height:80px;overflow:hidden;position:relative;width:160px;"), U = /* @__PURE__ */ d(E.div, {
|
|
935
|
+
target: "e1wbazos4"
|
|
936
|
+
})("bottom:0px;padding:", ({ theme: r }) => r.spacing(2), ";position:absolute;right:0px;"), J = {
|
|
937
|
+
initial: {
|
|
938
|
+
opacity: 0
|
|
939
|
+
},
|
|
940
|
+
animate: {
|
|
941
|
+
opacity: 1
|
|
942
|
+
},
|
|
943
|
+
exit: {
|
|
944
|
+
opacity: 0
|
|
945
|
+
}
|
|
946
|
+
}, R = ({ variant: r, selected: o, onClick: n }) => {
|
|
947
|
+
const a = er(), t = () => {
|
|
948
|
+
a.start({
|
|
949
|
+
height: 61,
|
|
950
|
+
fontSize: "22px",
|
|
951
|
+
transition: {
|
|
952
|
+
duration: 0.1
|
|
953
|
+
}
|
|
954
|
+
});
|
|
955
|
+
}, e = () => {
|
|
956
|
+
a.start({
|
|
957
|
+
height: 56,
|
|
958
|
+
fontSize: "20px",
|
|
959
|
+
transition: {
|
|
960
|
+
duration: 0.1
|
|
961
|
+
}
|
|
962
|
+
});
|
|
963
|
+
};
|
|
964
|
+
return r === "System" ? /* @__PURE__ */ b(Y, {
|
|
965
|
+
children: [
|
|
966
|
+
/* @__PURE__ */ b(Ur, {
|
|
967
|
+
onMouseEnter: t,
|
|
968
|
+
onMouseLeave: e,
|
|
969
|
+
onClick: n,
|
|
970
|
+
children: [
|
|
971
|
+
/* @__PURE__ */ i(G, {
|
|
972
|
+
style: {
|
|
973
|
+
borderTopRightRadius: 0,
|
|
974
|
+
borderBottomRightRadius: 0
|
|
975
|
+
},
|
|
976
|
+
controls: a,
|
|
977
|
+
variant: "Light"
|
|
978
|
+
}),
|
|
979
|
+
/* @__PURE__ */ i(G, {
|
|
980
|
+
style: {
|
|
981
|
+
borderTopLeftRadius: 0,
|
|
982
|
+
borderBottomLeftRadius: 0
|
|
983
|
+
},
|
|
984
|
+
controls: a,
|
|
985
|
+
variant: "Dark"
|
|
986
|
+
})
|
|
987
|
+
]
|
|
988
|
+
}),
|
|
989
|
+
/* @__PURE__ */ i(q, {
|
|
990
|
+
children: o && /* @__PURE__ */ i(U, {
|
|
991
|
+
variants: J,
|
|
992
|
+
initial: "initial",
|
|
993
|
+
animate: "animate",
|
|
994
|
+
exit: "exit",
|
|
995
|
+
transition: {
|
|
996
|
+
duration: 0.3
|
|
997
|
+
},
|
|
998
|
+
children: /* @__PURE__ */ i(V, {})
|
|
999
|
+
}, "system")
|
|
1000
|
+
})
|
|
1001
|
+
]
|
|
1002
|
+
}) : /* @__PURE__ */ b(Y, {
|
|
1003
|
+
children: [
|
|
1004
|
+
/* @__PURE__ */ i(G, {
|
|
1005
|
+
onMouseEnter: t,
|
|
1006
|
+
onMouseLeave: e,
|
|
1007
|
+
controls: a,
|
|
1008
|
+
variant: r,
|
|
1009
|
+
onClick: n
|
|
1010
|
+
}),
|
|
1011
|
+
/* @__PURE__ */ i(q, {
|
|
1012
|
+
children: o && /* @__PURE__ */ i(U, {
|
|
1013
|
+
variants: J,
|
|
1014
|
+
initial: "initial",
|
|
1015
|
+
animate: "animate",
|
|
1016
|
+
exit: "exit",
|
|
1017
|
+
transition: {
|
|
1018
|
+
duration: 0.3
|
|
1019
|
+
},
|
|
1020
|
+
children: /* @__PURE__ */ i(V, {})
|
|
1021
|
+
}, r)
|
|
1022
|
+
})
|
|
1023
|
+
]
|
|
1024
|
+
});
|
|
1025
|
+
}, Jr = /* @__PURE__ */ d("div", {
|
|
1026
|
+
target: "eh4rymo0"
|
|
1027
|
+
})("display:flex;flex-direction:row;> * + *{margin-left:", ({ theme: r }) => r.spacing(4), ";}@media (max-width:", gr, "px){overflow:scroll;}"), A = /* @__PURE__ */ d("div", {
|
|
1028
|
+
target: "eh4rymo1"
|
|
1029
|
+
})("display:flex;flex-direction:column;"), P = /* @__PURE__ */ d("span", {
|
|
1030
|
+
target: "eh4rymo2"
|
|
1031
|
+
})("color:", ({ theme: r }) => r.font.color.secondary, ";font-size:", ({ theme: r }) => r.font.size.xs, ";font-weight:", ({ theme: r }) => r.font.weight.medium, ";margin-top:", ({ theme: r }) => r.spacing(2), ";"), Ko = ({ value: r, onChange: o, className: n, lightLabel: a, darkLabel: t, systemLabel: e }) => /* @__PURE__ */ b(Jr, {
|
|
1032
|
+
className: n,
|
|
1033
|
+
children: [
|
|
1034
|
+
/* @__PURE__ */ b(A, {
|
|
1035
|
+
children: [
|
|
1036
|
+
/* @__PURE__ */ i(R, {
|
|
1037
|
+
onClick: () => o("Light"),
|
|
1038
|
+
variant: "Light",
|
|
1039
|
+
selected: r === "Light"
|
|
1040
|
+
}),
|
|
1041
|
+
/* @__PURE__ */ i(P, {
|
|
1042
|
+
children: a
|
|
1043
|
+
})
|
|
1044
|
+
]
|
|
1045
|
+
}),
|
|
1046
|
+
/* @__PURE__ */ b(A, {
|
|
1047
|
+
children: [
|
|
1048
|
+
/* @__PURE__ */ i(R, {
|
|
1049
|
+
onClick: () => o("Dark"),
|
|
1050
|
+
variant: "Dark",
|
|
1051
|
+
selected: r === "Dark"
|
|
1052
|
+
}),
|
|
1053
|
+
/* @__PURE__ */ i(P, {
|
|
1054
|
+
children: t
|
|
1055
|
+
})
|
|
1056
|
+
]
|
|
1057
|
+
}),
|
|
1058
|
+
/* @__PURE__ */ b(A, {
|
|
1059
|
+
children: [
|
|
1060
|
+
/* @__PURE__ */ i(R, {
|
|
1061
|
+
onClick: () => o("System"),
|
|
1062
|
+
variant: "System",
|
|
1063
|
+
selected: r === "System"
|
|
1064
|
+
}),
|
|
1065
|
+
/* @__PURE__ */ i(P, {
|
|
1066
|
+
children: e
|
|
1067
|
+
})
|
|
1068
|
+
]
|
|
1069
|
+
})
|
|
1070
|
+
]
|
|
1071
|
+
}), Nr = ({ value: r, onChange: o, onValueChange: n, children: a }) => {
|
|
1072
|
+
const t = k(), e = (c) => {
|
|
1073
|
+
o?.(c), n?.(c.target.value);
|
|
1074
|
+
};
|
|
1075
|
+
return /* @__PURE__ */ i(N, {
|
|
1076
|
+
children: S.Children.map(a, (c) => /* @__PURE__ */ S.isValidElement(c) ? /* @__PURE__ */ S.cloneElement(c, {
|
|
1077
|
+
style: {
|
|
1078
|
+
marginBottom: t.spacing(2)
|
|
1079
|
+
},
|
|
1080
|
+
checked: c.props.value === r,
|
|
1081
|
+
onChange: e
|
|
1082
|
+
}) : c)
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
var Wo = /* @__PURE__ */ function(r) {
|
|
1086
|
+
return r.Large = "large", r.Small = "small", r;
|
|
1087
|
+
}({}), Yo = /* @__PURE__ */ function(r) {
|
|
1088
|
+
return r.Left = "left", r.Right = "right", r;
|
|
1089
|
+
}({});
|
|
1090
|
+
const Qr = /* @__PURE__ */ d("div", {
|
|
1091
|
+
target: "e1ihb4830"
|
|
1092
|
+
})(({ labelPosition: r }) => r === "left" ? `
|
|
1093
|
+
flex-direction: row-reverse;
|
|
1094
|
+
` : `
|
|
1095
|
+
flex-direction: row;
|
|
1096
|
+
`, ";align-items:center;display:inline-flex;"), Xr = /* @__PURE__ */ d(E.input, {
|
|
1097
|
+
target: "e1ihb4831"
|
|
1098
|
+
})("-webkit-appearance:none;appearance:none;background-color:transparent;border:1px solid ", ({ theme: r }) => r.font.color.secondary, ";border-radius:", ({ theme: r }) => r.border.radius.rounded, ";height:", ({ "radio-size": r }) => r === "large" ? "18px" : "16px", ";margin:0;margin-left:3px;position:relative;width:", ({ "radio-size": r }) => r === "large" ? "18px" : "16px", ";:hover{background-color:", ({ theme: r, checked: o }) => {
|
|
1099
|
+
if (!o)
|
|
1100
|
+
return r.background.tertiary;
|
|
1101
|
+
}, `;outline:4px solid
|
|
1102
|
+
`, ({ theme: r, checked: o }) => o ? r.color.transparent.blue2 : r.background.tertiary, ";}&:checked{background-color:", ({ theme: r }) => r.color.blue, ";border:none;&::after{background-color:", ({ theme: r }) => r.grayScale.gray1, ";border-radius:50%;content:'';height:", ({ "radio-size": r }) => r === "large" ? "8px" : "6px", ";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:", ({ "radio-size": r }) => r === "large" ? "8px" : "6px", ";}}&:disabled{cursor:not-allowed;opacity:0.12;}"), Zr = /* @__PURE__ */ d("label", {
|
|
1103
|
+
target: "e1ihb4832"
|
|
1104
|
+
})("color:", ({ theme: r }) => r.font.color.primary, ";cursor:pointer;font-size:", ({ theme: r }) => r.font.size.sm, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";margin-left:", ({ theme: r, labelPosition: o }) => o === "right" ? r.spacing(2) : "0px", ";margin-right:", ({ theme: r, labelPosition: o }) => o === "left" ? r.spacing(2) : "0px", ";opacity:", ({ disabled: r }) => r ? 0.32 : 1, ";"), Z = ({ checked: r, className: o, name: n = "input-radio", disabled: a = !1, label: t, labelPosition: e = "right", onChange: c, onCheckedChange: s, size: l = "small", value: u }) => {
|
|
1105
|
+
const g = (x) => {
|
|
1106
|
+
c?.(x), s?.(x.target.checked);
|
|
1107
|
+
}, y = L.useId();
|
|
1108
|
+
return /* @__PURE__ */ b(Qr, {
|
|
1109
|
+
className: o,
|
|
1110
|
+
labelPosition: e,
|
|
1111
|
+
children: [
|
|
1112
|
+
/* @__PURE__ */ i(Xr, {
|
|
1113
|
+
type: "radio",
|
|
1114
|
+
id: y,
|
|
1115
|
+
name: n,
|
|
1116
|
+
"data-testid": "input-radio",
|
|
1117
|
+
tabIndex: -1,
|
|
1118
|
+
checked: r,
|
|
1119
|
+
value: u || t,
|
|
1120
|
+
"radio-size": l,
|
|
1121
|
+
disabled: a,
|
|
1122
|
+
onChange: g,
|
|
1123
|
+
initial: {
|
|
1124
|
+
scale: 0.95
|
|
1125
|
+
},
|
|
1126
|
+
animate: {
|
|
1127
|
+
scale: r ? 1.05 : 0.95
|
|
1128
|
+
},
|
|
1129
|
+
transition: {
|
|
1130
|
+
type: "spring",
|
|
1131
|
+
stiffness: 300,
|
|
1132
|
+
damping: 20
|
|
1133
|
+
}
|
|
1134
|
+
}),
|
|
1135
|
+
t && /* @__PURE__ */ i(Zr, {
|
|
1136
|
+
htmlFor: y,
|
|
1137
|
+
labelPosition: e,
|
|
1138
|
+
disabled: a,
|
|
1139
|
+
children: t
|
|
1140
|
+
})
|
|
1141
|
+
]
|
|
1142
|
+
});
|
|
1143
|
+
};
|
|
1144
|
+
Z.Group = Nr;
|
|
1145
|
+
const ro = /* @__PURE__ */ d("button", {
|
|
1146
|
+
target: "e1krysxj0"
|
|
1147
|
+
})("background-color:", ({ theme: r }) => r.background.secondary, ";border:1px solid ", ({ theme: r }) => r.border.color.medium, ";border-radius:", ({ theme: r }) => r.border.radius.md, ";display:flex;padding:", ({ theme: r }) => r.spacing(4), " ", ({ theme: r }) => r.spacing(3), ";position:relative;width:100%;:hover{cursor:pointer;background:", ({ theme: r }) => r.background.tertiary, ";}"), oo = /* @__PURE__ */ d("div", {
|
|
1148
|
+
target: "e1krysxj1"
|
|
1149
|
+
})("position:absolute;right:", ({ theme: r }) => r.spacing(2), ";top:", ({ theme: r }) => r.spacing(2), ";"), Uo = ({ children: r, checked: o, handleChange: n }) => /* @__PURE__ */ b(ro, {
|
|
1150
|
+
onClick: n,
|
|
1151
|
+
children: [
|
|
1152
|
+
/* @__PURE__ */ i(oo, {
|
|
1153
|
+
children: /* @__PURE__ */ i(Z, {
|
|
1154
|
+
checked: o
|
|
1155
|
+
})
|
|
1156
|
+
}),
|
|
1157
|
+
r
|
|
1158
|
+
]
|
|
1159
|
+
}), no = (r) => /* @__PURE__ */ L.createElement("svg", { width: 8, height: 32, xmlns: "http://www.w3.org/2000/svg", fill: "none", ...r }, /* @__PURE__ */ L.createElement("path", { stroke: "null", id: "svg_1", fill: "#D6D6D6", d: "m0,7.5l4.5,0c0.82843,0 1.5,0.67157 1.5,1.5c0,0.82843 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z" }), /* @__PURE__ */ L.createElement("path", { id: "svg_2", fill: "#D6D6D6", d: "m0,14.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z" }), /* @__PURE__ */ L.createElement("path", { id: "svg_3", fill: "#D6D6D6", d: "m0,21.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z" })), Jo = (r) => {
|
|
1160
|
+
const o = r.size ?? 8, n = r.size ?? 32;
|
|
1161
|
+
return /* @__PURE__ */ i(no, {
|
|
1162
|
+
height: n,
|
|
1163
|
+
width: o
|
|
1164
|
+
});
|
|
1165
|
+
}, to = /* @__PURE__ */ d("div", {
|
|
1166
|
+
target: "ekfo3ff0"
|
|
1167
|
+
})("align-items:center;display:flex;gap:", ({ theme: r }) => r.spacing(2), ";width:100%;"), ao = /* @__PURE__ */ d("div", {
|
|
1168
|
+
target: "ekfo3ff1"
|
|
1169
|
+
})("align-items:center;background-color:", ({ theme: r }) => r.background.transparent.lighter, ";border:1px solid ", ({ theme: r }) => r.border.color.medium, ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";box-sizing:border-box;display:flex;flex:1;gap:", ({ theme: r }) => r.spacing(1), ";height:32px;padding:0 ", ({ theme: r }) => r.spacing(2), ";&:focus-within{border-color:", ({ theme: r }) => r.color.blue, ";}"), eo = /* @__PURE__ */ d("div", {
|
|
1170
|
+
target: "ekfo3ff2"
|
|
1171
|
+
})("align-items:center;color:", ({ theme: r, isFocused: o }) => o ? r.font.color.secondary : r.font.color.light, ";display:flex;justify-content:center;"), io = /* @__PURE__ */ d("input", {
|
|
1172
|
+
target: "ekfo3ff3"
|
|
1173
|
+
})("background:transparent;border:none;color:", ({ theme: r }) => r.font.color.primary, ";flex:1;font-family:", ({ theme: r }) => r.font.family, ";font-size:", ({ theme: r }) => r.font.size.md, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";outline:none;width:100%;&::placeholder{color:", ({ theme: r }) => r.font.color.light, ";font-weight:", ({ theme: r }) => r.font.weight.medium, ";}&:disabled{color:", ({ theme: r }) => r.font.color.tertiary, ";}"), No = ({ value: r, onChange: o, placeholder: n, filterDropdown: a, autoFocus: t, disabled: e, className: c }) => {
|
|
1174
|
+
const s = k(), [l, u] = T(!1), g = /* @__PURE__ */ i(Dr, {
|
|
1175
|
+
Icon: fr,
|
|
1176
|
+
variant: "secondary"
|
|
1177
|
+
});
|
|
1178
|
+
return /* @__PURE__ */ b(to, {
|
|
1179
|
+
className: c,
|
|
1180
|
+
children: [
|
|
1181
|
+
/* @__PURE__ */ b(ao, {
|
|
1182
|
+
children: [
|
|
1183
|
+
/* @__PURE__ */ i(eo, {
|
|
1184
|
+
isFocused: l,
|
|
1185
|
+
children: /* @__PURE__ */ i(br, {
|
|
1186
|
+
size: s.icon.size.md
|
|
1187
|
+
})
|
|
1188
|
+
}),
|
|
1189
|
+
/* @__PURE__ */ i(io, {
|
|
1190
|
+
value: r,
|
|
1191
|
+
onChange: (y) => o(y.target.value),
|
|
1192
|
+
onFocus: () => u(!0),
|
|
1193
|
+
onBlur: () => u(!1),
|
|
1194
|
+
placeholder: n,
|
|
1195
|
+
autoFocus: t,
|
|
1196
|
+
disabled: e
|
|
1197
|
+
})
|
|
1198
|
+
]
|
|
1199
|
+
}),
|
|
1200
|
+
a && a(g)
|
|
1201
|
+
]
|
|
1202
|
+
});
|
|
1203
|
+
};
|
|
1204
|
+
export {
|
|
1205
|
+
Io as AnimatedButton,
|
|
1206
|
+
Do as AnimatedLightIconButton,
|
|
1207
|
+
K as BASE_CODE_EDITOR_THEME_ID,
|
|
1208
|
+
Zo as Button,
|
|
1209
|
+
Mo as ButtonGroup,
|
|
1210
|
+
Uo as CardPicker,
|
|
1211
|
+
nn as Checkbox,
|
|
1212
|
+
tn as CheckboxAccent,
|
|
1213
|
+
an as CheckboxShape,
|
|
1214
|
+
en as CheckboxSize,
|
|
1215
|
+
cn as CheckboxVariant,
|
|
1216
|
+
Vo as CodeEditor,
|
|
1217
|
+
To as ColorPickerButton,
|
|
1218
|
+
R as ColorSchemeCard,
|
|
1219
|
+
Ko as ColorSchemePicker,
|
|
1220
|
+
Oo as CoreEditorHeader,
|
|
1221
|
+
Fo as FloatingButton,
|
|
1222
|
+
jo as FloatingButtonGroup,
|
|
1223
|
+
Lr as FloatingIconButton,
|
|
1224
|
+
Go as FloatingIconButtonGroup,
|
|
1225
|
+
Dr as IconButton,
|
|
1226
|
+
Ro as IconButtonGroup,
|
|
1227
|
+
Jo as IconListViewGrip,
|
|
1228
|
+
Tr as InsideButton,
|
|
1229
|
+
Yo as LabelPosition,
|
|
1230
|
+
Ao as LightButton,
|
|
1231
|
+
dr as LightIconButton,
|
|
1232
|
+
dn as LightIconButtonGroup,
|
|
1233
|
+
Po as MainButton,
|
|
1234
|
+
Z as Radio,
|
|
1235
|
+
Nr as RadioGroup,
|
|
1236
|
+
Wo as RadioSize,
|
|
1237
|
+
_o as RoundedIconButton,
|
|
1238
|
+
No as SearchInput,
|
|
1239
|
+
Ar as StyledTabButton,
|
|
1240
|
+
Ho as StyledTabContainer,
|
|
1241
|
+
Pr as StyledTabHover,
|
|
1242
|
+
qo as TabButton,
|
|
1243
|
+
_r as TabContent,
|
|
1244
|
+
sn as Toggle,
|
|
1245
|
+
rn as baseTransitionTiming,
|
|
1246
|
+
Hr as getBaseCodeEditorTheme
|
|
1247
|
+
};
|