nogbase-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +61 -0
- package/dist/AllIcons-BpT9PGHQ.js +7953 -0
- package/dist/AllIcons-Ccrgjdr_.cjs +1 -0
- package/dist/AppTooltip-BGyiynP0.js +150 -0
- package/dist/AppTooltip-BSOOys5a.cjs +1 -0
- package/dist/Checkmark-BMk88h_C.cjs +1 -0
- package/dist/Checkmark-nXZm8BnM.js +377 -0
- package/dist/ColorSample-BWfzelYk.cjs +1 -0
- package/dist/ColorSample-tgmSZ-F7.js +120 -0
- package/dist/DefaultThemeColorFallback-DbqJIVcx.js +4 -0
- package/dist/DefaultThemeColorFallback-yakKib_c.cjs +1 -0
- package/dist/GrayScaleDark-Cuc4HWDV.cjs +1 -0
- package/dist/GrayScaleDark-DLZkJnfs.js +17 -0
- package/dist/IconTypography-D1m71DlC.cjs +1 -0
- package/dist/IconTypography-D6-z1Irl.js +17 -0
- package/dist/Loader-CVqckhmU.js +36 -0
- package/dist/Loader-DvDr98P8.cjs +1 -0
- package/dist/MainColorNames-I8OTbUOe.cjs +1 -0
- package/dist/MainColorNames-syigy4-h.js +52 -0
- package/dist/OverflowingTextWithTooltip-BY3bdsCV.js +72 -0
- package/dist/OverflowingTextWithTooltip-Bx--oslz.cjs +1 -0
- package/dist/Pill-CzxYmDQR.js +17 -0
- package/dist/Pill-fgWKgFIn.cjs +1 -0
- package/dist/Tag-C0ieQE9o.cjs +1 -0
- package/dist/Tag-DOSiXPZl.js +65 -0
- package/dist/ThemeProvider-CLAfdrfV.cjs +1 -0
- package/dist/ThemeProvider-CpY05Gd2.js +40 -0
- package/dist/TintedIconTile-C6Ogk0pF.cjs +1 -0
- package/dist/TintedIconTile-D6h1yGXu.js +76 -0
- package/dist/Toggle-Cw3Dds-m.cjs +1 -0
- package/dist/Toggle-DFCRkcpJ.js +195 -0
- package/dist/VisibilityHidden-Bk1yWahA.cjs +1 -0
- package/dist/VisibilityHidden-DrhO-pBI.js +12 -0
- package/dist/VisibilityHiddenInput-BOx7Yl7-.js +9 -0
- package/dist/VisibilityHiddenInput-CexbykfV.cjs +1 -0
- package/dist/accessibility/components/VisibilityHidden.d.ts +4 -0
- package/dist/accessibility/components/VisibilityHidden.d.ts.map +1 -0
- package/dist/accessibility/components/VisibilityHiddenInput.d.ts +2 -0
- package/dist/accessibility/components/VisibilityHiddenInput.d.ts.map +1 -0
- package/dist/accessibility/index.d.ts +4 -0
- package/dist/accessibility/index.d.ts.map +1 -0
- package/dist/accessibility/utils/visibility-hidden.d.ts +2 -0
- package/dist/accessibility/utils/visibility-hidden.d.ts.map +1 -0
- package/dist/accessibility.cjs +11 -0
- package/dist/accessibility.mjs +18 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets.cjs +1 -0
- package/dist/assets.mjs +1 -0
- package/dist/components/Pill/Pill.d.ts +10 -0
- package/dist/components/Pill/Pill.d.ts.map +1 -0
- package/dist/components/avatar-or-icon/AvatarOrIcon.d.ts +17 -0
- package/dist/components/avatar-or-icon/AvatarOrIcon.d.ts.map +1 -0
- package/dist/components/chip/Chip.d.ts +38 -0
- package/dist/components/chip/Chip.d.ts.map +1 -0
- package/dist/components/chip/LinkChip.d.ts +13 -0
- package/dist/components/chip/LinkChip.d.ts.map +1 -0
- package/dist/components/chip/constants/LinkChipClickOutsideId.d.ts +2 -0
- package/dist/components/chip/constants/LinkChipClickOutsideId.d.ts.map +1 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/tag/Tag.d.ts +20 -0
- package/dist/components/tag/Tag.d.ts.map +1 -0
- package/dist/components.cjs +1 -0
- package/dist/components.mjs +173 -0
- package/dist/config-BQRGC1lM.js +22 -0
- package/dist/config-rVY5Wtrt.cjs +1 -0
- package/dist/constants-BcwxurOJ.cjs +1 -0
- package/dist/constants-CDXq37n6.js +4 -0
- package/dist/createReactComponent-Cb6Pzf10.js +48 -0
- package/dist/createReactComponent-w5VMPsZQ.cjs +1 -0
- package/dist/display/avatar/components/Avatar.d.ts +21 -0
- package/dist/display/avatar/components/Avatar.d.ts.map +1 -0
- package/dist/display/avatar/components/AvatarGroup.d.ts +7 -0
- package/dist/display/avatar/components/AvatarGroup.d.ts.map +1 -0
- package/dist/display/avatar/components/states/invalidAvatarUrlsAtomV2.d.ts +4 -0
- package/dist/display/avatar/components/states/invalidAvatarUrlsAtomV2.d.ts.map +1 -0
- package/dist/display/avatar/constants/AvatarPropertiesBySize.d.ts +23 -0
- package/dist/display/avatar/constants/AvatarPropertiesBySize.d.ts.map +1 -0
- package/dist/display/avatar/types/AvatarSize.d.ts +2 -0
- package/dist/display/avatar/types/AvatarSize.d.ts.map +1 -0
- package/dist/display/avatar/types/AvatarType.d.ts +2 -0
- package/dist/display/avatar/types/AvatarType.d.ts.map +1 -0
- package/dist/display/banner/components/Banner.d.ts +11 -0
- package/dist/display/banner/components/Banner.d.ts.map +1 -0
- package/dist/display/banner/components/InlineBanner.d.ts +16 -0
- package/dist/display/banner/components/InlineBanner.d.ts.map +1 -0
- package/dist/display/banner/components/SidePanelInformationBanner.d.ts +8 -0
- package/dist/display/banner/components/SidePanelInformationBanner.d.ts.map +1 -0
- package/dist/display/callout/Callout.d.ts +17 -0
- package/dist/display/callout/Callout.d.ts.map +1 -0
- package/dist/display/checkmark/components/AnimatedCheckmark.d.ts +10 -0
- package/dist/display/checkmark/components/AnimatedCheckmark.d.ts.map +1 -0
- package/dist/display/checkmark/components/Checkmark.d.ts +7 -0
- package/dist/display/checkmark/components/Checkmark.d.ts.map +1 -0
- package/dist/display/color/components/ColorSample.d.ts +14 -0
- package/dist/display/color/components/ColorSample.d.ts.map +1 -0
- package/dist/display/command-block/components/CommandBlock.d.ts +9 -0
- package/dist/display/command-block/components/CommandBlock.d.ts.map +1 -0
- package/dist/display/components/LinkifiedText.d.ts +6 -0
- package/dist/display/components/LinkifiedText.d.ts.map +1 -0
- package/dist/display/icon/components/Icon.d.ts +7 -0
- package/dist/display/icon/components/Icon.d.ts.map +1 -0
- package/dist/display/icon/components/IconAddressBook.d.ts +6 -0
- package/dist/display/icon/components/IconAddressBook.d.ts.map +1 -0
- package/dist/display/icon/components/IconBrandAnthropic.d.ts +6 -0
- package/dist/display/icon/components/IconBrandAnthropic.d.ts.map +1 -0
- package/dist/display/icon/components/IconBrandGemini.d.ts +6 -0
- package/dist/display/icon/components/IconBrandGemini.d.ts.map +1 -0
- package/dist/display/icon/components/IconBrandGroq.d.ts +6 -0
- package/dist/display/icon/components/IconBrandGroq.d.ts.map +1 -0
- package/dist/display/icon/components/IconBrandMistral.d.ts +6 -0
- package/dist/display/icon/components/IconBrandMistral.d.ts.map +1 -0
- package/dist/display/icon/components/IconBrandXai.d.ts +6 -0
- package/dist/display/icon/components/IconBrandXai.d.ts.map +1 -0
- package/dist/display/icon/components/IconChartBarHorizontal.d.ts +6 -0
- package/dist/display/icon/components/IconChartBarHorizontal.d.ts.map +1 -0
- package/dist/display/icon/components/IconGmail.d.ts +6 -0
- package/dist/display/icon/components/IconGmail.d.ts.map +1 -0
- package/dist/display/icon/components/IconGoogle.d.ts +6 -0
- package/dist/display/icon/components/IconGoogle.d.ts.map +1 -0
- package/dist/display/icon/components/IconGoogleCalendar.d.ts +6 -0
- package/dist/display/icon/components/IconGoogleCalendar.d.ts.map +1 -0
- package/dist/display/icon/components/IconLock.d.ts +6 -0
- package/dist/display/icon/components/IconLock.d.ts.map +1 -0
- package/dist/display/icon/components/IconMicrosoft.d.ts +6 -0
- package/dist/display/icon/components/IconMicrosoft.d.ts.map +1 -0
- package/dist/display/icon/components/IconMicrosoftCalendar.d.ts +6 -0
- package/dist/display/icon/components/IconMicrosoftCalendar.d.ts.map +1 -0
- package/dist/display/icon/components/IconMicrosoftOutlook.d.ts +6 -0
- package/dist/display/icon/components/IconMicrosoftOutlook.d.ts.map +1 -0
- package/dist/display/icon/components/IconModelClaude.d.ts +6 -0
- package/dist/display/icon/components/IconModelClaude.d.ts.map +1 -0
- package/dist/display/icon/components/IconNogbaseStar.d.ts +6 -0
- package/dist/display/icon/components/IconNogbaseStar.d.ts.map +1 -0
- package/dist/display/icon/components/IconNogbaseStarFilled.d.ts +6 -0
- package/dist/display/icon/components/IconNogbaseStarFilled.d.ts.map +1 -0
- package/dist/display/icon/components/IconProviderOpenai.d.ts +6 -0
- package/dist/display/icon/components/IconProviderOpenai.d.ts.map +1 -0
- package/dist/display/icon/components/IconRelationManyToOne.d.ts +6 -0
- package/dist/display/icon/components/IconRelationManyToOne.d.ts.map +1 -0
- package/dist/display/icon/components/IconTrashXOff.d.ts +6 -0
- package/dist/display/icon/components/IconTrashXOff.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconArray.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconArray.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconCalendarEvent.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconCalendarEvent.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconCalendarTime.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconCalendarTime.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconCurrency.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconCurrency.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconFile.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconFile.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconJson.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconJson.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconLink.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconLink.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconMail.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconMail.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconManyToMany.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconManyToMany.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconMap.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconMap.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconNumbers.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconNumbers.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconOneToMany.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconOneToMany.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconOneToOne.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconOneToOne.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconPhone.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconPhone.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconSetting.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconSetting.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconStar.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconStar.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconTag.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconTag.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconTags.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconTags.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconText.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconText.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconToggle.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconToggle.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconUid.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconUid.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconUser.d.ts +6 -0
- package/dist/display/icon/components/IllustrationIconUser.d.ts.map +1 -0
- package/dist/display/icon/components/IllustrationIconWrapper.d.ts +2 -0
- package/dist/display/icon/components/IllustrationIconWrapper.d.ts.map +1 -0
- package/dist/display/icon/components/TablerIcons.d.ts +3 -0
- package/dist/display/icon/components/TablerIcons.d.ts.map +1 -0
- package/dist/display/icon/components/ThinkingOrbitLoaderIcon.d.ts +6 -0
- package/dist/display/icon/components/ThinkingOrbitLoaderIcon.d.ts.map +1 -0
- package/dist/display/icon/hooks/useIcons.d.ts +5 -0
- package/dist/display/icon/hooks/useIcons.d.ts.map +1 -0
- package/dist/display/icon/providers/IconsProvider.d.ts +6 -0
- package/dist/display/icon/providers/IconsProvider.d.ts.map +1 -0
- package/dist/display/icon/providers/internal/AllIcons.d.ts +4185 -0
- package/dist/display/icon/providers/internal/AllIcons.d.ts.map +1 -0
- package/dist/display/icon/states/iconsState.d.ts +6 -0
- package/dist/display/icon/states/iconsState.d.ts.map +1 -0
- package/dist/display/icon/types/IconComponent.d.ts +11 -0
- package/dist/display/icon/types/IconComponent.d.ts.map +1 -0
- package/dist/display/index.d.ts +95 -0
- package/dist/display/index.d.ts.map +1 -0
- package/dist/display/info/components/Info.d.ts +12 -0
- package/dist/display/info/components/Info.d.ts.map +1 -0
- package/dist/display/status/components/Status.d.ts +13 -0
- package/dist/display/status/components/Status.d.ts.map +1 -0
- package/dist/display/text/components/HorizontalSeparator.d.ts +11 -0
- package/dist/display/text/components/HorizontalSeparator.d.ts.map +1 -0
- package/dist/display/text/components/SeparatorLineText.d.ts +4 -0
- package/dist/display/text/components/SeparatorLineText.d.ts.map +1 -0
- package/dist/display/tinted-icon-tile/components/StyledTintedIconTileContainer.d.ts +6 -0
- package/dist/display/tinted-icon-tile/components/StyledTintedIconTileContainer.d.ts.map +1 -0
- package/dist/display/tinted-icon-tile/components/TintedIconTile.d.ts +10 -0
- package/dist/display/tinted-icon-tile/components/TintedIconTile.d.ts.map +1 -0
- package/dist/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant.d.ts +6 -0
- package/dist/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant.d.ts.map +1 -0
- package/dist/display/tinted-icon-tile/internal/utils/getColorFromTheme.d.ts +4 -0
- package/dist/display/tinted-icon-tile/internal/utils/getColorFromTheme.d.ts.map +1 -0
- package/dist/display/tinted-icon-tile/utils/getIconTileColorShades.d.ts +7 -0
- package/dist/display/tinted-icon-tile/utils/getIconTileColorShades.d.ts.map +1 -0
- package/dist/display/tooltip/AppTooltip.d.ts +31 -0
- package/dist/display/tooltip/AppTooltip.d.ts.map +1 -0
- package/dist/display/tooltip/OverflowingTextWithTooltip.d.ts +19 -0
- package/dist/display/tooltip/OverflowingTextWithTooltip.d.ts.map +1 -0
- package/dist/display/typography/components/H1Title.d.ts +15 -0
- package/dist/display/typography/components/H1Title.d.ts.map +1 -0
- package/dist/display/typography/components/H2Title.d.ts +9 -0
- package/dist/display/typography/components/H2Title.d.ts.map +1 -0
- package/dist/display/typography/components/H3Title.d.ts +10 -0
- package/dist/display/typography/components/H3Title.d.ts.map +1 -0
- package/dist/display/typography/components/Label.d.ts +9 -0
- package/dist/display/typography/components/Label.d.ts.map +1 -0
- package/dist/display/typography/components/StyledText.d.ts +14 -0
- package/dist/display/typography/components/StyledText.d.ts.map +1 -0
- package/dist/display.cjs +1 -0
- package/dist/display.mjs +1926 -0
- package/dist/feedback/index.d.ts +6 -0
- package/dist/feedback/index.d.ts.map +1 -0
- package/dist/feedback/loader/components/Loader.d.ts +8 -0
- package/dist/feedback/loader/components/Loader.d.ts.map +1 -0
- package/dist/feedback/progress-bar/components/CircularProgressBar.d.ts +8 -0
- package/dist/feedback/progress-bar/components/CircularProgressBar.d.ts.map +1 -0
- package/dist/feedback/progress-bar/components/ProgressBar.d.ts +14 -0
- package/dist/feedback/progress-bar/components/ProgressBar.d.ts.map +1 -0
- package/dist/feedback/progress-bar/hooks/useProgressAnimation.d.ts +13 -0
- package/dist/feedback/progress-bar/hooks/useProgressAnimation.d.ts.map +1 -0
- package/dist/feedback.cjs +1 -0
- package/dist/feedback.mjs +128 -0
- package/dist/getDisplayValueByUrlType-B64lHVXJ.cjs +1 -0
- package/dist/getDisplayValueByUrlType-DsRKFto7.js +25 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/individual-entry.d.ts +12 -0
- package/dist/individual-entry.d.ts.map +1 -0
- package/dist/input/button/components/AnimatedButton.d.ts +10 -0
- package/dist/input/button/components/AnimatedButton.d.ts.map +1 -0
- package/dist/input/button/components/AnimatedLightIconButton.d.ts +19 -0
- package/dist/input/button/components/AnimatedLightIconButton.d.ts.map +1 -0
- package/dist/input/button/components/Button/Button.d.ts +33 -0
- package/dist/input/button/components/Button/Button.d.ts.map +1 -0
- package/dist/input/button/components/Button/constant.d.ts +2 -0
- package/dist/input/button/components/Button/constant.d.ts.map +1 -0
- package/dist/input/button/components/Button/internal/ButtonHotKeys.d.ts +9 -0
- package/dist/input/button/components/Button/internal/ButtonHotKeys.d.ts.map +1 -0
- package/dist/input/button/components/Button/internal/ButtonIcon.d.ts +7 -0
- package/dist/input/button/components/Button/internal/ButtonIcon.d.ts.map +1 -0
- package/dist/input/button/components/Button/internal/ButtonSoon.d.ts +6 -0
- package/dist/input/button/components/Button/internal/ButtonSoon.d.ts.map +1 -0
- package/dist/input/button/components/Button/internal/ButtonText.d.ts +6 -0
- package/dist/input/button/components/Button/internal/ButtonText.d.ts.map +1 -0
- package/dist/input/button/components/ButtonGroup.d.ts +9 -0
- package/dist/input/button/components/ButtonGroup.d.ts.map +1 -0
- package/dist/input/button/components/ColorPickerButton.d.ts +9 -0
- package/dist/input/button/components/ColorPickerButton.d.ts.map +1 -0
- package/dist/input/button/components/FloatingButton.d.ts +18 -0
- package/dist/input/button/components/FloatingButton.d.ts.map +1 -0
- package/dist/input/button/components/FloatingButtonGroup.d.ts +9 -0
- package/dist/input/button/components/FloatingButtonGroup.d.ts.map +1 -0
- package/dist/input/button/components/FloatingIconButton.d.ts +19 -0
- package/dist/input/button/components/FloatingIconButton.d.ts.map +1 -0
- package/dist/input/button/components/FloatingIconButtonGroup.d.ts +13 -0
- package/dist/input/button/components/FloatingIconButtonGroup.d.ts.map +1 -0
- package/dist/input/button/components/IconButton.d.ts +23 -0
- package/dist/input/button/components/IconButton.d.ts.map +1 -0
- package/dist/input/button/components/IconButtonGroup.d.ts +13 -0
- package/dist/input/button/components/IconButtonGroup.d.ts.map +1 -0
- package/dist/input/button/components/InsideButton.d.ts +11 -0
- package/dist/input/button/components/InsideButton.d.ts.map +1 -0
- package/dist/input/button/components/LightButton.d.ts +17 -0
- package/dist/input/button/components/LightButton.d.ts.map +1 -0
- package/dist/input/button/components/LightIconButton.d.ts +19 -0
- package/dist/input/button/components/LightIconButton.d.ts.map +1 -0
- package/dist/input/button/components/LightIconButtonGroup.d.ts +19 -0
- package/dist/input/button/components/LightIconButtonGroup.d.ts.map +1 -0
- package/dist/input/button/components/MainButton.d.ts +19 -0
- package/dist/input/button/components/MainButton.d.ts.map +1 -0
- package/dist/input/button/components/RoundedIconButton.d.ts +10 -0
- package/dist/input/button/components/RoundedIconButton.d.ts.map +1 -0
- package/dist/input/button/components/TabButton/TabButton.d.ts +22 -0
- package/dist/input/button/components/TabButton/TabButton.d.ts.map +1 -0
- package/dist/input/button/components/TabButton/internals/components/StyledTabBase.d.ts +13 -0
- package/dist/input/button/components/TabButton/internals/components/StyledTabBase.d.ts.map +1 -0
- package/dist/input/button/components/TabButton/internals/components/TabContent.d.ts +17 -0
- package/dist/input/button/components/TabButton/internals/components/TabContent.d.ts.map +1 -0
- package/dist/input/code-editor/components/CodeEditor.d.ts +15 -0
- package/dist/input/code-editor/components/CodeEditor.d.ts.map +1 -0
- package/dist/input/code-editor/components/CodeEditorHeader.d.ts +7 -0
- package/dist/input/code-editor/components/CodeEditorHeader.d.ts.map +1 -0
- package/dist/input/code-editor/constants/BaseCodeEditorThemeId.d.ts +2 -0
- package/dist/input/code-editor/constants/BaseCodeEditorThemeId.d.ts.map +1 -0
- package/dist/input/code-editor/index.d.ts +4 -0
- package/dist/input/code-editor/index.d.ts.map +1 -0
- package/dist/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts +5 -0
- package/dist/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts.map +1 -0
- package/dist/input/color-scheme/components/ColorSchemeCard.d.ts +15 -0
- package/dist/input/color-scheme/components/ColorSchemeCard.d.ts.map +1 -0
- package/dist/input/color-scheme/components/ColorSchemePicker.d.ts +12 -0
- package/dist/input/color-scheme/components/ColorSchemePicker.d.ts.map +1 -0
- package/dist/input/components/CardPicker.d.ts +10 -0
- package/dist/input/components/CardPicker.d.ts.map +1 -0
- package/dist/input/components/Checkbox.d.ts +34 -0
- package/dist/input/components/Checkbox.d.ts.map +1 -0
- package/dist/input/components/IconListViewGrip.d.ts +6 -0
- package/dist/input/components/IconListViewGrip.d.ts.map +1 -0
- package/dist/input/components/Radio.d.ts +33 -0
- package/dist/input/components/Radio.d.ts.map +1 -0
- package/dist/input/components/RadioGroup.d.ts +10 -0
- package/dist/input/components/RadioGroup.d.ts.map +1 -0
- package/dist/input/components/SearchInput.d.ts +13 -0
- package/dist/input/components/SearchInput.d.ts.map +1 -0
- package/dist/input/components/Toggle.d.ts +13 -0
- package/dist/input/components/Toggle.d.ts.map +1 -0
- package/dist/input/index.d.ts +60 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/types/ColorScheme.d.ts +2 -0
- package/dist/input/types/ColorScheme.d.ts.map +1 -0
- package/dist/input/types/SelectOption.d.ts +14 -0
- package/dist/input/types/SelectOption.d.ts.map +1 -0
- package/dist/input.cjs +5 -0
- package/dist/input.mjs +1380 -0
- package/dist/json-visualizer/components/JsonArrayNode.d.ts +11 -0
- package/dist/json-visualizer/components/JsonArrayNode.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonNestedNode.d.ts +19 -0
- package/dist/json-visualizer/components/JsonNestedNode.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonNode.d.ts +9 -0
- package/dist/json-visualizer/components/JsonNode.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonObjectNode.d.ts +11 -0
- package/dist/json-visualizer/components/JsonObjectNode.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonTree.d.ts +16 -0
- package/dist/json-visualizer/components/JsonTree.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonTreeContextProvider.d.ts +7 -0
- package/dist/json-visualizer/components/JsonTreeContextProvider.d.ts.map +1 -0
- package/dist/json-visualizer/components/JsonValueNode.d.ts +16 -0
- package/dist/json-visualizer/components/JsonValueNode.d.ts.map +1 -0
- package/dist/json-visualizer/components/internal/JsonArrow.d.ts +6 -0
- package/dist/json-visualizer/components/internal/JsonArrow.d.ts.map +1 -0
- package/dist/json-visualizer/components/internal/JsonList.d.ts +5 -0
- package/dist/json-visualizer/components/internal/JsonList.d.ts.map +1 -0
- package/dist/json-visualizer/components/internal/JsonListItem.d.ts +3 -0
- package/dist/json-visualizer/components/internal/JsonListItem.d.ts.map +1 -0
- package/dist/json-visualizer/components/internal/JsonNodeLabel.d.ts +9 -0
- package/dist/json-visualizer/components/internal/JsonNodeLabel.d.ts.map +1 -0
- package/dist/json-visualizer/components/internal/JsonNodeValue.d.ts +7 -0
- package/dist/json-visualizer/components/internal/JsonNodeValue.d.ts.map +1 -0
- package/dist/json-visualizer/contexts/JsonTreeContext.d.ts +18 -0
- package/dist/json-visualizer/contexts/JsonTreeContext.d.ts.map +1 -0
- package/dist/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts +2 -0
- package/dist/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts.map +1 -0
- package/dist/json-visualizer/index.d.ts +15 -0
- package/dist/json-visualizer/index.d.ts.map +1 -0
- package/dist/json-visualizer/types/GetJsonNodeHighlighting.d.ts +4 -0
- package/dist/json-visualizer/types/GetJsonNodeHighlighting.d.ts.map +1 -0
- package/dist/json-visualizer/types/JsonNodeHighlighting.d.ts +4 -0
- package/dist/json-visualizer/types/JsonNodeHighlighting.d.ts.map +1 -0
- package/dist/json-visualizer/utils/isArray.d.ts +2 -0
- package/dist/json-visualizer/utils/isArray.d.ts.map +1 -0
- package/dist/json-visualizer/utils/isTwoFirstDepths.d.ts +4 -0
- package/dist/json-visualizer/utils/isTwoFirstDepths.d.ts.map +1 -0
- package/dist/json-visualizer.cjs +7 -0
- package/dist/json-visualizer.mjs +344 -0
- package/dist/jsx-runtime-CycUbF8Y.cjs +9 -0
- package/dist/jsx-runtime-R4VT8aVc.js +600 -0
- package/dist/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts +17 -0
- package/dist/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/types/AnimationDimension.d.ts +2 -0
- package/dist/layout/animated-expandable-container/types/AnimationDimension.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/types/AnimationDurationObject.d.ts +5 -0
- package/dist/layout/animated-expandable-container/types/AnimationDurationObject.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/types/AnimationDurations.d.ts +4 -0
- package/dist/layout/animated-expandable-container/types/AnimationDurations.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/types/AnimationMode.d.ts +2 -0
- package/dist/layout/animated-expandable-container/types/AnimationMode.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/types/AnimationSize.d.ts +2 -0
- package/dist/layout/animated-expandable-container/types/AnimationSize.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/utils/getCommonStyles.d.ts +16 -0
- package/dist/layout/animated-expandable-container/utils/getCommonStyles.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts +45 -0
- package/dist/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts.map +1 -0
- package/dist/layout/animated-expandable-container/utils/getTransitionValues.d.ts +15 -0
- package/dist/layout/animated-expandable-container/utils/getTransitionValues.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts +10 -0
- package/dist/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts +25 -0
- package/dist/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts +5 -0
- package/dist/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/constants/Background.d.ts +2 -0
- package/dist/layout/animated-placeholder/constants/Background.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/constants/DarkBackground.d.ts +2 -0
- package/dist/layout/animated-placeholder/constants/DarkBackground.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/constants/DarkMovingImage.d.ts +2 -0
- package/dist/layout/animated-placeholder/constants/DarkMovingImage.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/constants/MovingImage.d.ts +2 -0
- package/dist/layout/animated-placeholder/constants/MovingImage.d.ts.map +1 -0
- package/dist/layout/animated-placeholder/index.d.ts +8 -0
- package/dist/layout/animated-placeholder/index.d.ts.map +1 -0
- package/dist/layout/card/components/Card.d.ts +10 -0
- package/dist/layout/card/components/Card.d.ts.map +1 -0
- package/dist/layout/card/components/CardContent.d.ts +294 -0
- package/dist/layout/card/components/CardContent.d.ts.map +1 -0
- package/dist/layout/card/components/CardFooter.d.ts +8 -0
- package/dist/layout/card/components/CardFooter.d.ts.map +1 -0
- package/dist/layout/card/components/CardHeader.d.ts +6 -0
- package/dist/layout/card/components/CardHeader.d.ts.map +1 -0
- package/dist/layout/index.d.ts +37 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/modal/components/Modal.d.ts +4 -0
- package/dist/layout/modal/components/Modal.d.ts.map +1 -0
- package/dist/layout/modal/components/ModalBackdrop.d.ts +8 -0
- package/dist/layout/modal/components/ModalBackdrop.d.ts.map +1 -0
- package/dist/layout/modal/components/ModalContent.d.ts +12 -0
- package/dist/layout/modal/components/ModalContent.d.ts.map +1 -0
- package/dist/layout/modal/components/ModalFooter.d.ts +10 -0
- package/dist/layout/modal/components/ModalFooter.d.ts.map +1 -0
- package/dist/layout/modal/components/ModalHeader.d.ts +11 -0
- package/dist/layout/modal/components/ModalHeader.d.ts.map +1 -0
- package/dist/layout/modal/index.d.ts +13 -0
- package/dist/layout/modal/index.d.ts.map +1 -0
- package/dist/layout/modal/types/ModalOverlay.d.ts +2 -0
- package/dist/layout/modal/types/ModalOverlay.d.ts.map +1 -0
- package/dist/layout/modal/types/ModalPadding.d.ts +2 -0
- package/dist/layout/modal/types/ModalPadding.d.ts.map +1 -0
- package/dist/layout/modal/types/ModalProps.d.ts +26 -0
- package/dist/layout/modal/types/ModalProps.d.ts.map +1 -0
- package/dist/layout/modal/types/ModalSize.d.ts +2 -0
- package/dist/layout/modal/types/ModalSize.d.ts.map +1 -0
- package/dist/layout/resize-handle/components/ResizeHandle.d.ts +11 -0
- package/dist/layout/resize-handle/components/ResizeHandle.d.ts.map +1 -0
- package/dist/layout/resize-handle/hooks/useResizeHandle.d.ts +12 -0
- package/dist/layout/resize-handle/hooks/useResizeHandle.d.ts.map +1 -0
- package/dist/layout/section/components/Section.d.ts +21 -0
- package/dist/layout/section/components/Section.d.ts.map +1 -0
- package/dist/layout.cjs +1 -0
- package/dist/layout.mjs +599 -0
- package/dist/linkifyText-DZevSX0n.cjs +1 -0
- package/dist/linkifyText-isyikTlq.js +12 -0
- package/dist/navigation/index.d.ts +50 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/link/components/AdvancedSettingsToggle.d.ts +8 -0
- package/dist/navigation/link/components/AdvancedSettingsToggle.d.ts.map +1 -0
- package/dist/navigation/link/components/ClickToActionLink.d.ts +8 -0
- package/dist/navigation/link/components/ClickToActionLink.d.ts.map +1 -0
- package/dist/navigation/link/components/ContactLink.d.ts +10 -0
- package/dist/navigation/link/components/ContactLink.d.ts.map +1 -0
- package/dist/navigation/link/components/GithubVersionLink.d.ts +6 -0
- package/dist/navigation/link/components/GithubVersionLink.d.ts.map +1 -0
- package/dist/navigation/link/components/RawLink.d.ts +10 -0
- package/dist/navigation/link/components/RawLink.d.ts.map +1 -0
- package/dist/navigation/link/components/RoundedLink.d.ts +9 -0
- package/dist/navigation/link/components/RoundedLink.d.ts.map +1 -0
- package/dist/navigation/link/components/SocialLink.d.ts +16 -0
- package/dist/navigation/link/components/SocialLink.d.ts.map +1 -0
- package/dist/navigation/link/components/UndecoratedLink.d.ts +12 -0
- package/dist/navigation/link/components/UndecoratedLink.d.ts.map +1 -0
- package/dist/navigation/link/components/index.d.ts +9 -0
- package/dist/navigation/link/components/index.d.ts.map +1 -0
- package/dist/navigation/link/constants/Cal.d.ts +2 -0
- package/dist/navigation/link/constants/Cal.d.ts.map +1 -0
- package/dist/navigation/link/constants/GithubLink.d.ts +2 -0
- package/dist/navigation/link/constants/GithubLink.d.ts.map +1 -0
- package/dist/navigation/link/constants/NogbasePricingLink.d.ts +2 -0
- package/dist/navigation/link/constants/NogbasePricingLink.d.ts.map +1 -0
- package/dist/navigation/link/index.d.ts +4 -0
- package/dist/navigation/link/index.d.ts.map +1 -0
- package/dist/navigation/menu/components/MenuPicker.d.ts +18 -0
- package/dist/navigation/menu/components/MenuPicker.d.ts.map +1 -0
- package/dist/navigation/menu/components/index.d.ts +2 -0
- package/dist/navigation/menu/components/index.d.ts.map +1 -0
- package/dist/navigation/menu/index.d.ts +3 -0
- package/dist/navigation/menu/index.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItem.d.ts +46 -0
- package/dist/navigation/menu/menu-item/components/MenuItem.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemAvatar.d.ts +22 -0
- package/dist/navigation/menu/menu-item/components/MenuItemAvatar.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemDraggable.d.ts +23 -0
- package/dist/navigation/menu/menu-item/components/MenuItemDraggable.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts +6 -0
- package/dist/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts +17 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts +14 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts +15 -0
- package/dist/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemNavigate.d.ts +11 -0
- package/dist/navigation/menu/menu-item/components/MenuItemNavigate.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelect.d.ts +27 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelect.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts +16 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts +17 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts +17 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts +15 -0
- package/dist/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/MenuItemToggle.d.ts +16 -0
- package/dist/navigation/menu/menu-item/components/MenuItemToggle.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/components/index.d.ts +16 -0
- package/dist/navigation/menu/menu-item/components/index.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/constants/DefaultColorLabels.d.ts +5 -0
- package/dist/navigation/menu/menu-item/constants/DefaultColorLabels.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/index.d.ts +5 -0
- package/dist/navigation/menu/menu-item/index.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIcon.d.ts +11 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIcon.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.d.ts +9 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.d.ts +11 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts +21 -0
- package/dist/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts +27 -0
- package/dist/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/types/MenuItemAccent.d.ts +2 -0
- package/dist/navigation/menu/menu-item/types/MenuItemAccent.d.ts.map +1 -0
- package/dist/navigation/menu/menu-item/types/MenuItemDraggableGripMode.d.ts +2 -0
- package/dist/navigation/menu/menu-item/types/MenuItemDraggableGripMode.d.ts.map +1 -0
- package/dist/navigation/navigation-bar/components/NavigationBar.d.ts +13 -0
- package/dist/navigation/navigation-bar/components/NavigationBar.d.ts.map +1 -0
- package/dist/navigation/navigation-bar/components/NavigationBarItem.d.ts +10 -0
- package/dist/navigation/navigation-bar/components/NavigationBarItem.d.ts.map +1 -0
- package/dist/navigation/notification-counter/components/NotificationCounter.d.ts +8 -0
- package/dist/navigation/notification-counter/components/NotificationCounter.d.ts.map +1 -0
- package/dist/navigation.cjs +1 -0
- package/dist/navigation.mjs +954 -0
- package/dist/parseThemeColor-B2R6aB0f.js +13 -0
- package/dist/parseThemeColor-D4ynze2R.cjs +1 -0
- package/dist/style.css +1 -0
- package/dist/testing/ComponentStorybookLayout.d.ts +9 -0
- package/dist/testing/ComponentStorybookLayout.d.ts.map +1 -0
- package/dist/testing/decorators/CatalogDecorator.d.ts +18 -0
- package/dist/testing/decorators/CatalogDecorator.d.ts.map +1 -0
- package/dist/testing/decorators/ComponentDecorator.d.ts +4 -0
- package/dist/testing/decorators/ComponentDecorator.d.ts.map +1 -0
- package/dist/testing/decorators/ComponentWithRouterDecorator.d.ts +11 -0
- package/dist/testing/decorators/ComponentWithRouterDecorator.d.ts.map +1 -0
- package/dist/testing/decorators/JotaiRootDecorator.d.ts +4 -0
- package/dist/testing/decorators/JotaiRootDecorator.d.ts.map +1 -0
- package/dist/testing/decorators/RouterDecorator.d.ts +4 -0
- package/dist/testing/decorators/RouterDecorator.d.ts.map +1 -0
- package/dist/testing/index.d.ts +11 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/mocks/avatarUrlMock.d.ts +2 -0
- package/dist/testing/mocks/avatarUrlMock.d.ts.map +1 -0
- package/dist/testing/types/CatalogStory.d.ts +18 -0
- package/dist/testing/types/CatalogStory.d.ts.map +1 -0
- package/dist/testing.cjs +3 -0
- package/dist/testing.mjs +172 -0
- package/dist/theme/constants/AccentDark.d.ts +21 -0
- package/dist/theme/constants/AccentDark.d.ts.map +1 -0
- package/dist/theme/constants/AccentLight.d.ts +21 -0
- package/dist/theme/constants/AccentLight.d.ts.map +1 -0
- package/dist/theme/constants/Animation.d.ts +10 -0
- package/dist/theme/constants/Animation.d.ts.map +1 -0
- package/dist/theme/constants/BackgroundDark.d.ts +30 -0
- package/dist/theme/constants/BackgroundDark.d.ts.map +1 -0
- package/dist/theme/constants/BackgroundLight.d.ts +30 -0
- package/dist/theme/constants/BackgroundLight.d.ts.map +1 -0
- package/dist/theme/constants/BlurDark.d.ts +6 -0
- package/dist/theme/constants/BlurDark.d.ts.map +1 -0
- package/dist/theme/constants/BlurLight.d.ts +6 -0
- package/dist/theme/constants/BlurLight.d.ts.map +1 -0
- package/dist/theme/constants/BorderCommon.d.ts +12 -0
- package/dist/theme/constants/BorderCommon.d.ts.map +1 -0
- package/dist/theme/constants/BorderDark.d.ts +22 -0
- package/dist/theme/constants/BorderDark.d.ts.map +1 -0
- package/dist/theme/constants/BorderLight.d.ts +22 -0
- package/dist/theme/constants/BorderLight.d.ts.map +1 -0
- package/dist/theme/constants/BoxShadowDark.d.ts +8 -0
- package/dist/theme/constants/BoxShadowDark.d.ts.map +1 -0
- package/dist/theme/constants/BoxShadowLight.d.ts +8 -0
- package/dist/theme/constants/BoxShadowLight.d.ts.map +1 -0
- package/dist/theme/constants/CodeDark.d.ts +13 -0
- package/dist/theme/constants/CodeDark.d.ts.map +1 -0
- package/dist/theme/constants/CodeLight.d.ts +13 -0
- package/dist/theme/constants/CodeLight.d.ts.map +1 -0
- package/dist/theme/constants/ColorsDark.d.ts +750 -0
- package/dist/theme/constants/ColorsDark.d.ts.map +1 -0
- package/dist/theme/constants/ColorsLight.d.ts +750 -0
- package/dist/theme/constants/ColorsLight.d.ts.map +1 -0
- package/dist/theme/constants/DefaultThemeColorFallback.d.ts +4 -0
- package/dist/theme/constants/DefaultThemeColorFallback.d.ts.map +1 -0
- package/dist/theme/constants/FontCommon.d.ts +18 -0
- package/dist/theme/constants/FontCommon.d.ts.map +1 -0
- package/dist/theme/constants/FontDark.d.ts +27 -0
- package/dist/theme/constants/FontDark.d.ts.map +1 -0
- package/dist/theme/constants/FontLight.d.ts +27 -0
- package/dist/theme/constants/FontLight.d.ts.map +1 -0
- package/dist/theme/constants/GrayScaleDark.d.ts +15 -0
- package/dist/theme/constants/GrayScaleDark.d.ts.map +1 -0
- package/dist/theme/constants/GrayScaleDarkAlpha.d.ts +15 -0
- package/dist/theme/constants/GrayScaleDarkAlpha.d.ts.map +1 -0
- package/dist/theme/constants/GrayScaleLight.d.ts +15 -0
- package/dist/theme/constants/GrayScaleLight.d.ts.map +1 -0
- package/dist/theme/constants/GrayScaleLightAlpha.d.ts +15 -0
- package/dist/theme/constants/GrayScaleLightAlpha.d.ts.map +1 -0
- package/dist/theme/constants/Icon.d.ts +14 -0
- package/dist/theme/constants/Icon.d.ts.map +1 -0
- package/dist/theme/constants/IllustrationIconDark.d.ts +11 -0
- package/dist/theme/constants/IllustrationIconDark.d.ts.map +1 -0
- package/dist/theme/constants/IllustrationIconLight.d.ts +11 -0
- package/dist/theme/constants/IllustrationIconLight.d.ts.map +1 -0
- package/dist/theme/constants/MainColorNames.d.ts +5 -0
- package/dist/theme/constants/MainColorNames.d.ts.map +1 -0
- package/dist/theme/constants/MainColorsDark.d.ts +28 -0
- package/dist/theme/constants/MainColorsDark.d.ts.map +1 -0
- package/dist/theme/constants/MainColorsLight.d.ts +28 -0
- package/dist/theme/constants/MainColorsLight.d.ts.map +1 -0
- package/dist/theme/constants/Modal.d.ts +9 -0
- package/dist/theme/constants/Modal.d.ts.map +1 -0
- package/dist/theme/constants/Rgba.d.ts +2 -0
- package/dist/theme/constants/Rgba.d.ts.map +1 -0
- package/dist/theme/constants/SecondaryColorsDark.d.ts +363 -0
- package/dist/theme/constants/SecondaryColorsDark.d.ts.map +1 -0
- package/dist/theme/constants/SecondaryColorsLight.d.ts +363 -0
- package/dist/theme/constants/SecondaryColorsLight.d.ts.map +1 -0
- package/dist/theme/constants/SnackBarDark.d.ts +23 -0
- package/dist/theme/constants/SnackBarDark.d.ts.map +1 -0
- package/dist/theme/constants/SnackBarLight.d.ts +23 -0
- package/dist/theme/constants/SnackBarLight.d.ts.map +1 -0
- package/dist/theme/constants/TagDark.d.ts +67 -0
- package/dist/theme/constants/TagDark.d.ts.map +1 -0
- package/dist/theme/constants/TagLight.d.ts +67 -0
- package/dist/theme/constants/TagLight.d.ts.map +1 -0
- package/dist/theme/constants/Text.d.ts +12 -0
- package/dist/theme/constants/Text.d.ts.map +1 -0
- package/dist/theme/constants/ThemeCommon.d.ts +57 -0
- package/dist/theme/constants/ThemeCommon.d.ts.map +1 -0
- package/dist/theme/constants/ThemeDark.d.ts +4 -0
- package/dist/theme/constants/ThemeDark.d.ts.map +1 -0
- package/dist/theme/constants/ThemeLight.d.ts +1039 -0
- package/dist/theme/constants/ThemeLight.d.ts.map +1 -0
- package/dist/theme/constants/TransparentColorsDark.d.ts +363 -0
- package/dist/theme/constants/TransparentColorsDark.d.ts.map +1 -0
- package/dist/theme/constants/TransparentColorsLight.d.ts +363 -0
- package/dist/theme/constants/TransparentColorsLight.d.ts.map +1 -0
- package/dist/theme/index.d.ts +47 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme-constants/ThemeProvider.d.ts +56 -0
- package/dist/theme-constants/ThemeProvider.d.ts.map +1 -0
- package/dist/theme-constants/constants.d.ts +2 -0
- package/dist/theme-constants/constants.d.ts.map +1 -0
- package/dist/theme-constants/getNextThemeColor.d.ts +4 -0
- package/dist/theme-constants/getNextThemeColor.d.ts.map +1 -0
- package/dist/theme-constants/index.d.ts +6 -0
- package/dist/theme-constants/index.d.ts.map +1 -0
- package/dist/theme-constants/themeCssVariables.d.ts +1088 -0
- package/dist/theme-constants/themeCssVariables.d.ts.map +1 -0
- package/dist/theme-constants.cjs +1 -0
- package/dist/theme-constants.mjs +18 -0
- package/dist/theme-dark.css +1007 -0
- package/dist/theme-light.css +1008 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.mjs +2064 -0
- package/dist/themeCssVariables-CBmoYPJ3.js +1090 -0
- package/dist/themeCssVariables-DswYV7vR.cjs +1 -0
- package/dist/useIsMobile-BhDUpJrC.cjs +1 -0
- package/dist/useIsMobile-CVMKHNZ4.js +11 -0
- package/dist/useMouseDownNavigation-BC4MjafL.js +35 -0
- package/dist/useMouseDownNavigation-CJhNSdDB.cjs +1 -0
- package/dist/useResizeHandle-BL0vTx8N.js +42 -0
- package/dist/useResizeHandle-CTxFjJ7o.cjs +1 -0
- package/dist/utilities/animation/components/AnimatedCircleLoading.d.ts +6 -0
- package/dist/utilities/animation/components/AnimatedCircleLoading.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedContainer.d.ts +6 -0
- package/dist/utilities/animation/components/AnimatedContainer.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedEaseIn.d.ts +9 -0
- package/dist/utilities/animation/components/AnimatedEaseIn.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedEaseInOut.d.ts +13 -0
- package/dist/utilities/animation/components/AnimatedEaseInOut.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedFadeOut.d.ts +12 -0
- package/dist/utilities/animation/components/AnimatedFadeOut.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedIconCrossfade.d.ts +11 -0
- package/dist/utilities/animation/components/AnimatedIconCrossfade.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedRotate.d.ts +10 -0
- package/dist/utilities/animation/components/AnimatedRotate.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedTextWord.d.ts +9 -0
- package/dist/utilities/animation/components/AnimatedTextWord.d.ts.map +1 -0
- package/dist/utilities/animation/components/AnimatedTranslation.d.ts +6 -0
- package/dist/utilities/animation/components/AnimatedTranslation.d.ts.map +1 -0
- package/dist/utilities/animation/index.d.ts +9 -0
- package/dist/utilities/animation/index.d.ts.map +1 -0
- package/dist/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts +4 -0
- package/dist/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts.map +1 -0
- package/dist/utilities/color/utils/parseThemeColor.d.ts +4 -0
- package/dist/utilities/color/utils/parseThemeColor.d.ts.map +1 -0
- package/dist/utilities/color/utils/stringToThemeColorP3String.d.ts +10 -0
- package/dist/utilities/color/utils/stringToThemeColorP3String.d.ts.map +1 -0
- package/dist/utilities/color/utils/themeColorSchema.d.ts +30 -0
- package/dist/utilities/color/utils/themeColorSchema.d.ts.map +1 -0
- package/dist/utilities/config.d.ts +2 -0
- package/dist/utilities/config.d.ts.map +1 -0
- package/dist/utilities/device/getOsControlSymbol.d.ts +2 -0
- package/dist/utilities/device/getOsControlSymbol.d.ts.map +1 -0
- package/dist/utilities/device/getOsShortcutSeparator.d.ts +2 -0
- package/dist/utilities/device/getOsShortcutSeparator.d.ts.map +1 -0
- package/dist/utilities/device/getUserDevice.d.ts +2 -0
- package/dist/utilities/device/getUserDevice.d.ts.map +1 -0
- package/dist/utilities/dimensions/components/AutogrowWrapper.d.ts +10 -0
- package/dist/utilities/dimensions/components/AutogrowWrapper.d.ts.map +1 -0
- package/dist/utilities/index.d.ts +31 -0
- package/dist/utilities/index.d.ts.map +1 -0
- package/dist/utilities/navigation/hooks/useMouseDownNavigation.d.ts +17 -0
- package/dist/utilities/navigation/hooks/useMouseDownNavigation.d.ts.map +1 -0
- package/dist/utilities/navigation/hooks/useResetLocationHash.d.ts +4 -0
- package/dist/utilities/navigation/hooks/useResetLocationHash.d.ts.map +1 -0
- package/dist/utilities/navigation/isNavigationModifierPressed.d.ts +4 -0
- package/dist/utilities/navigation/isNavigationModifierPressed.d.ts.map +1 -0
- package/dist/utilities/navigation/types/trigger-event.type.d.ts +2 -0
- package/dist/utilities/navigation/types/trigger-event.type.d.ts.map +1 -0
- package/dist/utilities/responsive/hooks/useIsMobile.d.ts +2 -0
- package/dist/utilities/responsive/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/utilities/screen-size/hooks/useScreenSize.d.ts +5 -0
- package/dist/utilities/screen-size/hooks/useScreenSize.d.ts.map +1 -0
- package/dist/utilities/state/utils/createState.d.ts +7 -0
- package/dist/utilities/state/utils/createState.d.ts.map +1 -0
- package/dist/utilities/types/ClickOutsideAttributes.d.ts +5 -0
- package/dist/utilities/types/ClickOutsideAttributes.d.ts.map +1 -0
- package/dist/utilities/types/Nullable.d.ts +2 -0
- package/dist/utilities/types/Nullable.d.ts.map +1 -0
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts +9 -0
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts.map +1 -0
- package/dist/utilities/utils/linkifyText.d.ts +6 -0
- package/dist/utilities/utils/linkifyText.d.ts.map +1 -0
- package/dist/utilities.cjs +1 -0
- package/dist/utilities.mjs +317 -0
- package/dist/utils-BsFkjDy5.js +5738 -0
- package/dist/utils-DOUsOuwI.cjs +25 -0
- package/package.json +233 -0
package/dist/input.mjs
ADDED
|
@@ -0,0 +1,1380 @@
|
|
|
1
|
+
import { j as n } from "./jsx-runtime-R4VT8aVc.js";
|
|
2
|
+
import { styled as l } from "@linaria/react";
|
|
3
|
+
import { u as ar, g as cr } from "./useIsMobile-CVMKHNZ4.js";
|
|
4
|
+
import { motion as A, useAnimation as dr, AnimatePresence as J } from "framer-motion";
|
|
5
|
+
import * as w from "react";
|
|
6
|
+
import j, { useContext as k, useMemo as tr, useState as M } from "react";
|
|
7
|
+
import { Link as Y } from "react-router-dom";
|
|
8
|
+
import { P as nr } from "./Pill-CzxYmDQR.js";
|
|
9
|
+
import { t as e } from "./themeCssVariables-CBmoYPJ3.js";
|
|
10
|
+
import { T as S } from "./ThemeProvider-CpY05Gd2.js";
|
|
11
|
+
import { G as f } from "./MainColorNames-syigy4-h.js";
|
|
12
|
+
import { C as N, I as lr, a as ir } from "./Checkmark-nXZm8BnM.js";
|
|
13
|
+
import { B as wt, L as At, b as zt } from "./Checkmark-nXZm8BnM.js";
|
|
14
|
+
import { o as B } from "./utils-BsFkjDy5.js";
|
|
15
|
+
import { L as pr, C as ur } from "./ColorSample-tgmSZ-F7.js";
|
|
16
|
+
import { C as Et, a as Tt, b as qt, c as Dt, d as Mt, L as Wt, T as Rt } from "./Toggle-DFCRkcpJ.js";
|
|
17
|
+
import { a as xr, A as mr, T as gr } from "./AppTooltip-BGyiynP0.js";
|
|
18
|
+
import br from "@monaco-editor/react";
|
|
19
|
+
import { L as hr } from "./Loader-CVqckhmU.js";
|
|
20
|
+
import { u as yr, R as fr } from "./useResizeHandle-BL0vTx8N.js";
|
|
21
|
+
import { G as z } from "./GrayScaleDark-DLZkJnfs.js";
|
|
22
|
+
const kr = (r, o, c, s, a, d) => {
|
|
23
|
+
const t = {
|
|
24
|
+
background: "transparent",
|
|
25
|
+
borderColor: "transparent",
|
|
26
|
+
borderWidthOverride: "",
|
|
27
|
+
boxShadow: "none",
|
|
28
|
+
color: e.font.color.secondary,
|
|
29
|
+
hoverBackground: "transparent",
|
|
30
|
+
activeBackground: "transparent"
|
|
31
|
+
};
|
|
32
|
+
switch (r) {
|
|
33
|
+
case "primary":
|
|
34
|
+
switch (c) {
|
|
35
|
+
case "default":
|
|
36
|
+
t.background = o ? e.background.primary : e.background.secondary, t.borderColor = o ? e.background.transparent.light : !s && a ? e.color.blue : e.background.transparent.light, t.borderWidthOverride = "1px 1px 1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.accent.tertiary}` : "none", t.color = o ? e.font.color.secondary : s ? e.font.color.extraLight : e.font.color.secondary, s ? (t.hoverBackground = t.background, t.activeBackground = t.background) : (t.hoverBackground = o ? e.background.secondary : e.background.tertiary, t.activeBackground = o ? e.background.tertiary : e.background.quaternary);
|
|
37
|
+
break;
|
|
38
|
+
case "blue":
|
|
39
|
+
t.background = o ? e.background.primary : e.color.blue, t.borderColor = o ? e.background.transparent.light : a ? e.color.blue : e.background.transparent.light, t.borderWidthOverride = "1px 1px 1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.accent.tertiary}` : "none", t.color = o ? e.color.blue : f.gray1, s ? (t.hoverBackground = t.background, t.activeBackground = t.background) : (t.hoverBackground = o ? e.background.secondary : e.color.blue10, t.activeBackground = o ? e.background.tertiary : e.color.blue12);
|
|
40
|
+
break;
|
|
41
|
+
case "danger":
|
|
42
|
+
t.background = o ? e.background.primary : e.color.red, t.borderColor = o ? e.background.transparent.light : a ? e.color.red : e.background.transparent.light, t.borderWidthOverride = "1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.color.red3}` : "none", t.color = o ? e.color.red : e.background.primary, s ? (t.hoverBackground = t.background, t.activeBackground = t.background) : (t.hoverBackground = o ? e.background.secondary : e.color.red8, t.activeBackground = o ? e.background.tertiary : e.color.red10);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
case "secondary":
|
|
47
|
+
case "tertiary":
|
|
48
|
+
switch (c) {
|
|
49
|
+
case "default":
|
|
50
|
+
t.background = "transparent", t.borderColor = o ? r === "secondary" ? a || s ? f.gray1 : e.background.transparent.primary : a ? f.gray1 : "transparent" : r === "secondary" ? !s && a ? e.color.blue : e.background.transparent.medium : a ? e.color.blue : "transparent", t.borderWidthOverride = "1px 1px 1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.accent.tertiary}` : "none", t.color = o ? e.font.color.inverted : s ? e.font.color.extraLight : e.font.color.secondary, t.hoverBackground = o ? e.background.transparent.light : s ? "transparent" : e.background.transparent.light, t.activeBackground = o ? e.background.transparent.medium : s ? "transparent" : e.background.transparent.light;
|
|
51
|
+
break;
|
|
52
|
+
case "blue":
|
|
53
|
+
t.background = "transparent", t.borderColor = o ? r === "secondary" ? a || s ? f.gray1 : e.background.transparent.primary : a ? f.gray1 : "transparent" : r === "secondary" ? a ? e.color.blue : e.accent.primary : a ? e.color.blue : "transparent", t.borderWidthOverride = "1px 1px 1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.accent.tertiary}` : "none", t.color = o ? e.font.color.inverted : s ? e.accent.accent4060 : e.color.blue, t.hoverBackground = o ? e.background.transparent.light : s ? "transparent" : e.accent.tertiary, t.activeBackground = o ? e.background.transparent.medium : s ? "transparent" : e.accent.secondary;
|
|
54
|
+
break;
|
|
55
|
+
case "danger":
|
|
56
|
+
t.background = "transparent", t.borderColor = o ? r === "secondary" ? a || s ? f.gray1 : e.background.transparent.primary : a ? f.gray1 : "transparent" : r === "secondary" ? a ? e.color.red : e.border.color.danger : a ? e.color.red : "transparent", t.borderWidthOverride = "1px 1px 1px 1px", t.boxShadow = !s && a ? `0 0 0 3px ${o ? e.background.transparent.medium : e.color.red3}` : "none", t.color = o ? e.font.color.inverted : e.font.color.danger, t.hoverBackground = o ? e.background.transparent.light : s ? "transparent" : e.background.danger, t.activeBackground = o ? e.background.transparent.medium : s ? "transparent" : e.background.danger;
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
if (t.borderWidthOverride !== "" && d !== "standalone")
|
|
62
|
+
switch (d) {
|
|
63
|
+
case "left":
|
|
64
|
+
t.borderWidthOverride = "1px 0px 1px 1px";
|
|
65
|
+
break;
|
|
66
|
+
case "middle":
|
|
67
|
+
t.borderWidthOverride = "1px 0px 1px 0px";
|
|
68
|
+
break;
|
|
69
|
+
case "right":
|
|
70
|
+
t.borderWidthOverride = "1px 1px 1px 0px";
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
return t;
|
|
74
|
+
}, Sr = () => ({
|
|
75
|
+
position: r
|
|
76
|
+
}) => {
|
|
77
|
+
switch (r) {
|
|
78
|
+
case "left":
|
|
79
|
+
return `${e.border.radius.sm} 0px 0px ${e.border.radius.sm}`;
|
|
80
|
+
case "right":
|
|
81
|
+
return `0px ${e.border.radius.sm} ${e.border.radius.sm} 0px`;
|
|
82
|
+
case "middle":
|
|
83
|
+
return "0px";
|
|
84
|
+
case "standalone":
|
|
85
|
+
return e.border.radius.sm;
|
|
86
|
+
}
|
|
87
|
+
return "";
|
|
88
|
+
}, $r = () => ({
|
|
89
|
+
disabled: r
|
|
90
|
+
}) => r ? "not-allowed" : "pointer", vr = () => ({
|
|
91
|
+
size: r
|
|
92
|
+
}) => r === "small" ? "24px" : "32px", Cr = () => ({
|
|
93
|
+
justify: r
|
|
94
|
+
}) => r ?? "", Br = () => ({
|
|
95
|
+
fullWidth: r
|
|
96
|
+
}) => r ? "100%" : "auto", jr = /* @__PURE__ */ l("button")({
|
|
97
|
+
name: "StyledButton",
|
|
98
|
+
class: "s1viq0d",
|
|
99
|
+
propsAsIs: !1,
|
|
100
|
+
vars: {
|
|
101
|
+
"s1viq0d-0": [Sr()],
|
|
102
|
+
"s1viq0d-1": [$r()],
|
|
103
|
+
"s1viq0d-2": [vr()],
|
|
104
|
+
"s1viq0d-3": [Cr()],
|
|
105
|
+
"s1viq0d-4": [Br()]
|
|
106
|
+
}
|
|
107
|
+
}), _r = /* @__PURE__ */ l("span")({
|
|
108
|
+
name: "StyledSoonPillContainer",
|
|
109
|
+
class: "s15swgyq",
|
|
110
|
+
propsAsIs: !1
|
|
111
|
+
}), Ir = () => ({
|
|
112
|
+
accent: r
|
|
113
|
+
}) => {
|
|
114
|
+
switch (r) {
|
|
115
|
+
case "blue":
|
|
116
|
+
return e.border.color.blue;
|
|
117
|
+
case "danger":
|
|
118
|
+
return e.border.color.danger;
|
|
119
|
+
default:
|
|
120
|
+
return e.font.color.light;
|
|
121
|
+
}
|
|
122
|
+
}, wr = () => ({
|
|
123
|
+
buttonSize: r
|
|
124
|
+
}) => r === "small" ? e.spacing[2] : e.spacing[4], Ar = /* @__PURE__ */ l("div")({
|
|
125
|
+
name: "StyledSeparator",
|
|
126
|
+
class: "s1u288ix",
|
|
127
|
+
propsAsIs: !1,
|
|
128
|
+
vars: {
|
|
129
|
+
"s1u288ix-0": [Ir()],
|
|
130
|
+
"s1u288ix-1": [wr()]
|
|
131
|
+
}
|
|
132
|
+
}), zr = () => ({
|
|
133
|
+
variant: r,
|
|
134
|
+
accent: o
|
|
135
|
+
}) => {
|
|
136
|
+
switch (o) {
|
|
137
|
+
case "blue":
|
|
138
|
+
return e.border.color.blue;
|
|
139
|
+
case "danger":
|
|
140
|
+
return r === "primary" ? e.border.color.danger : e.color.red8;
|
|
141
|
+
default:
|
|
142
|
+
return e.font.color.light;
|
|
143
|
+
}
|
|
144
|
+
}, Lr = /* @__PURE__ */ l("div")({
|
|
145
|
+
name: "StyledShortcutLabel",
|
|
146
|
+
class: "s4om9oh",
|
|
147
|
+
propsAsIs: !1,
|
|
148
|
+
vars: {
|
|
149
|
+
"s4om9oh-0": [zr()]
|
|
150
|
+
}
|
|
151
|
+
}), Er = () => A.div, Q = /* @__PURE__ */ l(Er())({
|
|
152
|
+
name: "StyledMotion",
|
|
153
|
+
class: "s1158gvo",
|
|
154
|
+
propsAsIs: !0
|
|
155
|
+
}), lt = ({
|
|
156
|
+
className: r,
|
|
157
|
+
Icon: o,
|
|
158
|
+
animatedSvg: c,
|
|
159
|
+
title: s,
|
|
160
|
+
fullWidth: a = !1,
|
|
161
|
+
variant: d = "primary",
|
|
162
|
+
inverted: t = !1,
|
|
163
|
+
size: i = "medium",
|
|
164
|
+
accent: p = "default",
|
|
165
|
+
position: u = "standalone",
|
|
166
|
+
soon: x = !1,
|
|
167
|
+
disabled: g = !1,
|
|
168
|
+
justify: h = "flex-start",
|
|
169
|
+
focus: y = !1,
|
|
170
|
+
onClick: b,
|
|
171
|
+
to: L,
|
|
172
|
+
target: W,
|
|
173
|
+
dataTestId: R,
|
|
174
|
+
hotkeys: _,
|
|
175
|
+
ariaLabel: O,
|
|
176
|
+
animate: E,
|
|
177
|
+
transition: T,
|
|
178
|
+
dataClickOutsideId: F,
|
|
179
|
+
dataGloballyPreventClickOutside: G,
|
|
180
|
+
soonLabel: q = "Soon"
|
|
181
|
+
}) => {
|
|
182
|
+
const {
|
|
183
|
+
theme: D
|
|
184
|
+
} = k(S), H = ar(), m = x || g, v = tr(() => {
|
|
185
|
+
const $ = kr(d, t, p, m, y, u);
|
|
186
|
+
return {
|
|
187
|
+
"--abtn-bg": $.background,
|
|
188
|
+
"--abtn-border-color": $.borderColor,
|
|
189
|
+
"--abtn-border-width": $.borderWidthOverride || void 0,
|
|
190
|
+
"--abtn-box-shadow": $.boxShadow,
|
|
191
|
+
"--abtn-color": $.color,
|
|
192
|
+
"--abtn-hover-bg": $.hoverBackground,
|
|
193
|
+
"--abtn-active-bg": $.activeBackground
|
|
194
|
+
};
|
|
195
|
+
}, [d, t, p, m, y, u]), I = L ? Y : "button";
|
|
196
|
+
return /* @__PURE__ */ n.jsxs(jr, { as: I, fullWidth: a, size: i, position: u, disabled: m, justify: h, className: r, style: v, onClick: b, to: L, target: W, "data-testid": R, "aria-label": O, "data-click-outside-id": F, "data-globally-prevent-click-outside": G, children: [
|
|
197
|
+
o && /* @__PURE__ */ n.jsx(Q, { animate: E, transition: T, children: /* @__PURE__ */ n.jsx(o, { size: D.icon.size.sm }) }),
|
|
198
|
+
c && /* @__PURE__ */ n.jsx(Q, { animate: E, transition: T, children: c }),
|
|
199
|
+
s,
|
|
200
|
+
_ && !H && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
201
|
+
/* @__PURE__ */ n.jsx(Ar, { buttonSize: i, accent: p }),
|
|
202
|
+
/* @__PURE__ */ n.jsx(Lr, { variant: d, accent: p, children: _.join(cr()) })
|
|
203
|
+
] }),
|
|
204
|
+
x && /* @__PURE__ */ n.jsx(_r, { children: /* @__PURE__ */ n.jsx(nr, { label: q }) })
|
|
205
|
+
] });
|
|
206
|
+
}, Tr = () => ({
|
|
207
|
+
disabled: r,
|
|
208
|
+
focus: o
|
|
209
|
+
}) => !r && o ? `1px solid ${e.color.blue}` : "none", qr = () => ({
|
|
210
|
+
disabled: r,
|
|
211
|
+
focus: o
|
|
212
|
+
}) => !r && o ? `0 0 0 3px ${e.color.blue3}` : "none", Dr = () => ({
|
|
213
|
+
accent: r,
|
|
214
|
+
active: o,
|
|
215
|
+
disabled: c,
|
|
216
|
+
focus: s
|
|
217
|
+
}) => {
|
|
218
|
+
switch (r) {
|
|
219
|
+
case "secondary":
|
|
220
|
+
return o || s ? e.color.blue : c ? e.font.color.extraLight : e.font.color.secondary;
|
|
221
|
+
case "tertiary":
|
|
222
|
+
return o || s ? e.color.blue : c ? e.font.color.extraLight : e.font.color.tertiary;
|
|
223
|
+
}
|
|
224
|
+
return "";
|
|
225
|
+
}, Mr = () => ({
|
|
226
|
+
disabled: r
|
|
227
|
+
}) => r ? "not-allowed" : "pointer", Wr = () => ({
|
|
228
|
+
size: r
|
|
229
|
+
}) => r === "small" ? "24px" : "32px", Rr = () => ({
|
|
230
|
+
disabled: r
|
|
231
|
+
}) => r ? "transparent" : e.background.transparent.light, Or = () => ({
|
|
232
|
+
disabled: r
|
|
233
|
+
}) => r ? "transparent" : e.background.transparent.medium, Fr = /* @__PURE__ */ l("button")({
|
|
234
|
+
name: "StyledButton",
|
|
235
|
+
class: "se5o8nq",
|
|
236
|
+
propsAsIs: !1,
|
|
237
|
+
vars: {
|
|
238
|
+
"se5o8nq-0": [Tr()],
|
|
239
|
+
"se5o8nq-1": [qr()],
|
|
240
|
+
"se5o8nq-2": [Dr()],
|
|
241
|
+
"se5o8nq-3": [Mr()],
|
|
242
|
+
"se5o8nq-4": [Wr()],
|
|
243
|
+
"se5o8nq-5": [Rr()],
|
|
244
|
+
"se5o8nq-6": [Or()]
|
|
245
|
+
}
|
|
246
|
+
}), Gr = () => A.div, Hr = /* @__PURE__ */ l(Gr())({
|
|
247
|
+
name: "StyledIconContainer",
|
|
248
|
+
class: "s1dbmpz0",
|
|
249
|
+
propsAsIs: !0
|
|
250
|
+
}), it = ({
|
|
251
|
+
"aria-label": r,
|
|
252
|
+
className: o,
|
|
253
|
+
testId: c,
|
|
254
|
+
animate: s,
|
|
255
|
+
transition: a,
|
|
256
|
+
Icon: d,
|
|
257
|
+
active: t = !1,
|
|
258
|
+
size: i = "small",
|
|
259
|
+
accent: p = "secondary",
|
|
260
|
+
disabled: u = !1,
|
|
261
|
+
focus: x = !1,
|
|
262
|
+
onClick: g,
|
|
263
|
+
title: h
|
|
264
|
+
}) => {
|
|
265
|
+
const {
|
|
266
|
+
theme: y
|
|
267
|
+
} = k(S);
|
|
268
|
+
return /* @__PURE__ */ n.jsx(Fr, { "data-testid": c, "aria-label": r, onClick: g, disabled: u, focus: x && !u, accent: p, className: o, size: i, active: t, title: h, children: /* @__PURE__ */ n.jsx(Hr, { animate: s, transition: a, children: d && /* @__PURE__ */ n.jsx(d, { size: i === "medium" ? y.icon.size.md : y.icon.size.sm }) }) });
|
|
269
|
+
}, Pr = /* @__PURE__ */ l("div")({
|
|
270
|
+
name: "StyledButtonGroupContainer",
|
|
271
|
+
class: "shh5sp6",
|
|
272
|
+
propsAsIs: !1
|
|
273
|
+
}), pt = ({
|
|
274
|
+
className: r,
|
|
275
|
+
children: o,
|
|
276
|
+
variant: c,
|
|
277
|
+
size: s,
|
|
278
|
+
accent: a
|
|
279
|
+
}) => /* @__PURE__ */ n.jsx(Pr, { className: r, children: j.Children.map(o, (d, t) => {
|
|
280
|
+
if (!j.isValidElement(d)) return null;
|
|
281
|
+
let i;
|
|
282
|
+
t === 0 ? i = "left" : t === o.length - 1 ? i = "right" : i = "middle";
|
|
283
|
+
const p = {
|
|
284
|
+
position: i,
|
|
285
|
+
variant: c,
|
|
286
|
+
accent: a,
|
|
287
|
+
size: s
|
|
288
|
+
};
|
|
289
|
+
return B(c) && (p.variant = c), B(a) && (p.accent = a), B(s) && (p.size = s), j.cloneElement(d, p);
|
|
290
|
+
}) }), Vr = () => ({
|
|
291
|
+
isSelected: r
|
|
292
|
+
}) => r ? e.background.transparent.medium : "transparent", Kr = /* @__PURE__ */ l("div")({
|
|
293
|
+
name: "StyledButtonWrapper",
|
|
294
|
+
class: "s1xhwzl4",
|
|
295
|
+
propsAsIs: !1,
|
|
296
|
+
vars: {
|
|
297
|
+
"s1xhwzl4-0": [Vr()]
|
|
298
|
+
}
|
|
299
|
+
}), ut = ({
|
|
300
|
+
colorName: r,
|
|
301
|
+
isSelected: o,
|
|
302
|
+
onClick: c
|
|
303
|
+
}) => /* @__PURE__ */ n.jsx(Kr, { isSelected: o, children: /* @__PURE__ */ n.jsx(pr, { size: "medium", Icon: () => /* @__PURE__ */ n.jsx(ur, { colorName: r }), onClick: c }) }), Ur = () => ({
|
|
304
|
+
applyBlur: r
|
|
305
|
+
}) => r ? "blur(20px)" : "none", Yr = () => ({
|
|
306
|
+
focus: r
|
|
307
|
+
}) => r ? `1px solid ${e.color.blue}` : "none", Jr = () => ({
|
|
308
|
+
position: r
|
|
309
|
+
}) => {
|
|
310
|
+
switch (r) {
|
|
311
|
+
case "left":
|
|
312
|
+
return `${e.border.radius.sm} 0px 0px ${e.border.radius.sm}`;
|
|
313
|
+
case "right":
|
|
314
|
+
return `0px ${e.border.radius.sm} ${e.border.radius.sm} 0px`;
|
|
315
|
+
case "middle":
|
|
316
|
+
return "0px";
|
|
317
|
+
case "standalone":
|
|
318
|
+
return e.border.radius.sm;
|
|
319
|
+
}
|
|
320
|
+
return "";
|
|
321
|
+
}, Nr = () => ({
|
|
322
|
+
applyShadow: r,
|
|
323
|
+
focus: o
|
|
324
|
+
}) => r ? `0px 2px 4px 0px ${e.background.transparent.light}, 0px 0px 4px 0px ${e.background.transparent.medium}${o ? `,0 0 0 3px ${e.color.blue3}` : ""}` : o ? `0 0 0 3px ${e.color.blue3}` : "none", Qr = () => ({
|
|
325
|
+
disabled: r,
|
|
326
|
+
focus: o
|
|
327
|
+
}) => r ? e.font.color.extraLight : o ? e.color.blue : e.font.color.secondary, Xr = () => ({
|
|
328
|
+
disabled: r
|
|
329
|
+
}) => r ? "not-allowed" : "pointer", Zr = () => ({
|
|
330
|
+
size: r
|
|
331
|
+
}) => r === "small" ? "24px" : "32px", re = () => ({
|
|
332
|
+
disabled: r
|
|
333
|
+
}) => r ? "transparent" : e.background.transparent.lighter, ee = () => ({
|
|
334
|
+
disabled: r
|
|
335
|
+
}) => r ? "transparent" : e.background.transparent.medium, oe = /* @__PURE__ */ l("button")({
|
|
336
|
+
name: "StyledButton",
|
|
337
|
+
class: "seo7n1c",
|
|
338
|
+
propsAsIs: !1,
|
|
339
|
+
vars: {
|
|
340
|
+
"seo7n1c-0": [Ur()],
|
|
341
|
+
"seo7n1c-1": [Yr()],
|
|
342
|
+
"seo7n1c-2": [Jr()],
|
|
343
|
+
"seo7n1c-3": [Nr()],
|
|
344
|
+
"seo7n1c-4": [Qr()],
|
|
345
|
+
"seo7n1c-5": [Xr()],
|
|
346
|
+
"seo7n1c-6": [Zr()],
|
|
347
|
+
"seo7n1c-7": [re()],
|
|
348
|
+
"seo7n1c-8": [ee()]
|
|
349
|
+
}
|
|
350
|
+
}), xt = ({
|
|
351
|
+
className: r,
|
|
352
|
+
Icon: o,
|
|
353
|
+
title: c,
|
|
354
|
+
size: s = "small",
|
|
355
|
+
position: a = "standalone",
|
|
356
|
+
applyBlur: d = !0,
|
|
357
|
+
applyShadow: t = !0,
|
|
358
|
+
disabled: i = !1,
|
|
359
|
+
focus: p = !1,
|
|
360
|
+
to: u
|
|
361
|
+
}) => {
|
|
362
|
+
const {
|
|
363
|
+
theme: x
|
|
364
|
+
} = k(S);
|
|
365
|
+
return /* @__PURE__ */ n.jsxs(oe, { disabled: i, focus: p && !i, size: s, applyBlur: d, applyShadow: t, position: a, className: r, to: u, as: u ? Y : "button", children: [
|
|
366
|
+
o && /* @__PURE__ */ n.jsx(o, { size: x.icon.size.sm }),
|
|
367
|
+
c
|
|
368
|
+
] });
|
|
369
|
+
}, te = /* @__PURE__ */ l("div")({
|
|
370
|
+
name: "StyledFloatingButtonGroupContainer",
|
|
371
|
+
class: "s1o9b5vh",
|
|
372
|
+
propsAsIs: !1
|
|
373
|
+
}), mt = ({
|
|
374
|
+
children: r,
|
|
375
|
+
size: o,
|
|
376
|
+
className: c
|
|
377
|
+
}) => /* @__PURE__ */ n.jsx(te, { className: c, children: j.Children.map(r, (s, a) => {
|
|
378
|
+
let d;
|
|
379
|
+
a === 0 ? d = "left" : a === r.length - 1 ? d = "right" : d = "middle";
|
|
380
|
+
const t = {
|
|
381
|
+
position: d,
|
|
382
|
+
size: o,
|
|
383
|
+
applyShadow: !1,
|
|
384
|
+
applyBlur: !1
|
|
385
|
+
};
|
|
386
|
+
return B(o) && (t.size = o), j.cloneElement(s, t);
|
|
387
|
+
}) }), ne = () => ({
|
|
388
|
+
applyBlur: r
|
|
389
|
+
}) => r ? e.blur.medium : "none", se = () => ({
|
|
390
|
+
isActive: r
|
|
391
|
+
}) => r ? e.background.transparent.medium : e.background.primary, ae = () => ({
|
|
392
|
+
focus: r
|
|
393
|
+
}) => r ? `1px solid ${e.color.blue}` : `1px solid ${e.border.color.strong}`, ce = () => ({
|
|
394
|
+
position: r
|
|
395
|
+
}) => {
|
|
396
|
+
switch (r) {
|
|
397
|
+
case "left":
|
|
398
|
+
return `${e.border.radius.sm} 0px 0px ${e.border.radius.sm}`;
|
|
399
|
+
case "right":
|
|
400
|
+
return `0px ${e.border.radius.sm} ${e.border.radius.sm} 0px`;
|
|
401
|
+
case "middle":
|
|
402
|
+
return "0px";
|
|
403
|
+
case "standalone":
|
|
404
|
+
return e.border.radius.sm;
|
|
405
|
+
}
|
|
406
|
+
return "";
|
|
407
|
+
}, de = () => ({
|
|
408
|
+
applyShadow: r,
|
|
409
|
+
focus: o
|
|
410
|
+
}) => r ? e.boxShadow.light : o ? `0 0 0 3px ${e.color.blue3}` : "none", le = () => ({
|
|
411
|
+
disabled: r,
|
|
412
|
+
focus: o
|
|
413
|
+
}) => r ? e.font.color.extraLight : o ? e.color.blue : e.font.color.tertiary, ie = () => ({
|
|
414
|
+
disabled: r
|
|
415
|
+
}) => r ? "not-allowed" : "pointer", pe = () => ({
|
|
416
|
+
position: r,
|
|
417
|
+
size: o
|
|
418
|
+
}) => (o === "small" ? 24 : 32) - (r === "standalone" ? 0 : 4), ue = () => ({
|
|
419
|
+
disabled: r
|
|
420
|
+
}) => r ? "transparent" : e.background.transparent.lighter, xe = () => ({
|
|
421
|
+
disabled: r
|
|
422
|
+
}) => r ? "transparent" : e.background.transparent.medium, me = /* @__PURE__ */ l("button")({
|
|
423
|
+
name: "StyledButton",
|
|
424
|
+
class: "s1v80m03",
|
|
425
|
+
propsAsIs: !1,
|
|
426
|
+
vars: {
|
|
427
|
+
"s1v80m03-0": [ne()],
|
|
428
|
+
"s1v80m03-1": [se()],
|
|
429
|
+
"s1v80m03-2": [ae()],
|
|
430
|
+
"s1v80m03-3": [ce()],
|
|
431
|
+
"s1v80m03-4": [de()],
|
|
432
|
+
"s1v80m03-5": [le()],
|
|
433
|
+
"s1v80m03-6": [ie()],
|
|
434
|
+
"s1v80m03-7": [pe(), "px"],
|
|
435
|
+
"s1v80m03-8": [ue()],
|
|
436
|
+
"s1v80m03-9": [xe()]
|
|
437
|
+
}
|
|
438
|
+
}), ge = ({
|
|
439
|
+
className: r,
|
|
440
|
+
Icon: o,
|
|
441
|
+
size: c = "small",
|
|
442
|
+
position: s = "standalone",
|
|
443
|
+
applyShadow: a = !0,
|
|
444
|
+
applyBlur: d = !0,
|
|
445
|
+
disabled: t = !1,
|
|
446
|
+
focus: i = !1,
|
|
447
|
+
onClick: p,
|
|
448
|
+
isActive: u
|
|
449
|
+
}) => {
|
|
450
|
+
const {
|
|
451
|
+
theme: x
|
|
452
|
+
} = k(S);
|
|
453
|
+
return /* @__PURE__ */ n.jsx(me, { disabled: t, focus: i && !t, size: c, applyShadow: a, applyBlur: d, className: r, position: s, onClick: p, isActive: u, children: o && /* @__PURE__ */ n.jsx(o, { size: x.icon.size.md }) });
|
|
454
|
+
}, be = /* @__PURE__ */ l("div")({
|
|
455
|
+
name: "StyledFloatingIconButtonGroupContainer",
|
|
456
|
+
class: "s1kppr65",
|
|
457
|
+
propsAsIs: !1
|
|
458
|
+
}), gt = ({
|
|
459
|
+
iconButtons: r,
|
|
460
|
+
size: o,
|
|
461
|
+
className: c
|
|
462
|
+
}) => /* @__PURE__ */ n.jsx(be, { className: c, children: r.map(({
|
|
463
|
+
Icon: s,
|
|
464
|
+
onClick: a,
|
|
465
|
+
isActive: d
|
|
466
|
+
}, t) => {
|
|
467
|
+
const i = r.length === 1 ? "standalone" : t === 0 ? "left" : t === r.length - 1 ? "right" : "middle";
|
|
468
|
+
return /* @__PURE__ */ n.jsx(ge, { applyBlur: !1, applyShadow: !1, Icon: s, onClick: a, position: i, size: o, isActive: d }, `floating-icon-button-${t}`);
|
|
469
|
+
}) }), he = (r, o, c, s) => {
|
|
470
|
+
const a = !c && s;
|
|
471
|
+
switch (r) {
|
|
472
|
+
case "primary":
|
|
473
|
+
switch (o) {
|
|
474
|
+
case "default":
|
|
475
|
+
return {
|
|
476
|
+
background: e.background.secondary,
|
|
477
|
+
borderColor: s ? e.color.blue : e.background.transparent.light,
|
|
478
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
479
|
+
boxShadow: a ? `0 0 0 3px ${e.accent.tertiary}` : "none",
|
|
480
|
+
color: c ? e.font.color.extraLight : e.font.color.secondary,
|
|
481
|
+
opacity: 1,
|
|
482
|
+
hoverBackground: c ? e.background.secondary : e.background.tertiary,
|
|
483
|
+
activeBackground: c ? e.background.secondary : e.background.quaternary
|
|
484
|
+
};
|
|
485
|
+
case "blue":
|
|
486
|
+
return {
|
|
487
|
+
background: e.color.blue,
|
|
488
|
+
borderColor: c ? "transparent" : s ? e.color.blue : e.background.transparent.light,
|
|
489
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
490
|
+
boxShadow: a ? `0 0 0 3px ${e.accent.tertiary}` : "none",
|
|
491
|
+
color: e.grayScale.gray1,
|
|
492
|
+
opacity: c ? 0.24 : 1,
|
|
493
|
+
hoverBackground: c ? e.color.blue : e.color.blue10,
|
|
494
|
+
activeBackground: c ? e.color.blue : e.color.blue12
|
|
495
|
+
};
|
|
496
|
+
case "danger":
|
|
497
|
+
return {
|
|
498
|
+
background: e.color.red,
|
|
499
|
+
borderColor: c ? "transparent" : s ? e.color.red : e.background.transparent.light,
|
|
500
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
501
|
+
boxShadow: a ? `0 0 0 3px ${e.color.red3}` : "none",
|
|
502
|
+
color: e.grayScale.gray1,
|
|
503
|
+
opacity: c ? 0.24 : 1,
|
|
504
|
+
hoverBackground: c ? e.color.red : e.color.red10,
|
|
505
|
+
activeBackground: c ? e.color.red : e.color.red10
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
break;
|
|
509
|
+
case "secondary":
|
|
510
|
+
case "tertiary":
|
|
511
|
+
switch (o) {
|
|
512
|
+
case "default":
|
|
513
|
+
return {
|
|
514
|
+
background: s ? e.background.transparent.primary : "transparent",
|
|
515
|
+
borderColor: r === "secondary" ? a ? e.color.blue : e.background.transparent.medium : s ? e.color.blue : "transparent",
|
|
516
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
517
|
+
boxShadow: a ? `0 0 0 3px ${e.accent.tertiary}` : "none",
|
|
518
|
+
color: c ? e.font.color.extraLight : r === "secondary" ? e.font.color.secondary : e.font.color.tertiary,
|
|
519
|
+
opacity: 1,
|
|
520
|
+
hoverBackground: c ? "transparent" : e.background.transparent.light,
|
|
521
|
+
activeBackground: c ? "transparent" : e.background.transparent.light
|
|
522
|
+
};
|
|
523
|
+
case "blue":
|
|
524
|
+
return {
|
|
525
|
+
background: s ? e.background.transparent.primary : "transparent",
|
|
526
|
+
borderColor: r === "secondary" ? c ? e.color.blue5 : e.color.blue : s ? e.color.blue : "transparent",
|
|
527
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
528
|
+
boxShadow: a ? `0 0 0 3px ${e.accent.tertiary}` : "none",
|
|
529
|
+
color: c ? e.accent.accent4060 : e.color.blue,
|
|
530
|
+
opacity: 1,
|
|
531
|
+
hoverBackground: c ? "transparent" : e.accent.tertiary,
|
|
532
|
+
activeBackground: c ? "transparent" : e.accent.secondary
|
|
533
|
+
};
|
|
534
|
+
case "danger":
|
|
535
|
+
return {
|
|
536
|
+
background: "transparent",
|
|
537
|
+
borderColor: r === "secondary" ? e.border.color.danger : s ? e.color.red : "transparent",
|
|
538
|
+
borderWidthOverride: a ? "1px 1px" : void 0,
|
|
539
|
+
boxShadow: a ? `0 0 0 3px ${e.color.red3}` : "none",
|
|
540
|
+
color: c ? e.color.red5 : e.font.color.danger,
|
|
541
|
+
opacity: 1,
|
|
542
|
+
hoverBackground: c ? "transparent" : e.background.danger,
|
|
543
|
+
activeBackground: c ? "transparent" : e.background.danger
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
return {
|
|
548
|
+
background: "transparent",
|
|
549
|
+
borderColor: "transparent",
|
|
550
|
+
boxShadow: "none",
|
|
551
|
+
color: e.font.color.secondary,
|
|
552
|
+
opacity: 1,
|
|
553
|
+
hoverBackground: "transparent",
|
|
554
|
+
activeBackground: "transparent"
|
|
555
|
+
};
|
|
556
|
+
}, ye = () => ({
|
|
557
|
+
position: r
|
|
558
|
+
}) => {
|
|
559
|
+
switch (r) {
|
|
560
|
+
case "left":
|
|
561
|
+
return `${e.border.radius.sm} 0px 0px ${e.border.radius.sm}`;
|
|
562
|
+
case "right":
|
|
563
|
+
return `0px ${e.border.radius.sm} ${e.border.radius.sm} 0px`;
|
|
564
|
+
case "middle":
|
|
565
|
+
return "0px";
|
|
566
|
+
case "standalone":
|
|
567
|
+
return e.border.radius.sm;
|
|
568
|
+
}
|
|
569
|
+
return "";
|
|
570
|
+
}, fe = () => ({
|
|
571
|
+
variant: r,
|
|
572
|
+
position: o
|
|
573
|
+
}) => {
|
|
574
|
+
switch (r) {
|
|
575
|
+
case "primary":
|
|
576
|
+
case "secondary":
|
|
577
|
+
return o === "middle" ? "1px 0px" : "1px";
|
|
578
|
+
case "tertiary":
|
|
579
|
+
return "0";
|
|
580
|
+
}
|
|
581
|
+
return "";
|
|
582
|
+
}, ke = () => ({
|
|
583
|
+
disabled: r
|
|
584
|
+
}) => r ? "not-allowed" : "pointer", Se = () => ({
|
|
585
|
+
size: r
|
|
586
|
+
}) => r === "small" ? "24px" : "32px", $e = /* @__PURE__ */ l("button")({
|
|
587
|
+
name: "StyledButton",
|
|
588
|
+
class: "s1kfpd8m",
|
|
589
|
+
propsAsIs: !1,
|
|
590
|
+
vars: {
|
|
591
|
+
"s1kfpd8m-0": [ye()],
|
|
592
|
+
"s1kfpd8m-1": [fe()],
|
|
593
|
+
"s1kfpd8m-2": [ke()],
|
|
594
|
+
"s1kfpd8m-3": [Se()]
|
|
595
|
+
}
|
|
596
|
+
}), ve = ({
|
|
597
|
+
className: r,
|
|
598
|
+
Icon: o,
|
|
599
|
+
variant: c = "primary",
|
|
600
|
+
size: s = "medium",
|
|
601
|
+
accent: a = "default",
|
|
602
|
+
position: d = "standalone",
|
|
603
|
+
disabled: t = !1,
|
|
604
|
+
focus: i = !1,
|
|
605
|
+
dataTestId: p,
|
|
606
|
+
ariaLabel: u,
|
|
607
|
+
onClick: x,
|
|
608
|
+
to: g
|
|
609
|
+
}) => {
|
|
610
|
+
const {
|
|
611
|
+
theme: h
|
|
612
|
+
} = k(S), y = tr(() => {
|
|
613
|
+
const b = he(c, a, t, i);
|
|
614
|
+
return {
|
|
615
|
+
"--ibtn-bg": b.background,
|
|
616
|
+
"--ibtn-border-color": b.borderColor,
|
|
617
|
+
"--ibtn-border-width": b.borderWidthOverride || void 0,
|
|
618
|
+
"--ibtn-box-shadow": b.boxShadow,
|
|
619
|
+
"--ibtn-color": b.color,
|
|
620
|
+
"--ibtn-opacity": b.opacity,
|
|
621
|
+
"--ibtn-hover-bg": b.hoverBackground,
|
|
622
|
+
"--ibtn-active-bg": b.activeBackground
|
|
623
|
+
};
|
|
624
|
+
}, [c, a, t, i]);
|
|
625
|
+
return /* @__PURE__ */ n.jsx($e, { "data-testid": p, variant: c, size: s, position: d, disabled: t, focus: i, accent: a, className: r, onClick: x, "aria-label": u, to: g, style: y, children: o && /* @__PURE__ */ n.jsx(o, { size: h.icon.size.md }) });
|
|
626
|
+
}, Ce = () => ({
|
|
627
|
+
disabled: r
|
|
628
|
+
}) => r ? "not-allowed" : "pointer", Be = /* @__PURE__ */ l("button")({
|
|
629
|
+
name: "StyledButton",
|
|
630
|
+
class: "su9t33x",
|
|
631
|
+
propsAsIs: !1,
|
|
632
|
+
vars: {
|
|
633
|
+
"su9t33x-0": [Ce()]
|
|
634
|
+
}
|
|
635
|
+
}), je = ({
|
|
636
|
+
className: r,
|
|
637
|
+
Icon: o,
|
|
638
|
+
onClick: c,
|
|
639
|
+
disabled: s = !1
|
|
640
|
+
}) => {
|
|
641
|
+
const {
|
|
642
|
+
theme: a
|
|
643
|
+
} = k(S);
|
|
644
|
+
return /* @__PURE__ */ n.jsx(Be, { className: r, onClick: c, disabled: s, children: o && /* @__PURE__ */ n.jsx(o, { size: a.icon.size.sm }) });
|
|
645
|
+
}, _e = () => ({
|
|
646
|
+
disabled: r
|
|
647
|
+
}) => r ? "inherit" : e.background.transparent.lighter, Ie = /* @__PURE__ */ l("div")({
|
|
648
|
+
name: "StyledIconButtonGroupContainer",
|
|
649
|
+
class: "s1ap29xl",
|
|
650
|
+
propsAsIs: !1,
|
|
651
|
+
vars: {
|
|
652
|
+
"s1ap29xl-0": [_e()]
|
|
653
|
+
}
|
|
654
|
+
}), bt = ({
|
|
655
|
+
iconButtons: r,
|
|
656
|
+
disabled: o,
|
|
657
|
+
className: c
|
|
658
|
+
}) => /* @__PURE__ */ n.jsx(Ie, { className: c, disabled: o, children: r.map(({
|
|
659
|
+
Icon: s,
|
|
660
|
+
onClick: a
|
|
661
|
+
}, d) => /* @__PURE__ */ n.jsx(je, { Icon: s, onClick: a, disabled: o }, d)) }), we = () => ({
|
|
662
|
+
variant: r,
|
|
663
|
+
disabled: o
|
|
664
|
+
}) => {
|
|
665
|
+
if (o === !0)
|
|
666
|
+
return e.background.secondary;
|
|
667
|
+
switch (r) {
|
|
668
|
+
case "primary":
|
|
669
|
+
return e.background.primaryInverted;
|
|
670
|
+
case "secondary":
|
|
671
|
+
return e.background.primary;
|
|
672
|
+
default:
|
|
673
|
+
return e.background.primary;
|
|
674
|
+
}
|
|
675
|
+
}, Ae = () => ({
|
|
676
|
+
disabled: r,
|
|
677
|
+
variant: o
|
|
678
|
+
}) => {
|
|
679
|
+
if (r === !0)
|
|
680
|
+
return e.background.transparent.lighter;
|
|
681
|
+
switch (o) {
|
|
682
|
+
case "primary":
|
|
683
|
+
return e.background.transparent.strong;
|
|
684
|
+
case "secondary":
|
|
685
|
+
return e.border.color.medium;
|
|
686
|
+
default:
|
|
687
|
+
return e.background.primary;
|
|
688
|
+
}
|
|
689
|
+
}, ze = () => ({
|
|
690
|
+
disabled: r
|
|
691
|
+
}) => r ? "none" : e.boxShadow.light, Le = () => ({
|
|
692
|
+
variant: r,
|
|
693
|
+
disabled: o
|
|
694
|
+
}) => {
|
|
695
|
+
if (o === !0)
|
|
696
|
+
return e.font.color.light;
|
|
697
|
+
switch (r) {
|
|
698
|
+
case "primary":
|
|
699
|
+
return e.font.color.inverted;
|
|
700
|
+
case "secondary":
|
|
701
|
+
return e.font.color.primary;
|
|
702
|
+
default:
|
|
703
|
+
return e.font.color.primary;
|
|
704
|
+
}
|
|
705
|
+
}, Ee = () => ({
|
|
706
|
+
disabled: r
|
|
707
|
+
}) => r ? "not-allowed" : "pointer", Te = () => ({
|
|
708
|
+
fullWidth: r,
|
|
709
|
+
width: o
|
|
710
|
+
}) => r ? "100%" : o ? `${o}px` : "auto", qe = () => ({
|
|
711
|
+
variant: r,
|
|
712
|
+
disabled: o
|
|
713
|
+
}) => r === "secondary" ? e.background.tertiary : o ? e.background.secondary : e.background.primaryInvertedHover, De = /* @__PURE__ */ l("button")({
|
|
714
|
+
name: "StyledButton",
|
|
715
|
+
class: "s1pmufn7",
|
|
716
|
+
propsAsIs: !1,
|
|
717
|
+
vars: {
|
|
718
|
+
"s1pmufn7-0": [we()],
|
|
719
|
+
"s1pmufn7-1": [Ae()],
|
|
720
|
+
"s1pmufn7-2": [ze()],
|
|
721
|
+
"s1pmufn7-3": [Le()],
|
|
722
|
+
"s1pmufn7-4": [Ee()],
|
|
723
|
+
"s1pmufn7-5": [Te()],
|
|
724
|
+
"s1pmufn7-6": [qe()]
|
|
725
|
+
}
|
|
726
|
+
}), ht = ({
|
|
727
|
+
Icon: r,
|
|
728
|
+
title: o,
|
|
729
|
+
width: c,
|
|
730
|
+
fullWidth: s = !1,
|
|
731
|
+
variant: a = "primary",
|
|
732
|
+
type: d,
|
|
733
|
+
onClick: t,
|
|
734
|
+
disabled: i,
|
|
735
|
+
className: p
|
|
736
|
+
}) => {
|
|
737
|
+
const {
|
|
738
|
+
theme: u
|
|
739
|
+
} = k(S);
|
|
740
|
+
return /* @__PURE__ */ n.jsxs(De, { className: p, disabled: i, fullWidth: s, width: c, onClick: t, type: d, variant: a, children: [
|
|
741
|
+
r && /* @__PURE__ */ n.jsx(r, { size: u.icon.size.sm }),
|
|
742
|
+
o
|
|
743
|
+
] });
|
|
744
|
+
}, Me = () => ({
|
|
745
|
+
size: r
|
|
746
|
+
}) => r === "small" ? "20px" : "24px", We = /* @__PURE__ */ l("button")({
|
|
747
|
+
name: "StyledIconButton",
|
|
748
|
+
class: "sfotzns",
|
|
749
|
+
propsAsIs: !1,
|
|
750
|
+
vars: {
|
|
751
|
+
"sfotzns-0": [Me()]
|
|
752
|
+
}
|
|
753
|
+
}), yt = ({
|
|
754
|
+
Icon: r,
|
|
755
|
+
onClick: o,
|
|
756
|
+
disabled: c,
|
|
757
|
+
className: s,
|
|
758
|
+
size: a = "small"
|
|
759
|
+
}) => {
|
|
760
|
+
const {
|
|
761
|
+
theme: d
|
|
762
|
+
} = k(S);
|
|
763
|
+
return /* @__PURE__ */ n.jsx(We, { className: s, disabled: c, onClick: o, size: a, children: /* @__PURE__ */ n.jsx(r, { size: d.icon.size.md }) });
|
|
764
|
+
}, Re = () => ({
|
|
765
|
+
active: r,
|
|
766
|
+
disabled: o
|
|
767
|
+
}) => r ? e.font.color.primary : o ? e.font.color.light : e.font.color.secondary, Oe = () => ({
|
|
768
|
+
disabled: r
|
|
769
|
+
}) => r ? "none" : "", Fe = () => ({
|
|
770
|
+
active: r
|
|
771
|
+
}) => r ? e.border.color.inverted : "transparent", Ge = /* @__PURE__ */ l("button")({
|
|
772
|
+
name: "StyledTabButton",
|
|
773
|
+
class: "sqtrnip",
|
|
774
|
+
propsAsIs: !1,
|
|
775
|
+
vars: {
|
|
776
|
+
"sqtrnip-0": [Re()],
|
|
777
|
+
"sqtrnip-1": [Oe()],
|
|
778
|
+
"sqtrnip-2": [Fe()]
|
|
779
|
+
}
|
|
780
|
+
}), He = () => ({
|
|
781
|
+
active: r,
|
|
782
|
+
disabled: o
|
|
783
|
+
}) => r ? e.font.color.primary : o ? e.font.color.light : e.font.color.secondary, Pe = () => ({
|
|
784
|
+
active: r
|
|
785
|
+
}) => r ? e.border.color.inverted : "transparent", ft = /* @__PURE__ */ l("div")({
|
|
786
|
+
name: "StyledTabContainer",
|
|
787
|
+
class: "sitx1xn",
|
|
788
|
+
propsAsIs: !1,
|
|
789
|
+
vars: {
|
|
790
|
+
"sitx1xn-0": [He()],
|
|
791
|
+
"sitx1xn-1": [Pe()]
|
|
792
|
+
}
|
|
793
|
+
}), Ve = () => ({
|
|
794
|
+
contentSize: r
|
|
795
|
+
}) => r === "sm" ? `${e.spacing[1]} ${e.spacing[2]}` : `${e.spacing[2]} ${e.spacing[2]}`, Ke = /* @__PURE__ */ l("span")({
|
|
796
|
+
name: "StyledTabHover",
|
|
797
|
+
class: "svcqkat",
|
|
798
|
+
propsAsIs: !1,
|
|
799
|
+
vars: {
|
|
800
|
+
"svcqkat-0": [Ve()]
|
|
801
|
+
}
|
|
802
|
+
}), Ue = ({
|
|
803
|
+
active: r,
|
|
804
|
+
disabled: o,
|
|
805
|
+
LeftIcon: c,
|
|
806
|
+
title: s,
|
|
807
|
+
logo: a,
|
|
808
|
+
RightIcon: d,
|
|
809
|
+
pill: t,
|
|
810
|
+
contentSize: i = "sm",
|
|
811
|
+
className: p
|
|
812
|
+
}) => {
|
|
813
|
+
const { theme: u } = k(S), x = r ? u.font.color.primary : o ? u.font.color.extraLight : u.font.color.secondary;
|
|
814
|
+
return /* @__PURE__ */ n.jsxs(Ke, { contentSize: i, className: p, children: [
|
|
815
|
+
c && /* @__PURE__ */ n.jsx(c, { color: x, size: u.icon.size.md }),
|
|
816
|
+
a && /* @__PURE__ */ n.jsx(xr, { avatarUrl: a, size: "md", placeholder: s }),
|
|
817
|
+
s,
|
|
818
|
+
d && /* @__PURE__ */ n.jsx(d, { color: x, size: u.icon.size.md }),
|
|
819
|
+
t && (typeof t == "string" ? /* @__PURE__ */ n.jsx(nr, { label: t }) : t)
|
|
820
|
+
] });
|
|
821
|
+
}, Ye = /* @__PURE__ */ l("div")({
|
|
822
|
+
name: "StyledTabTooltipWrapper",
|
|
823
|
+
class: "salkq59",
|
|
824
|
+
propsAsIs: !1
|
|
825
|
+
}), kt = ({
|
|
826
|
+
id: r,
|
|
827
|
+
active: o,
|
|
828
|
+
disabled: c,
|
|
829
|
+
to: s,
|
|
830
|
+
LeftIcon: a,
|
|
831
|
+
className: d,
|
|
832
|
+
title: t,
|
|
833
|
+
onClick: i,
|
|
834
|
+
logo: p,
|
|
835
|
+
RightIcon: u,
|
|
836
|
+
pill: x,
|
|
837
|
+
contentSize: g = "sm",
|
|
838
|
+
disableTestId: h = !1,
|
|
839
|
+
tooltipContent: y
|
|
840
|
+
}) => {
|
|
841
|
+
const b = `tab-${r}`;
|
|
842
|
+
return /* @__PURE__ */ n.jsxs(Ye, { id: b, children: [
|
|
843
|
+
/* @__PURE__ */ n.jsx(Ge, { "data-testid": h ? void 0 : `tab-${r}`, active: o, disabled: c, as: s ? Y : "button", to: s, className: d, onClick: i, children: /* @__PURE__ */ n.jsx(Ue, { id: r, active: o, disabled: c, LeftIcon: a, title: t, logo: p, RightIcon: u, pill: x, contentSize: g }) }),
|
|
844
|
+
y && /* @__PURE__ */ n.jsx(mr, { anchorSelect: `#${b}`, content: y, noArrow: !0, place: "bottom", positionStrategy: "fixed", delay: gr.shortDelay })
|
|
845
|
+
] }, r);
|
|
846
|
+
}, X = "baseCodeEditorTheme", C = (r) => {
|
|
847
|
+
const o = r.match(
|
|
848
|
+
/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/
|
|
849
|
+
);
|
|
850
|
+
if (B(o)) {
|
|
851
|
+
const [, c, s, a, d] = o, t = Math.round(parseFloat(c) * 255).toString(16).padStart(2, "0"), i = Math.round(parseFloat(s) * 255).toString(16).padStart(2, "0"), p = Math.round(parseFloat(a) * 255).toString(16).padStart(2, "0");
|
|
852
|
+
if (B(d)) {
|
|
853
|
+
const u = Math.round(parseFloat(d) * 255).toString(16).padStart(2, "0");
|
|
854
|
+
return `#${t}${i}${p}${u}`;
|
|
855
|
+
}
|
|
856
|
+
return `#${t}${i}${p}`;
|
|
857
|
+
}
|
|
858
|
+
return r;
|
|
859
|
+
}, Je = (r) => ({
|
|
860
|
+
base: "vs",
|
|
861
|
+
inherit: !0,
|
|
862
|
+
rules: [
|
|
863
|
+
{
|
|
864
|
+
token: "",
|
|
865
|
+
foreground: C(r.code.text.gray),
|
|
866
|
+
fontStyle: "bold"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
token: "keyword",
|
|
870
|
+
foreground: C(r.code.text.sky)
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
token: "delimiter",
|
|
874
|
+
foreground: C(r.code.text.gray)
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
token: "string",
|
|
878
|
+
foreground: C(r.code.text.pink)
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
token: "comment",
|
|
882
|
+
foreground: C(r.code.text.orange)
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
colors: {
|
|
886
|
+
"editor.background": "#00000000",
|
|
887
|
+
"editorCursor.foreground": C(r.font.color.primary),
|
|
888
|
+
"editorLineNumber.foreground": C(
|
|
889
|
+
r.font.color.extraLight
|
|
890
|
+
),
|
|
891
|
+
"editorLineNumber.activeForeground": C(
|
|
892
|
+
r.font.color.light
|
|
893
|
+
),
|
|
894
|
+
"editor.lineHighlightBackground": C(
|
|
895
|
+
r.background.tertiary
|
|
896
|
+
)
|
|
897
|
+
}
|
|
898
|
+
}), Ne = () => ({
|
|
899
|
+
height: r
|
|
900
|
+
}) => typeof r == "number" ? `${r}px` : r, Qe = () => ({
|
|
901
|
+
variant: r
|
|
902
|
+
}) => r === "borderless" ? "none" : `1px solid ${e.border.color.medium}`, Xe = () => ({
|
|
903
|
+
variant: r
|
|
904
|
+
}) => r === "default" ? `1px solid ${e.border.color.medium}` : "none", Ze = () => ({
|
|
905
|
+
variant: r
|
|
906
|
+
}) => {
|
|
907
|
+
switch (r) {
|
|
908
|
+
case "default":
|
|
909
|
+
return e.border.radius.sm;
|
|
910
|
+
case "with-header":
|
|
911
|
+
return `0 0 ${e.border.radius.sm} ${e.border.radius.sm}`;
|
|
912
|
+
default:
|
|
913
|
+
return "0";
|
|
914
|
+
}
|
|
915
|
+
}, ro = /* @__PURE__ */ l("div")({
|
|
916
|
+
name: "StyledEditorLoader",
|
|
917
|
+
class: "spsmn0o",
|
|
918
|
+
propsAsIs: !1,
|
|
919
|
+
vars: {
|
|
920
|
+
"spsmn0o-0": [Ne()],
|
|
921
|
+
"spsmn0o-1": [Qe()],
|
|
922
|
+
"spsmn0o-2": [Xe()],
|
|
923
|
+
"spsmn0o-3": [Ze()]
|
|
924
|
+
}
|
|
925
|
+
}), eo = /* @__PURE__ */ l("div")({
|
|
926
|
+
name: "StyledCodeEditorContainer",
|
|
927
|
+
class: "s1pdjlmf",
|
|
928
|
+
propsAsIs: !1
|
|
929
|
+
}), oo = () => ({
|
|
930
|
+
transparentBackground: r
|
|
931
|
+
}) => r ? "transparent" : e.background.secondary, to = () => ({
|
|
932
|
+
variant: r
|
|
933
|
+
}) => r !== "borderless" ? e.border.radius.sm : "0", no = () => ({
|
|
934
|
+
variant: r
|
|
935
|
+
}) => {
|
|
936
|
+
switch (r) {
|
|
937
|
+
case "default":
|
|
938
|
+
case "with-header":
|
|
939
|
+
return `1px solid ${e.border.color.medium}`;
|
|
940
|
+
default:
|
|
941
|
+
return "none";
|
|
942
|
+
}
|
|
943
|
+
}, so = () => ({
|
|
944
|
+
variant: r
|
|
945
|
+
}) => {
|
|
946
|
+
switch (r) {
|
|
947
|
+
case "default":
|
|
948
|
+
return e.border.radius.sm;
|
|
949
|
+
case "with-header":
|
|
950
|
+
return `0 0 ${e.border.radius.sm} ${e.border.radius.sm}`;
|
|
951
|
+
default:
|
|
952
|
+
return "0";
|
|
953
|
+
}
|
|
954
|
+
}, ao = () => ({
|
|
955
|
+
variant: r
|
|
956
|
+
}) => r === "with-header" ? "none" : r === "default" ? `1px solid ${e.border.color.medium}` : "none", co = /* @__PURE__ */ l("div")({
|
|
957
|
+
name: "StyledEditorWrapper",
|
|
958
|
+
class: "s1r0a801",
|
|
959
|
+
propsAsIs: !1,
|
|
960
|
+
vars: {
|
|
961
|
+
"s1r0a801-0": [oo()],
|
|
962
|
+
"s1r0a801-1": [to()],
|
|
963
|
+
"s1r0a801-2": [no()],
|
|
964
|
+
"s1r0a801-3": [so()],
|
|
965
|
+
"s1r0a801-4": [ao()]
|
|
966
|
+
}
|
|
967
|
+
}), St = ({
|
|
968
|
+
value: r,
|
|
969
|
+
language: o,
|
|
970
|
+
onMount: c,
|
|
971
|
+
onChange: s,
|
|
972
|
+
setMarkers: a,
|
|
973
|
+
onValidate: d,
|
|
974
|
+
height: t = 450,
|
|
975
|
+
variant: i = "default",
|
|
976
|
+
transparentBackground: p,
|
|
977
|
+
isLoading: u = !1,
|
|
978
|
+
options: x,
|
|
979
|
+
resizable: g = !1
|
|
980
|
+
}) => {
|
|
981
|
+
const {
|
|
982
|
+
theme: h
|
|
983
|
+
} = k(S), [y, b] = M(void 0), [L, W] = M(void 0), [R, _] = M(!1), O = typeof t == "number" ? t : 450, {
|
|
984
|
+
size: E,
|
|
985
|
+
handleResizeStart: T,
|
|
986
|
+
handleResizeMove: F,
|
|
987
|
+
handleResizeEnd: G
|
|
988
|
+
} = yr({
|
|
989
|
+
initialSize: O
|
|
990
|
+
}), q = g ? E : t, D = (m, v) => {
|
|
991
|
+
const I = m?.getModel();
|
|
992
|
+
if (!B(I))
|
|
993
|
+
return;
|
|
994
|
+
const $ = a?.(I.getValue());
|
|
995
|
+
B($) && v?.editor.setModelMarkers(I, "customMarker", $);
|
|
996
|
+
}, H = (m) => {
|
|
997
|
+
R && m.stopPropagation();
|
|
998
|
+
};
|
|
999
|
+
return u ? /* @__PURE__ */ n.jsx(ro, { height: q, variant: i, children: /* @__PURE__ */ n.jsx(hr, {}) }) : /* @__PURE__ */ n.jsxs(eo, { onKeyDown: H, children: [
|
|
1000
|
+
/* @__PURE__ */ n.jsx("input", { type: "hidden", "data-testid": "code-editor-value", value: r ?? "", readOnly: !0 }),
|
|
1001
|
+
/* @__PURE__ */ n.jsx(co, { variant: i, transparentBackground: p, children: /* @__PURE__ */ n.jsx(br, { height: q, value: r, language: o, loading: "", onMount: (m, v) => {
|
|
1002
|
+
b(v), W(m), v.editor.defineTheme(X, Je(h)), v.editor.setTheme(X), m.onDidFocusEditorWidget(() => {
|
|
1003
|
+
_(!0);
|
|
1004
|
+
}), m.onDidBlurEditorWidget(() => {
|
|
1005
|
+
_(!1);
|
|
1006
|
+
}), c?.(m, v), D(m, v);
|
|
1007
|
+
}, onChange: (m) => {
|
|
1008
|
+
B(m) && (s?.(m), D(L, y));
|
|
1009
|
+
}, onValidate: (m) => {
|
|
1010
|
+
d?.(m);
|
|
1011
|
+
}, options: {
|
|
1012
|
+
formatOnPaste: !0,
|
|
1013
|
+
formatOnType: !0,
|
|
1014
|
+
overviewRulerLanes: 0,
|
|
1015
|
+
scrollbar: {
|
|
1016
|
+
vertical: "hidden",
|
|
1017
|
+
horizontal: "hidden"
|
|
1018
|
+
},
|
|
1019
|
+
minimap: {
|
|
1020
|
+
enabled: !1
|
|
1021
|
+
},
|
|
1022
|
+
...x
|
|
1023
|
+
} }) }),
|
|
1024
|
+
g && /* @__PURE__ */ n.jsx(fr, { onPointerDown: T, onPointerMove: F, onPointerUp: G })
|
|
1025
|
+
] });
|
|
1026
|
+
}, lo = /* @__PURE__ */ l("div")({
|
|
1027
|
+
name: "StyledEditorHeader",
|
|
1028
|
+
class: "s1g8du2o",
|
|
1029
|
+
propsAsIs: !1
|
|
1030
|
+
}), Z = /* @__PURE__ */ l("div")({
|
|
1031
|
+
name: "StyledElementContainer",
|
|
1032
|
+
class: "s1djmuxl",
|
|
1033
|
+
propsAsIs: !1
|
|
1034
|
+
}), $t = ({
|
|
1035
|
+
title: r,
|
|
1036
|
+
leftNodes: o,
|
|
1037
|
+
rightNodes: c
|
|
1038
|
+
}) => /* @__PURE__ */ n.jsxs(lo, { children: [
|
|
1039
|
+
/* @__PURE__ */ n.jsxs(Z, { children: [
|
|
1040
|
+
o && o.map((s, a) => /* @__PURE__ */ n.jsx("div", { children: s }, `left-${a}`)),
|
|
1041
|
+
r
|
|
1042
|
+
] }),
|
|
1043
|
+
/* @__PURE__ */ n.jsx(Z, { children: c && c.map((s, a) => /* @__PURE__ */ n.jsx("div", { children: s }, `right-${a}`)) })
|
|
1044
|
+
] }), io = () => ({
|
|
1045
|
+
variant: r
|
|
1046
|
+
}) => r === "Dark" ? z.gray4 : f.gray4, po = () => ({
|
|
1047
|
+
variant: r
|
|
1048
|
+
}) => r === "Dark" ? `1px solid ${z.gray5}` : `1px solid ${f.gray5}`, uo = /* @__PURE__ */ l("div")({
|
|
1049
|
+
name: "StyledColorSchemeBackground",
|
|
1050
|
+
class: "sdnoz1c",
|
|
1051
|
+
propsAsIs: !1,
|
|
1052
|
+
vars: {
|
|
1053
|
+
"sdnoz1c-0": [io()],
|
|
1054
|
+
"sdnoz1c-1": [po()]
|
|
1055
|
+
}
|
|
1056
|
+
}), xo = () => ({
|
|
1057
|
+
variant: r
|
|
1058
|
+
}) => {
|
|
1059
|
+
switch (r) {
|
|
1060
|
+
case "Dark":
|
|
1061
|
+
return z.gray1;
|
|
1062
|
+
case "Light":
|
|
1063
|
+
return f.gray1;
|
|
1064
|
+
}
|
|
1065
|
+
return "";
|
|
1066
|
+
}, mo = () => ({
|
|
1067
|
+
variant: r
|
|
1068
|
+
}) => r === "Dark" ? `1px solid ${z.gray5}` : `1px solid ${f.gray5}`, go = () => ({
|
|
1069
|
+
variant: r
|
|
1070
|
+
}) => r === "Dark" ? z.gray12 : f.gray12, bo = /* @__PURE__ */ l("div")({
|
|
1071
|
+
name: "StyledColorSchemeContentBase",
|
|
1072
|
+
class: "s18c1ucb",
|
|
1073
|
+
propsAsIs: !1,
|
|
1074
|
+
vars: {
|
|
1075
|
+
"s18c1ucb-0": [xo()],
|
|
1076
|
+
"s18c1ucb-1": [mo()],
|
|
1077
|
+
"s18c1ucb-2": [go()]
|
|
1078
|
+
}
|
|
1079
|
+
}), ho = A.create(bo), P = ({
|
|
1080
|
+
variant: r,
|
|
1081
|
+
controls: o,
|
|
1082
|
+
style: c,
|
|
1083
|
+
className: s,
|
|
1084
|
+
onClick: a,
|
|
1085
|
+
onMouseEnter: d,
|
|
1086
|
+
onMouseLeave: t
|
|
1087
|
+
}) => /* @__PURE__ */ n.jsx(uo, { className: s, variant: r, style: c, onClick: a, onMouseEnter: d, onMouseLeave: t, children: /* @__PURE__ */ n.jsx(ho, { animate: o, variant: r, children: "Aa" }) }), rr = /* @__PURE__ */ l("div")({
|
|
1088
|
+
name: "StyledContainer",
|
|
1089
|
+
class: "s116vstx",
|
|
1090
|
+
propsAsIs: !1
|
|
1091
|
+
}), yo = /* @__PURE__ */ l("div")({
|
|
1092
|
+
name: "StyledMixedColorSchemeSegment",
|
|
1093
|
+
class: "s1my8hdh",
|
|
1094
|
+
propsAsIs: !1
|
|
1095
|
+
}), fo = /* @__PURE__ */ l("div")({
|
|
1096
|
+
name: "StyledCheckmarkContainerBase",
|
|
1097
|
+
class: "s1qkiuk3",
|
|
1098
|
+
propsAsIs: !1
|
|
1099
|
+
}), er = A.create(fo), or = {
|
|
1100
|
+
initial: {
|
|
1101
|
+
opacity: 0
|
|
1102
|
+
},
|
|
1103
|
+
animate: {
|
|
1104
|
+
opacity: 1
|
|
1105
|
+
},
|
|
1106
|
+
exit: {
|
|
1107
|
+
opacity: 0
|
|
1108
|
+
}
|
|
1109
|
+
}, V = ({
|
|
1110
|
+
variant: r,
|
|
1111
|
+
selected: o,
|
|
1112
|
+
onClick: c
|
|
1113
|
+
}) => {
|
|
1114
|
+
const s = dr(), a = () => {
|
|
1115
|
+
s.start({
|
|
1116
|
+
height: 61,
|
|
1117
|
+
fontSize: "22px",
|
|
1118
|
+
transition: {
|
|
1119
|
+
duration: 0.1
|
|
1120
|
+
}
|
|
1121
|
+
});
|
|
1122
|
+
}, d = () => {
|
|
1123
|
+
s.start({
|
|
1124
|
+
height: 56,
|
|
1125
|
+
fontSize: "20px",
|
|
1126
|
+
transition: {
|
|
1127
|
+
duration: 0.1
|
|
1128
|
+
}
|
|
1129
|
+
});
|
|
1130
|
+
};
|
|
1131
|
+
return r === "System" ? /* @__PURE__ */ n.jsxs(rr, { children: [
|
|
1132
|
+
/* @__PURE__ */ n.jsxs(yo, { onMouseEnter: a, onMouseLeave: d, onClick: c, children: [
|
|
1133
|
+
/* @__PURE__ */ n.jsx(P, { style: {
|
|
1134
|
+
borderTopRightRadius: 0,
|
|
1135
|
+
borderBottomRightRadius: 0
|
|
1136
|
+
}, controls: s, variant: "Light" }),
|
|
1137
|
+
/* @__PURE__ */ n.jsx(P, { style: {
|
|
1138
|
+
borderTopLeftRadius: 0,
|
|
1139
|
+
borderBottomLeftRadius: 0
|
|
1140
|
+
}, controls: s, variant: "Dark" })
|
|
1141
|
+
] }),
|
|
1142
|
+
/* @__PURE__ */ n.jsx(J, { children: o && /* @__PURE__ */ n.jsx(er, { variants: or, initial: "initial", animate: "animate", exit: "exit", transition: {
|
|
1143
|
+
duration: 0.3
|
|
1144
|
+
}, children: /* @__PURE__ */ n.jsx(N, {}) }, "system") })
|
|
1145
|
+
] }) : /* @__PURE__ */ n.jsxs(rr, { children: [
|
|
1146
|
+
/* @__PURE__ */ n.jsx(P, { onMouseEnter: a, onMouseLeave: d, controls: s, variant: r, onClick: c }),
|
|
1147
|
+
/* @__PURE__ */ n.jsx(J, { children: o && /* @__PURE__ */ n.jsx(er, { variants: or, initial: "initial", animate: "animate", exit: "exit", transition: {
|
|
1148
|
+
duration: 0.3
|
|
1149
|
+
}, children: /* @__PURE__ */ n.jsx(N, {}) }, r) })
|
|
1150
|
+
] });
|
|
1151
|
+
}, ko = /* @__PURE__ */ l("div")({
|
|
1152
|
+
name: "StyledContainer",
|
|
1153
|
+
class: "s1mtn0on",
|
|
1154
|
+
propsAsIs: !1
|
|
1155
|
+
}), K = /* @__PURE__ */ l("div")({
|
|
1156
|
+
name: "StyledCardContainer",
|
|
1157
|
+
class: "s1tmrvj8",
|
|
1158
|
+
propsAsIs: !1
|
|
1159
|
+
}), U = /* @__PURE__ */ l("span")({
|
|
1160
|
+
name: "StyledLabel",
|
|
1161
|
+
class: "stz89lx",
|
|
1162
|
+
propsAsIs: !1
|
|
1163
|
+
}), vt = ({
|
|
1164
|
+
value: r,
|
|
1165
|
+
onChange: o,
|
|
1166
|
+
className: c,
|
|
1167
|
+
lightLabel: s,
|
|
1168
|
+
darkLabel: a,
|
|
1169
|
+
systemLabel: d
|
|
1170
|
+
}) => /* @__PURE__ */ n.jsxs(ko, { className: c, children: [
|
|
1171
|
+
/* @__PURE__ */ n.jsxs(K, { children: [
|
|
1172
|
+
/* @__PURE__ */ n.jsx(V, { onClick: () => o("Light"), variant: "Light", selected: r === "Light" }),
|
|
1173
|
+
/* @__PURE__ */ n.jsx(U, { children: s })
|
|
1174
|
+
] }),
|
|
1175
|
+
/* @__PURE__ */ n.jsxs(K, { children: [
|
|
1176
|
+
/* @__PURE__ */ n.jsx(V, { onClick: () => o("Dark"), variant: "Dark", selected: r === "Dark" }),
|
|
1177
|
+
/* @__PURE__ */ n.jsx(U, { children: a })
|
|
1178
|
+
] }),
|
|
1179
|
+
/* @__PURE__ */ n.jsxs(K, { children: [
|
|
1180
|
+
/* @__PURE__ */ n.jsx(V, { onClick: () => o("System"), variant: "System", selected: r === "System" }),
|
|
1181
|
+
/* @__PURE__ */ n.jsx(U, { children: d })
|
|
1182
|
+
] })
|
|
1183
|
+
] }), So = ({
|
|
1184
|
+
value: r,
|
|
1185
|
+
onChange: o,
|
|
1186
|
+
onValueChange: c,
|
|
1187
|
+
children: s
|
|
1188
|
+
}) => {
|
|
1189
|
+
const a = (d) => {
|
|
1190
|
+
o?.(d), c?.(d.target.value);
|
|
1191
|
+
};
|
|
1192
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: j.Children.map(s, (d) => j.isValidElement(d) ? j.cloneElement(d, {
|
|
1193
|
+
style: { marginBottom: e.spacing[2] },
|
|
1194
|
+
checked: d.props.value === r,
|
|
1195
|
+
onChange: a
|
|
1196
|
+
}) : d) });
|
|
1197
|
+
};
|
|
1198
|
+
var $o = /* @__PURE__ */ ((r) => (r.Large = "large", r.Small = "small", r))($o || {}), vo = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(vo || {});
|
|
1199
|
+
const Co = () => ({
|
|
1200
|
+
labelPosition: r
|
|
1201
|
+
}) => r === "left" ? `
|
|
1202
|
+
flex-direction: row-reverse;
|
|
1203
|
+
` : `
|
|
1204
|
+
flex-direction: row;
|
|
1205
|
+
`, Bo = /* @__PURE__ */ l("div")({
|
|
1206
|
+
name: "StyledContainer",
|
|
1207
|
+
class: "s1qz10pl",
|
|
1208
|
+
propsAsIs: !1,
|
|
1209
|
+
vars: {
|
|
1210
|
+
"s1qz10pl-0": [Co()]
|
|
1211
|
+
}
|
|
1212
|
+
}), jo = () => ({
|
|
1213
|
+
"radio-size": r
|
|
1214
|
+
}) => r === "large" ? "18px" : "16px", _o = () => ({
|
|
1215
|
+
checked: r
|
|
1216
|
+
}) => r ? "" : e.background.tertiary, Io = () => ({
|
|
1217
|
+
checked: r
|
|
1218
|
+
}) => r ? e.color.transparent.blue2 : e.background.tertiary, wo = () => ({
|
|
1219
|
+
"radio-size": r
|
|
1220
|
+
}) => r === "large" ? "8px" : "6px", Ao = /* @__PURE__ */ l("input")({
|
|
1221
|
+
name: "StyledRadioInputBase",
|
|
1222
|
+
class: "s13b90o4",
|
|
1223
|
+
propsAsIs: !1,
|
|
1224
|
+
vars: {
|
|
1225
|
+
"s13b90o4-0": [jo()],
|
|
1226
|
+
"s13b90o4-1": [_o()],
|
|
1227
|
+
"s13b90o4-2": [Io()],
|
|
1228
|
+
"s13b90o4-3": [wo()]
|
|
1229
|
+
}
|
|
1230
|
+
}), zo = A.create(Ao), Lo = () => ({
|
|
1231
|
+
labelPosition: r
|
|
1232
|
+
}) => r === "right" ? e.spacing[2] : "0px", Eo = () => ({
|
|
1233
|
+
labelPosition: r
|
|
1234
|
+
}) => r === "left" ? e.spacing[2] : "0px", To = () => ({
|
|
1235
|
+
disabled: r
|
|
1236
|
+
}) => r ? 0.32 : 1, qo = /* @__PURE__ */ l("label")({
|
|
1237
|
+
name: "StyledLabel",
|
|
1238
|
+
class: "s1hru1qk",
|
|
1239
|
+
propsAsIs: !1,
|
|
1240
|
+
vars: {
|
|
1241
|
+
"s1hru1qk-0": [Lo()],
|
|
1242
|
+
"s1hru1qk-1": [Eo()],
|
|
1243
|
+
"s1hru1qk-2": [To()]
|
|
1244
|
+
}
|
|
1245
|
+
}), sr = ({
|
|
1246
|
+
checked: r,
|
|
1247
|
+
className: o,
|
|
1248
|
+
name: c = "input-radio",
|
|
1249
|
+
disabled: s = !1,
|
|
1250
|
+
label: a,
|
|
1251
|
+
labelPosition: d = "right",
|
|
1252
|
+
onChange: t,
|
|
1253
|
+
onCheckedChange: i,
|
|
1254
|
+
size: p = "small",
|
|
1255
|
+
value: u
|
|
1256
|
+
}) => {
|
|
1257
|
+
const x = (h) => {
|
|
1258
|
+
t?.(h), i?.(h.target.checked);
|
|
1259
|
+
}, g = w.useId();
|
|
1260
|
+
return /* @__PURE__ */ n.jsxs(Bo, { className: o, labelPosition: d, children: [
|
|
1261
|
+
/* @__PURE__ */ n.jsx(zo, { type: "radio", id: g, name: c, "data-testid": "input-radio", tabIndex: -1, checked: r, value: u || a, "radio-size": p, disabled: s, onChange: x, initial: {
|
|
1262
|
+
scale: 0.95
|
|
1263
|
+
}, animate: {
|
|
1264
|
+
scale: r ? 1.05 : 0.95
|
|
1265
|
+
}, transition: {
|
|
1266
|
+
type: "spring",
|
|
1267
|
+
stiffness: 300,
|
|
1268
|
+
damping: 20
|
|
1269
|
+
} }),
|
|
1270
|
+
a && /* @__PURE__ */ n.jsx(qo, { htmlFor: g, labelPosition: d, disabled: s, children: a })
|
|
1271
|
+
] });
|
|
1272
|
+
};
|
|
1273
|
+
sr.Group = So;
|
|
1274
|
+
const Do = /* @__PURE__ */ l("button")({
|
|
1275
|
+
name: "StyledSubscriptionCardContainer",
|
|
1276
|
+
class: "spn2m6g",
|
|
1277
|
+
propsAsIs: !1
|
|
1278
|
+
}), Mo = /* @__PURE__ */ l("div")({
|
|
1279
|
+
name: "StyledCardInner",
|
|
1280
|
+
class: "sk1hi2j",
|
|
1281
|
+
propsAsIs: !1
|
|
1282
|
+
}), Wo = /* @__PURE__ */ l("div")({
|
|
1283
|
+
name: "StyledRadioContainer",
|
|
1284
|
+
class: "s191djy0",
|
|
1285
|
+
propsAsIs: !1
|
|
1286
|
+
}), Ct = ({
|
|
1287
|
+
children: r,
|
|
1288
|
+
checked: o,
|
|
1289
|
+
handleChange: c
|
|
1290
|
+
}) => /* @__PURE__ */ n.jsxs(Do, { onClick: c, children: [
|
|
1291
|
+
/* @__PURE__ */ n.jsx(Wo, { children: /* @__PURE__ */ n.jsx(sr, { checked: o }) }),
|
|
1292
|
+
/* @__PURE__ */ n.jsx(Mo, { children: r })
|
|
1293
|
+
] }), Ro = (r) => /* @__PURE__ */ w.createElement("svg", { width: 8, height: 32, xmlns: "http://www.w3.org/2000/svg", fill: "none", ...r }, /* @__PURE__ */ w.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__ */ w.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__ */ w.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" })), Bt = (r) => {
|
|
1294
|
+
const o = r.size ?? 8, c = r.size ?? 32;
|
|
1295
|
+
return /* @__PURE__ */ n.jsx(Ro, { height: c, width: o });
|
|
1296
|
+
}, Oo = /* @__PURE__ */ l("div")({
|
|
1297
|
+
name: "StyledWrapper",
|
|
1298
|
+
class: "sbax95g",
|
|
1299
|
+
propsAsIs: !1
|
|
1300
|
+
}), Fo = /* @__PURE__ */ l("div")({
|
|
1301
|
+
name: "StyledInputContainer",
|
|
1302
|
+
class: "s4b2e6d",
|
|
1303
|
+
propsAsIs: !1
|
|
1304
|
+
}), Go = () => ({
|
|
1305
|
+
isFocused: r
|
|
1306
|
+
}) => r ? e.font.color.secondary : e.font.color.light, Ho = /* @__PURE__ */ l("div")({
|
|
1307
|
+
name: "StyledIconContainer",
|
|
1308
|
+
class: "sj2a6tv",
|
|
1309
|
+
propsAsIs: !1,
|
|
1310
|
+
vars: {
|
|
1311
|
+
"sj2a6tv-0": [Go()]
|
|
1312
|
+
}
|
|
1313
|
+
}), Po = /* @__PURE__ */ l("input")({
|
|
1314
|
+
name: "StyledInput",
|
|
1315
|
+
class: "s1ktfsj4",
|
|
1316
|
+
propsAsIs: !1
|
|
1317
|
+
}), jt = ({
|
|
1318
|
+
value: r,
|
|
1319
|
+
onChange: o,
|
|
1320
|
+
placeholder: c,
|
|
1321
|
+
filterDropdown: s,
|
|
1322
|
+
autoFocus: a,
|
|
1323
|
+
disabled: d,
|
|
1324
|
+
className: t
|
|
1325
|
+
}) => {
|
|
1326
|
+
const {
|
|
1327
|
+
theme: i
|
|
1328
|
+
} = k(S), [p, u] = M(!1), x = /* @__PURE__ */ n.jsx(ve, { Icon: ir, variant: "secondary" });
|
|
1329
|
+
return /* @__PURE__ */ n.jsxs(Oo, { className: t, children: [
|
|
1330
|
+
/* @__PURE__ */ n.jsxs(Fo, { children: [
|
|
1331
|
+
/* @__PURE__ */ n.jsx(Ho, { isFocused: p, children: /* @__PURE__ */ n.jsx(lr, { size: i.icon.size.md }) }),
|
|
1332
|
+
/* @__PURE__ */ n.jsx(Po, { value: r, onChange: (g) => o(g.target.value), onFocus: () => u(!0), onBlur: () => u(!1), placeholder: c, autoFocus: a, disabled: d })
|
|
1333
|
+
] }),
|
|
1334
|
+
s && s(x)
|
|
1335
|
+
] });
|
|
1336
|
+
};
|
|
1337
|
+
export {
|
|
1338
|
+
lt as AnimatedButton,
|
|
1339
|
+
it as AnimatedLightIconButton,
|
|
1340
|
+
X as BASE_CODE_EDITOR_THEME_ID,
|
|
1341
|
+
wt as Button,
|
|
1342
|
+
pt as ButtonGroup,
|
|
1343
|
+
Ct as CardPicker,
|
|
1344
|
+
Et as Checkbox,
|
|
1345
|
+
Tt as CheckboxAccent,
|
|
1346
|
+
qt as CheckboxShape,
|
|
1347
|
+
Dt as CheckboxSize,
|
|
1348
|
+
Mt as CheckboxVariant,
|
|
1349
|
+
St as CodeEditor,
|
|
1350
|
+
ut as ColorPickerButton,
|
|
1351
|
+
V as ColorSchemeCard,
|
|
1352
|
+
vt as ColorSchemePicker,
|
|
1353
|
+
$t as CoreEditorHeader,
|
|
1354
|
+
xt as FloatingButton,
|
|
1355
|
+
mt as FloatingButtonGroup,
|
|
1356
|
+
ge as FloatingIconButton,
|
|
1357
|
+
gt as FloatingIconButtonGroup,
|
|
1358
|
+
ve as IconButton,
|
|
1359
|
+
bt as IconButtonGroup,
|
|
1360
|
+
Bt as IconListViewGrip,
|
|
1361
|
+
je as InsideButton,
|
|
1362
|
+
vo as LabelPosition,
|
|
1363
|
+
At as LightButton,
|
|
1364
|
+
pr as LightIconButton,
|
|
1365
|
+
Wt as LightIconButtonGroup,
|
|
1366
|
+
ht as MainButton,
|
|
1367
|
+
sr as Radio,
|
|
1368
|
+
So as RadioGroup,
|
|
1369
|
+
$o as RadioSize,
|
|
1370
|
+
yt as RoundedIconButton,
|
|
1371
|
+
jt as SearchInput,
|
|
1372
|
+
Ge as StyledTabButton,
|
|
1373
|
+
ft as StyledTabContainer,
|
|
1374
|
+
Ke as StyledTabHover,
|
|
1375
|
+
kt as TabButton,
|
|
1376
|
+
Ue as TabContent,
|
|
1377
|
+
Rt as Toggle,
|
|
1378
|
+
zt as baseTransitionTiming,
|
|
1379
|
+
Je as getBaseCodeEditorTheme
|
|
1380
|
+
};
|