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
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { j as i } from "./jsx-runtime-R4VT8aVc.js";
|
|
2
|
+
import { styled as S } from "@linaria/react";
|
|
3
|
+
import { isNonEmptyString as j, isNull as U, isUndefined as B } from "@sniptt/guards";
|
|
4
|
+
import { atom as T, useAtom as P } from "jotai";
|
|
5
|
+
import { useContext as $ } from "react";
|
|
6
|
+
import { T as L } from "./ThemeProvider-CpY05Gd2.js";
|
|
7
|
+
import { s as A, R as V } from "./config-BQRGC1lM.js";
|
|
8
|
+
import { p as D } from "./utils-BsFkjDy5.js";
|
|
9
|
+
import { Tooltip as F } from "react-tooltip";
|
|
10
|
+
const _ = T([]);
|
|
11
|
+
_.debugLabel = "invalidAvatarUrlsAtomV2";
|
|
12
|
+
const k = {
|
|
13
|
+
xl: {
|
|
14
|
+
fontSize: "16px",
|
|
15
|
+
width: "40px"
|
|
16
|
+
},
|
|
17
|
+
lg: {
|
|
18
|
+
fontSize: "13px",
|
|
19
|
+
width: "24px"
|
|
20
|
+
},
|
|
21
|
+
md: {
|
|
22
|
+
fontSize: "12px",
|
|
23
|
+
width: "16px"
|
|
24
|
+
},
|
|
25
|
+
sm: {
|
|
26
|
+
fontSize: "10px",
|
|
27
|
+
width: "14px"
|
|
28
|
+
},
|
|
29
|
+
xs: {
|
|
30
|
+
fontSize: "8px",
|
|
31
|
+
width: "12px"
|
|
32
|
+
}
|
|
33
|
+
}, N = () => ({
|
|
34
|
+
rounded: s,
|
|
35
|
+
type: r
|
|
36
|
+
}) => s ? "50%" : r === "icon" ? "4px" : "2px", W = () => ({
|
|
37
|
+
type: s,
|
|
38
|
+
borderColor: r
|
|
39
|
+
}) => s === "app" && r ? `1px solid ${r}` : "none", q = () => ({
|
|
40
|
+
size: s
|
|
41
|
+
}) => k[s].fontSize, H = () => ({
|
|
42
|
+
size: s
|
|
43
|
+
}) => k[s].width, M = () => ({
|
|
44
|
+
color: s
|
|
45
|
+
}) => s, O = () => ({
|
|
46
|
+
backgroundColor: s
|
|
47
|
+
}) => s, Y = () => ({
|
|
48
|
+
clickable: s,
|
|
49
|
+
backgroundTransparentLight: r
|
|
50
|
+
}) => s ? `0 0 0 4px ${r}` : "none", Z = /* @__PURE__ */ S("div")({
|
|
51
|
+
name: "StyledAvatar",
|
|
52
|
+
class: "skj0go6",
|
|
53
|
+
propsAsIs: !1,
|
|
54
|
+
vars: {
|
|
55
|
+
"skj0go6-0": [N()],
|
|
56
|
+
"skj0go6-1": [W()],
|
|
57
|
+
"skj0go6-2": [q()],
|
|
58
|
+
"skj0go6-3": [H()],
|
|
59
|
+
"skj0go6-4": [M()],
|
|
60
|
+
"skj0go6-5": [O()],
|
|
61
|
+
"skj0go6-6": [Y()]
|
|
62
|
+
}
|
|
63
|
+
}), G = /* @__PURE__ */ S("img")({
|
|
64
|
+
name: "StyledImage",
|
|
65
|
+
class: "s11vr7rx",
|
|
66
|
+
propsAsIs: !1
|
|
67
|
+
}), J = () => ({
|
|
68
|
+
fontWeight: s
|
|
69
|
+
}) => s, K = /* @__PURE__ */ S("span")({
|
|
70
|
+
name: "StyledPlaceholderChar",
|
|
71
|
+
class: "s1muucam",
|
|
72
|
+
propsAsIs: !1,
|
|
73
|
+
vars: {
|
|
74
|
+
"s1muucam-0": [J()]
|
|
75
|
+
}
|
|
76
|
+
}), ms = ({
|
|
77
|
+
avatarUrl: s,
|
|
78
|
+
size: r = "md",
|
|
79
|
+
placeholder: c,
|
|
80
|
+
placeholderColorSeed: e = c,
|
|
81
|
+
Icon: n,
|
|
82
|
+
iconColor: l,
|
|
83
|
+
onClick: m,
|
|
84
|
+
type: a = "squared",
|
|
85
|
+
color: d,
|
|
86
|
+
backgroundColor: p,
|
|
87
|
+
borderColor: x
|
|
88
|
+
}) => {
|
|
89
|
+
const {
|
|
90
|
+
theme: t
|
|
91
|
+
} = $(L), [g, h] = P(_), o = j(s) ? D({
|
|
92
|
+
imageUrl: s,
|
|
93
|
+
baseUrl: V
|
|
94
|
+
}) : null, u = c?.trim()?.charAt(0), f = !u || u === "", C = u?.toUpperCase() || "-", v = U(o) || g.includes(o), y = () => {
|
|
95
|
+
j(o) && h((z) => [...z, o]);
|
|
96
|
+
}, E = f ? t.font.color.tertiary : d ?? A({
|
|
97
|
+
string: e ?? "",
|
|
98
|
+
variant: 12,
|
|
99
|
+
theme: t
|
|
100
|
+
}), w = f ? t.background.transparent.light : p ?? A({
|
|
101
|
+
string: e ?? "",
|
|
102
|
+
variant: a === "app" ? 5 : 4,
|
|
103
|
+
theme: t
|
|
104
|
+
}), R = a === "app" ? x ?? (f ? void 0 : A({
|
|
105
|
+
string: e ?? "",
|
|
106
|
+
variant: 6,
|
|
107
|
+
theme: t
|
|
108
|
+
})) : void 0, b = v, I = v;
|
|
109
|
+
return /* @__PURE__ */ i.jsx(Z, { size: r, backgroundColor: n ? "inherit" : b ? w : "none", borderColor: I ? R : void 0, color: E, clickable: !B(m), rounded: a === "rounded", type: a, onClick: m, backgroundTransparentLight: t.background.transparent.light, children: n ? /* @__PURE__ */ i.jsx(n, { color: l || "currentColor", size: t.icon.size.xl }) : v ? /* @__PURE__ */ i.jsx(K, { fontWeight: 500, children: C }) : /* @__PURE__ */ i.jsx(G, { src: o, onError: y, alt: "" }) });
|
|
110
|
+
};
|
|
111
|
+
var Q = /* @__PURE__ */ ((s) => (s.Top = "top", s.Left = "left", s.Right = "right", s.Bottom = "bottom", s))(Q || {}), X = /* @__PURE__ */ ((s) => (s.noDelay = "0ms", s.shortDelay = "300ms", s.mediumDelay = "500ms", s.longDelay = "1000ms", s))(X || {});
|
|
112
|
+
const ss = "a3dy3az", ds = ({
|
|
113
|
+
anchorSelect: s,
|
|
114
|
+
className: r,
|
|
115
|
+
content: c,
|
|
116
|
+
hidden: e = !1,
|
|
117
|
+
noArrow: n,
|
|
118
|
+
offset: l,
|
|
119
|
+
delay: m = "500ms",
|
|
120
|
+
place: a,
|
|
121
|
+
positionStrategy: d,
|
|
122
|
+
children: p,
|
|
123
|
+
clickable: x,
|
|
124
|
+
width: t,
|
|
125
|
+
isOpen: g
|
|
126
|
+
}) => {
|
|
127
|
+
const h = (o) => {
|
|
128
|
+
switch (o) {
|
|
129
|
+
case "0ms":
|
|
130
|
+
return 0;
|
|
131
|
+
case "300ms":
|
|
132
|
+
return 300;
|
|
133
|
+
case "500ms":
|
|
134
|
+
return 500;
|
|
135
|
+
case "1000ms":
|
|
136
|
+
return 1e3;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
return /* @__PURE__ */ i.jsx(F, { anchorSelect: s, className: `${ss}${r ? ` ${r}` : ""}`, content: c, delayShow: h(m), delayHide: 20, hidden: e, noArrow: n, offset: l, place: a, positionStrategy: d, clickable: x, isOpen: g, style: {
|
|
140
|
+
maxWidth: t ?? "40%"
|
|
141
|
+
}, children: p });
|
|
142
|
+
};
|
|
143
|
+
export {
|
|
144
|
+
ds as A,
|
|
145
|
+
X as T,
|
|
146
|
+
ms as a,
|
|
147
|
+
Q as b,
|
|
148
|
+
k as c,
|
|
149
|
+
_ as i
|
|
150
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./jsx-runtime-CycUbF8Y.cjs"),j=require("@linaria/react"),p=require("@sniptt/guards"),_=require("jotai"),z=require("react"),B=require("./ThemeProvider-CLAfdrfV.cjs"),m=require("./config-rVY5Wtrt.cjs"),V=require("./utils-DOUsOuwI.cjs"),$=require("react-tooltip"),E=_.atom([]);E.debugLabel="invalidAvatarUrlsAtomV2";const R={xl:{fontSize:"16px",width:"40px"},lg:{fontSize:"13px",width:"24px"},md:{fontSize:"12px",width:"16px"},sm:{fontSize:"10px",width:"14px"},xs:{fontSize:"8px",width:"12px"}},L=()=>({rounded:t,type:s})=>t?"50%":s==="icon"?"4px":"2px",D=()=>({type:t,borderColor:s})=>t==="app"&&s?`1px solid ${s}`:"none",N=()=>({size:t})=>R[t].fontSize,F=()=>({size:t})=>R[t].width,O=()=>({color:t})=>t,W=()=>({backgroundColor:t})=>t,Y=()=>({clickable:t,backgroundTransparentLight:s})=>t?`0 0 0 4px ${s}`:"none",Z=j.styled("div")({name:"StyledAvatar",class:"skj0go6",propsAsIs:!1,vars:{"skj0go6-0":[L()],"skj0go6-1":[D()],"skj0go6-2":[N()],"skj0go6-3":[F()],"skj0go6-4":[O()],"skj0go6-5":[W()],"skj0go6-6":[Y()]}}),H=j.styled("img")({name:"StyledImage",class:"s11vr7rx",propsAsIs:!1}),M=()=>({fontWeight:t})=>t,G=j.styled("span")({name:"StyledPlaceholderChar",class:"s1muucam",propsAsIs:!1,vars:{"s1muucam-0":[M()]}}),J=({avatarUrl:t,size:s="md",placeholder:c,placeholderColorSeed:n=c,Icon:a,iconColor:l,onClick:d,type:o="squared",color:u,backgroundColor:x,borderColor:g})=>{const{theme:r}=z.useContext(B.ThemeContext),[h,A]=_.useAtom(E),e=p.isNonEmptyString(t)?V.ps({imageUrl:t,baseUrl:m.REACT_APP_SERVER_BASE_URL}):null,v=c?.trim()?.charAt(0),f=!v||v==="",T=v?.toUpperCase()||"-",S=p.isNull(e)||h.includes(e),k=()=>{p.isNonEmptyString(e)&&A(b=>[...b,e])},I=f?r.font.color.tertiary:u??m.stringToThemeColorP3String({string:n??"",variant:12,theme:r}),P=f?r.background.transparent.light:x??m.stringToThemeColorP3String({string:n??"",variant:o==="app"?5:4,theme:r}),w=o==="app"?g??(f?void 0:m.stringToThemeColorP3String({string:n??"",variant:6,theme:r})):void 0,q=S,U=S;return i.jsxRuntimeExports.jsx(Z,{size:s,backgroundColor:a?"inherit":q?P:"none",borderColor:U?w:void 0,color:I,clickable:!p.isUndefined(d),rounded:o==="rounded",type:o,onClick:d,backgroundTransparentLight:r.background.transparent.light,children:a?i.jsxRuntimeExports.jsx(a,{color:l||"currentColor",size:r.icon.size.xl}):S?i.jsxRuntimeExports.jsx(G,{fontWeight:500,children:T}):i.jsxRuntimeExports.jsx(H,{src:e,onError:k,alt:""})})};var y=(t=>(t.Top="top",t.Left="left",t.Right="right",t.Bottom="bottom",t))(y||{}),C=(t=>(t.noDelay="0ms",t.shortDelay="300ms",t.mediumDelay="500ms",t.longDelay="1000ms",t))(C||{});const K="a3dy3az",Q=({anchorSelect:t,className:s,content:c,hidden:n=!1,noArrow:a,offset:l,delay:d="500ms",place:o,positionStrategy:u,children:x,clickable:g,width:r,isOpen:h})=>{const A=e=>{switch(e){case"0ms":return 0;case"300ms":return 300;case"500ms":return 500;case"1000ms":return 1e3}};return i.jsxRuntimeExports.jsx($.Tooltip,{anchorSelect:t,className:`${K}${s?` ${s}`:""}`,content:c,delayShow:A(d),delayHide:20,hidden:n,noArrow:a,offset:l,place:o,positionStrategy:u,clickable:g,isOpen:h,style:{maxWidth:r??"40%"},children:x})};exports.AVATAR_PROPERTIES_BY_SIZE=R;exports.AppTooltip=Q;exports.Avatar=J;exports.TooltipDelay=C;exports.TooltipPosition=y;exports.invalidAvatarUrlsAtomV2=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./jsx-runtime-CycUbF8Y.cjs"),c=require("@linaria/react"),e=require("./themeCssVariables-DswYV7vR.cjs"),B=require("./useIsMobile-BhDUpJrC.cjs"),z=require("./Loader-DvDr98P8.cjs"),V=require("./ThemeProvider-CLAfdrfV.cjs"),p=require("react"),O=require("./Pill-fgWKgFIn.cjs"),b=require("./MainColorNames-I8OTbUOe.cjs"),H=require("react-router-dom"),M=require("./utils-DOUsOuwI.cjs"),R=require("./createReactComponent-w5VMPsZQ.cjs"),Y=require("./ColorSample-BWfzelYk.cjs"),F=()=>({accent:s})=>{switch(s){case"blue":return e.themeCssVariables.buttons.secondaryTextColor;case"danger":return e.themeCssVariables.border.color.danger;default:return e.themeCssVariables.font.color.light}},P=()=>({buttonSize:s})=>s==="small"?e.themeCssVariables.spacing[2]:e.themeCssVariables.spacing[4],D=c.styled("div")({name:"StyledSeparator",class:"sllpu36",propsAsIs:!1,vars:{"sllpu36-0":[F()],"sllpu36-1":[P()]}}),N=()=>({variant:s,accent:o})=>{switch(o){case"blue":return e.themeCssVariables.buttons.secondaryTextColor;case"danger":return s==="primary"?e.themeCssVariables.border.color.danger:e.themeCssVariables.color.red8;default:return e.themeCssVariables.font.color.light}},X=c.styled("div")({name:"StyledShortcutLabel",class:"s1nucchm",propsAsIs:!1,vars:{"s1nucchm-0":[N()]}}),J=({size:s,accent:o,variant:a,hotkeys:t})=>l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[l.jsxRuntimeExports.jsx(D,{buttonSize:s,accent:o}),l.jsxRuntimeExports.jsx(X,{variant:a,accent:o,children:t.join(B.getOsShortcutSeparator())})]}),y=300,K=()=>({isLoading:s})=>s?0:1,Q=()=>({isLoading:s})=>s?"0ms":`${y/2}ms`,U=c.styled("div")({name:"StyledIcon",class:"sajaw6e",propsAsIs:!1,vars:{"sajaw6e-0":[K()],"sajaw6e-1":[Q()]}}),Z=c.styled("div")({name:"StyledIconWrapper",class:"sl5708k",propsAsIs:!1}),ee=c.styled("div")({name:"StyledLoader",class:"smqlhbz",propsAsIs:!1}),se=({Icon:s,isLoading:o})=>{const{theme:a}=p.useContext(V.ThemeContext);return l.jsxRuntimeExports.jsxs(Z,{children:[o&&l.jsxRuntimeExports.jsx(ee,{children:l.jsxRuntimeExports.jsx(z.Loader,{})}),s&&l.jsxRuntimeExports.jsx(U,{isLoading:!!o,children:l.jsxRuntimeExports.jsx(s,{size:a.icon.size.sm})})]})},re=c.styled("span")({name:"StyledSoonPillContainer",class:"sqfkmy5",propsAsIs:!1}),ae=({label:s="Soon"})=>l.jsxRuntimeExports.jsx(re,{children:l.jsxRuntimeExports.jsx(O.Pill,{label:s})}),te=()=>({isLoading:s})=>s?"inset(0 0 0 0)":`inset(0 0 0 ${e.themeCssVariables.spacing[6]})`,oe=c.styled("div")({name:"StyledEllipsis",class:"steh8bd",propsAsIs:!1,vars:{"steh8bd-0":[te()]}}),ne=c.styled("div")({name:"StyledTextWrapper",class:"s18cc27",propsAsIs:!1}),le=()=>({isLoading:s,hasIcon:o})=>s?` inset(0 ${o?e.themeCssVariables.spacing[6]:e.themeCssVariables.spacing[12]} 0 0)`:" inset(0 0 0 0)",ce=()=>({isLoading:s,hasIcon:o})=>s?`translateX(${o?e.themeCssVariables.spacing[3]:e.themeCssVariables.spacing[7]})`:"none",ie=()=>({isLoading:s})=>s?"0ms":`${y/4}ms`,be=c.styled("div")({name:"StyledText",class:"s16uexlw",propsAsIs:!1,vars:{"s16uexlw-0":[le()],"s16uexlw-1":[ce()],"s16uexlw-2":[ie()]}}),me=({hasIcon:s=!1,isLoading:o,title:a})=>l.jsxRuntimeExports.jsxs(ne,{children:[l.jsxRuntimeExports.jsx(be,{isLoading:o,hasIcon:s,children:a}),l.jsxRuntimeExports.jsx(oe,{isLoading:o,children:"..."})]}),he=(s,o,a,t,n,i)=>{const r={background:"transparent",borderColor:"transparent",borderWidthOverride:"",boxShadow:"none",color:e.themeCssVariables.font.color.secondary,hoverBackground:"transparent",activeBackground:"transparent"};switch(s){case"primary":switch(o){case"default":r.background=a?e.themeCssVariables.background.primary:e.themeCssVariables.background.secondary,r.borderColor=a?e.themeCssVariables.background.transparent.light:!t&&n?e.themeCssVariables.color.blue:e.themeCssVariables.background.transparent.light,r.borderWidthOverride="1px 1px 1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.accent.tertiary}`:"none",r.color=a?e.themeCssVariables.font.color.secondary:t?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.secondary,t?(r.hoverBackground=r.background,r.activeBackground=r.background):(r.hoverBackground=a?e.themeCssVariables.background.secondary:e.themeCssVariables.background.tertiary,r.activeBackground=a?e.themeCssVariables.background.tertiary:e.themeCssVariables.background.quaternary);break;case"blue":r.background=a?e.themeCssVariables.background.primary:t?e.themeCssVariables.accent.accent4060:e.themeCssVariables.color.blue,r.borderColor=a?e.themeCssVariables.background.transparent.light:n?e.themeCssVariables.color.blue:e.themeCssVariables.background.transparent.light,r.borderWidthOverride="1px 1px 1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.accent.tertiary}`:"none",r.color=a?e.themeCssVariables.color.blue:b.GRAY_SCALE_LIGHT.gray1,t?(r.hoverBackground=r.background,r.activeBackground=r.background):(r.hoverBackground=a?e.themeCssVariables.background.secondary:e.themeCssVariables.color.blue10,r.activeBackground=a?e.themeCssVariables.background.tertiary:e.themeCssVariables.color.blue12);break;case"danger":r.background=a?e.themeCssVariables.background.primary:e.themeCssVariables.color.red,r.borderColor=a?e.themeCssVariables.background.transparent.light:n?e.themeCssVariables.color.red:e.themeCssVariables.background.transparent.light,r.borderWidthOverride="1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.color.red3}`:"none",r.color=a?e.themeCssVariables.color.red:e.themeCssVariables.background.primary,t?(r.hoverBackground=r.background,r.activeBackground=r.background):(r.hoverBackground=a?e.themeCssVariables.background.secondary:e.themeCssVariables.color.red8,r.activeBackground=a?e.themeCssVariables.background.tertiary:e.themeCssVariables.color.red10);break}break;case"secondary":case"tertiary":switch(o){case"default":r.borderColor=a?s==="secondary"?n||t?b.GRAY_SCALE_LIGHT.gray1:e.themeCssVariables.background.transparent.primary:n?b.GRAY_SCALE_LIGHT.gray1:"transparent":s==="secondary"?!t&&n?e.themeCssVariables.color.blue:e.themeCssVariables.background.transparent.medium:n?e.themeCssVariables.color.blue:"transparent",r.borderWidthOverride="1px 1px 1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.accent.tertiary}`:"none",r.color=a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.secondary,r.hoverBackground=a?e.themeCssVariables.background.transparent.light:t?"transparent":e.themeCssVariables.background.transparent.light,r.activeBackground=a?e.themeCssVariables.background.transparent.medium:t?"transparent":e.themeCssVariables.background.transparent.light;break;case"blue":r.borderColor=a?s==="secondary"?n||t?b.GRAY_SCALE_LIGHT.gray1:e.themeCssVariables.background.transparent.primary:n?b.GRAY_SCALE_LIGHT.gray1:"transparent":s==="secondary"?n?e.themeCssVariables.color.blue:e.themeCssVariables.accent.primary:n?e.themeCssVariables.color.blue:"transparent",r.borderWidthOverride="1px 1px 1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.accent.tertiary}`:"none",r.color=a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.accent.accent4060:e.themeCssVariables.color.blue,r.hoverBackground=a?e.themeCssVariables.background.transparent.light:t?"transparent":e.themeCssVariables.accent.tertiary,r.activeBackground=a?e.themeCssVariables.background.transparent.medium:t?"transparent":e.themeCssVariables.accent.secondary;break;case"danger":r.borderColor=a?s==="secondary"?n||t?b.GRAY_SCALE_LIGHT.gray1:e.themeCssVariables.background.transparent.primary:n?b.GRAY_SCALE_LIGHT.gray1:"transparent":s==="secondary"?n?e.themeCssVariables.color.red:e.themeCssVariables.border.color.danger:n?e.themeCssVariables.color.red:"transparent",r.borderWidthOverride="1px 1px 1px 1px",r.boxShadow=!t&&n?`0 0 0 3px ${a?e.themeCssVariables.background.transparent.medium:e.themeCssVariables.color.red3}`:"none",r.color=a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.color.red5:e.themeCssVariables.font.color.danger,r.hoverBackground=a?e.themeCssVariables.background.transparent.light:t?"transparent":e.themeCssVariables.background.danger,r.activeBackground=a?e.themeCssVariables.background.transparent.medium:t?"transparent":e.themeCssVariables.background.danger;break}break}if(r.borderWidthOverride!==""&&i!=="standalone")switch(i){case"left":r.borderWidthOverride="1px 0px 1px 1px";break;case"middle":r.borderWidthOverride="1px 0px 1px 0px";break;case"right":r.borderWidthOverride="1px 1px 1px 0px";break}return r},ue=()=>({position:s})=>{switch(s){case"left":return`${e.themeCssVariables.border.radius.sm} 0px 0px ${e.themeCssVariables.border.radius.sm}`;case"right":return`0px ${e.themeCssVariables.border.radius.sm} ${e.themeCssVariables.border.radius.sm} 0px`;case"middle":return"0px";case"standalone":return e.themeCssVariables.border.radius.sm}return""},de=()=>({disabled:s})=>s?"not-allowed":"pointer",pe=()=>({size:s})=>s==="small"?"24px":"32px",xe=()=>({justify:s})=>s??"",Ce=()=>({fullWidth:s})=>s?"100%":"auto",ge=c.styled("button")({name:"StyledButton",class:"s12e8o4d",propsAsIs:!1,vars:{"s12e8o4d-0":[ue()],"s12e8o4d-1":[de()],"s12e8o4d-2":[pe()],"s12e8o4d-3":[xe()],"s12e8o4d-4":[Ce()]}}),Ve=()=>({isLoading:s})=>s?`calc(100% - ${e.themeCssVariables.spacing[8]})`:"none",ye=()=>({fullWidth:s})=>s?"100%":"auto",ke=c.styled("div")({name:"StyledButtonWrapper",class:"s1h34fqo",propsAsIs:!1,vars:{"s1h34fqo-0":[Ve()],"s1h34fqo-1":[ye()]}}),Se=(s,o,a,t)=>{switch(s){case"primary":switch(o){case"default":return a?e.themeCssVariables.font.color.secondary:t?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.secondary;case"blue":return a?e.themeCssVariables.color.blue:b.GRAY_SCALE_LIGHT.gray1;case"danger":return a?e.themeCssVariables.color.red:e.themeCssVariables.background.primary}break;case"secondary":case"tertiary":switch(o){case"default":return a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.secondary;case"blue":return a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.accent.accent4060:e.themeCssVariables.color.blue;case"danger":return a?e.themeCssVariables.font.color.inverted:t?e.themeCssVariables.color.red5:e.themeCssVariables.font.color.danger}break}return e.themeCssVariables.font.color.secondary},je=({className:s,Icon:o,title:a,id:t,fullWidth:n=!1,variant:i="primary",inverted:r=!1,size:x="medium",accent:h="default",position:u="standalone",soon:k=!1,disabled:E=!1,justify:$="flex-start",focus:w=!1,onClick:I,to:S,target:A,dataTestId:L,dataClickOutsideId:q,dataGloballyPreventClickOutside:T,hotkeys:j,ariaLabel:v,type:W,isLoading:d=!1})=>{const G=B.useIsMobile(),[g,f]=p.useState(w),C=k||E,_=p.useMemo(()=>{const m=he(i,h,r,C,g,u);return{"--btn-bg":m.background,"--btn-border-color":m.borderColor,"--btn-border-width":m.borderWidthOverride||void 0,"--btn-box-shadow":m.boxShadow,"--btn-color":m.color,"--btn-hover-bg":m.hoverBackground,"--btn-active-bg":m.activeBackground,"--tw-button-color":Se(i,h,r,C)}},[i,h,r,C,g,u]);return l.jsxRuntimeExports.jsx(ke,{isLoading:!!d,fullWidth:n,style:_,children:l.jsxRuntimeExports.jsxs(ge,{id:t,fullWidth:n,position:u,disabled:C,hasIcon:!!o,focus:g,justify:$,className:s,onClick:I,to:S,as:S?H.Link:"button",target:A,"data-testid":L,"data-click-outside-id":q,"data-globally-prevent-click-outside":T,"aria-label":v,type:W,isLoading:d,onFocus:()=>f(!0),onBlur:()=>f(!1),size:x,style:_,children:[(d||o)&&l.jsxRuntimeExports.jsx(se,{Icon:o,isLoading:!!d}),M.o(a)&&l.jsxRuntimeExports.jsx(me,{hasIcon:!!o,title:a,isLoading:d}),j&&!G&&l.jsxRuntimeExports.jsx(J,{hotkeys:j,variant:i,accent:h,size:x}),k&&l.jsxRuntimeExports.jsx(ae,{})]})})};const fe=[["path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227",key:"svg-0"}]],_e=R.createReactComponent("outline","filter","Filter",fe);const Be=[["path",{d:"M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]],Re=R.createReactComponent("outline","search","Search",Be),Ee=()=>({focus:s})=>s?`1px solid ${e.themeCssVariables.color.blue}`:"none",$e=()=>({focus:s})=>s?`0 0 0 3px ${e.themeCssVariables.color.blue3}`:"none",we=()=>({accent:s,active:o,disabled:a,focus:t})=>{switch(s){case"secondary":return o||t?e.themeCssVariables.color.blue:a?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.secondary;case"tertiary":return o||t?e.themeCssVariables.color.blue:a?e.themeCssVariables.font.color.extraLight:e.themeCssVariables.font.color.tertiary}return""},Ie=()=>({disabled:s})=>s?"not-allowed":"pointer",Ae=()=>({disabled:s})=>s?"transparent":e.themeCssVariables.background.transparent.light,Le=()=>({disabled:s})=>s?"transparent":e.themeCssVariables.background.transparent.medium,qe=c.styled("button")({name:"StyledButton",class:"sqrzk4i",propsAsIs:!1,vars:{"sqrzk4i-0":[Ee()],"sqrzk4i-1":[$e()],"sqrzk4i-2":[we()],"sqrzk4i-3":[Ie()],"sqrzk4i-4":[Ae()],"sqrzk4i-5":[Le()]}}),Te=({className:s,Icon:o,title:a,active:t=!1,accent:n="secondary",disabled:i=!1,focus:r=!1,type:x="button",onClick:h})=>{const{theme:u}=p.useContext(V.ThemeContext);return l.jsxRuntimeExports.jsxs(qe,{onClick:h,disabled:i,focus:r&&!i,type:x,accent:n,className:s,active:t,children:[!!o&&l.jsxRuntimeExports.jsx(o,{size:u.icon.size.md}),a]})},ve=c.styled("div")({name:"StyledContainer",class:"s1xyvrd6",propsAsIs:!1}),We=({className:s})=>{const{theme:o}=p.useContext(V.ThemeContext);return l.jsxRuntimeExports.jsx(ve,{className:s,children:l.jsxRuntimeExports.jsx(Y.IconCheck,{color:o.grayScale.gray1,size:14})})};exports.Button=je;exports.Checkmark=We;exports.IconFilter=_e;exports.IconSearch=Re;exports.LightButton=Te;exports.baseTransitionTiming=y;
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { j as c } from "./jsx-runtime-R4VT8aVc.js";
|
|
2
|
+
import { styled as l } from "@linaria/react";
|
|
3
|
+
import { t as r } from "./themeCssVariables-CBmoYPJ3.js";
|
|
4
|
+
import { g as M, u as E } from "./useIsMobile-CVMKHNZ4.js";
|
|
5
|
+
import { L as P } from "./Loader-CVqckhmU.js";
|
|
6
|
+
import { T as k } from "./ThemeProvider-CpY05Gd2.js";
|
|
7
|
+
import { useContext as y, useState as G, useMemo as R } from "react";
|
|
8
|
+
import { P as D } from "./Pill-CzxYmDQR.js";
|
|
9
|
+
import { G as p } from "./MainColorNames-syigy4-h.js";
|
|
10
|
+
import { Link as H } from "react-router-dom";
|
|
11
|
+
import { o as N } from "./utils-BsFkjDy5.js";
|
|
12
|
+
import { c as j } from "./createReactComponent-Cb6Pzf10.js";
|
|
13
|
+
import { a as V } from "./ColorSample-tgmSZ-F7.js";
|
|
14
|
+
const X = () => ({
|
|
15
|
+
accent: o
|
|
16
|
+
}) => {
|
|
17
|
+
switch (o) {
|
|
18
|
+
case "blue":
|
|
19
|
+
return r.buttons.secondaryTextColor;
|
|
20
|
+
case "danger":
|
|
21
|
+
return r.border.color.danger;
|
|
22
|
+
default:
|
|
23
|
+
return r.font.color.light;
|
|
24
|
+
}
|
|
25
|
+
}, Y = () => ({
|
|
26
|
+
buttonSize: o
|
|
27
|
+
}) => o === "small" ? r.spacing[2] : r.spacing[4], J = /* @__PURE__ */ l("div")({
|
|
28
|
+
name: "StyledSeparator",
|
|
29
|
+
class: "sllpu36",
|
|
30
|
+
propsAsIs: !1,
|
|
31
|
+
vars: {
|
|
32
|
+
"sllpu36-0": [X()],
|
|
33
|
+
"sllpu36-1": [Y()]
|
|
34
|
+
}
|
|
35
|
+
}), K = () => ({
|
|
36
|
+
variant: o,
|
|
37
|
+
accent: n
|
|
38
|
+
}) => {
|
|
39
|
+
switch (n) {
|
|
40
|
+
case "blue":
|
|
41
|
+
return r.buttons.secondaryTextColor;
|
|
42
|
+
case "danger":
|
|
43
|
+
return o === "primary" ? r.border.color.danger : r.color.red8;
|
|
44
|
+
default:
|
|
45
|
+
return r.font.color.light;
|
|
46
|
+
}
|
|
47
|
+
}, Q = /* @__PURE__ */ l("div")({
|
|
48
|
+
name: "StyledShortcutLabel",
|
|
49
|
+
class: "s1nucchm",
|
|
50
|
+
propsAsIs: !1,
|
|
51
|
+
vars: {
|
|
52
|
+
"s1nucchm-0": [K()]
|
|
53
|
+
}
|
|
54
|
+
}), U = ({
|
|
55
|
+
size: o,
|
|
56
|
+
accent: n,
|
|
57
|
+
variant: a,
|
|
58
|
+
hotkeys: t
|
|
59
|
+
}) => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
60
|
+
/* @__PURE__ */ c.jsx(J, { buttonSize: o, accent: n }),
|
|
61
|
+
/* @__PURE__ */ c.jsx(Q, { variant: a, accent: n, children: t.join(M()) })
|
|
62
|
+
] }), _ = 300, Z = () => ({
|
|
63
|
+
isLoading: o
|
|
64
|
+
}) => o ? 0 : 1, rr = () => ({
|
|
65
|
+
isLoading: o
|
|
66
|
+
}) => o ? "0ms" : `${_ / 2}ms`, or = /* @__PURE__ */ l("div")({
|
|
67
|
+
name: "StyledIcon",
|
|
68
|
+
class: "sajaw6e",
|
|
69
|
+
propsAsIs: !1,
|
|
70
|
+
vars: {
|
|
71
|
+
"sajaw6e-0": [Z()],
|
|
72
|
+
"sajaw6e-1": [rr()]
|
|
73
|
+
}
|
|
74
|
+
}), er = /* @__PURE__ */ l("div")({
|
|
75
|
+
name: "StyledIconWrapper",
|
|
76
|
+
class: "sl5708k",
|
|
77
|
+
propsAsIs: !1
|
|
78
|
+
}), ar = /* @__PURE__ */ l("div")({
|
|
79
|
+
name: "StyledLoader",
|
|
80
|
+
class: "smqlhbz",
|
|
81
|
+
propsAsIs: !1
|
|
82
|
+
}), tr = ({
|
|
83
|
+
Icon: o,
|
|
84
|
+
isLoading: n
|
|
85
|
+
}) => {
|
|
86
|
+
const {
|
|
87
|
+
theme: a
|
|
88
|
+
} = y(k);
|
|
89
|
+
return /* @__PURE__ */ c.jsxs(er, { children: [
|
|
90
|
+
n && /* @__PURE__ */ c.jsx(ar, { children: /* @__PURE__ */ c.jsx(P, {}) }),
|
|
91
|
+
o && /* @__PURE__ */ c.jsx(or, { isLoading: !!n, children: /* @__PURE__ */ c.jsx(o, { size: a.icon.size.sm }) })
|
|
92
|
+
] });
|
|
93
|
+
}, nr = /* @__PURE__ */ l("span")({
|
|
94
|
+
name: "StyledSoonPillContainer",
|
|
95
|
+
class: "sqfkmy5",
|
|
96
|
+
propsAsIs: !1
|
|
97
|
+
}), sr = ({
|
|
98
|
+
label: o = "Soon"
|
|
99
|
+
}) => /* @__PURE__ */ c.jsx(nr, { children: /* @__PURE__ */ c.jsx(D, { label: o }) }), cr = () => ({
|
|
100
|
+
isLoading: o
|
|
101
|
+
}) => o ? "inset(0 0 0 0)" : `inset(0 0 0 ${r.spacing[6]})`, lr = /* @__PURE__ */ l("div")({
|
|
102
|
+
name: "StyledEllipsis",
|
|
103
|
+
class: "steh8bd",
|
|
104
|
+
propsAsIs: !1,
|
|
105
|
+
vars: {
|
|
106
|
+
"steh8bd-0": [cr()]
|
|
107
|
+
}
|
|
108
|
+
}), dr = /* @__PURE__ */ l("div")({
|
|
109
|
+
name: "StyledTextWrapper",
|
|
110
|
+
class: "s18cc27",
|
|
111
|
+
propsAsIs: !1
|
|
112
|
+
}), pr = () => ({
|
|
113
|
+
isLoading: o,
|
|
114
|
+
hasIcon: n
|
|
115
|
+
}) => o ? ` inset(0 ${n ? r.spacing[6] : r.spacing[12]} 0 0)` : " inset(0 0 0 0)", ur = () => ({
|
|
116
|
+
isLoading: o,
|
|
117
|
+
hasIcon: n
|
|
118
|
+
}) => o ? `translateX(${n ? r.spacing[3] : r.spacing[7]})` : "none", ir = () => ({
|
|
119
|
+
isLoading: o
|
|
120
|
+
}) => o ? "0ms" : `${_ / 4}ms`, gr = /* @__PURE__ */ l("div")({
|
|
121
|
+
name: "StyledText",
|
|
122
|
+
class: "s16uexlw",
|
|
123
|
+
propsAsIs: !1,
|
|
124
|
+
vars: {
|
|
125
|
+
"s16uexlw-0": [pr()],
|
|
126
|
+
"s16uexlw-1": [ur()],
|
|
127
|
+
"s16uexlw-2": [ir()]
|
|
128
|
+
}
|
|
129
|
+
}), br = ({
|
|
130
|
+
hasIcon: o = !1,
|
|
131
|
+
isLoading: n,
|
|
132
|
+
title: a
|
|
133
|
+
}) => /* @__PURE__ */ c.jsxs(dr, { children: [
|
|
134
|
+
/* @__PURE__ */ c.jsx(gr, { isLoading: n, hasIcon: o, children: a }),
|
|
135
|
+
/* @__PURE__ */ c.jsx(lr, { isLoading: n, children: "..." })
|
|
136
|
+
] }), xr = (o, n, a, t, s, d) => {
|
|
137
|
+
const e = {
|
|
138
|
+
background: "transparent",
|
|
139
|
+
borderColor: "transparent",
|
|
140
|
+
borderWidthOverride: "",
|
|
141
|
+
boxShadow: "none",
|
|
142
|
+
color: r.font.color.secondary,
|
|
143
|
+
hoverBackground: "transparent",
|
|
144
|
+
activeBackground: "transparent"
|
|
145
|
+
};
|
|
146
|
+
switch (o) {
|
|
147
|
+
case "primary":
|
|
148
|
+
switch (n) {
|
|
149
|
+
case "default":
|
|
150
|
+
e.background = a ? r.background.primary : r.background.secondary, e.borderColor = a ? r.background.transparent.light : !t && s ? r.color.blue : r.background.transparent.light, e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.accent.tertiary}` : "none", e.color = a ? r.font.color.secondary : t ? r.font.color.extraLight : r.font.color.secondary, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? r.background.secondary : r.background.tertiary, e.activeBackground = a ? r.background.tertiary : r.background.quaternary);
|
|
151
|
+
break;
|
|
152
|
+
case "blue":
|
|
153
|
+
e.background = a ? r.background.primary : t ? r.accent.accent4060 : r.color.blue, e.borderColor = a ? r.background.transparent.light : s ? r.color.blue : r.background.transparent.light, e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.accent.tertiary}` : "none", e.color = a ? r.color.blue : p.gray1, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? r.background.secondary : r.color.blue10, e.activeBackground = a ? r.background.tertiary : r.color.blue12);
|
|
154
|
+
break;
|
|
155
|
+
case "danger":
|
|
156
|
+
e.background = a ? r.background.primary : r.color.red, e.borderColor = a ? r.background.transparent.light : s ? r.color.red : r.background.transparent.light, e.borderWidthOverride = "1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.color.red3}` : "none", e.color = a ? r.color.red : r.background.primary, t ? (e.hoverBackground = e.background, e.activeBackground = e.background) : (e.hoverBackground = a ? r.background.secondary : r.color.red8, e.activeBackground = a ? r.background.tertiary : r.color.red10);
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
case "secondary":
|
|
161
|
+
case "tertiary":
|
|
162
|
+
switch (n) {
|
|
163
|
+
case "default":
|
|
164
|
+
e.borderColor = a ? o === "secondary" ? s || t ? p.gray1 : r.background.transparent.primary : s ? p.gray1 : "transparent" : o === "secondary" ? !t && s ? r.color.blue : r.background.transparent.medium : s ? r.color.blue : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.accent.tertiary}` : "none", e.color = a ? r.font.color.inverted : t ? r.font.color.extraLight : r.font.color.secondary, e.hoverBackground = a ? r.background.transparent.light : t ? "transparent" : r.background.transparent.light, e.activeBackground = a ? r.background.transparent.medium : t ? "transparent" : r.background.transparent.light;
|
|
165
|
+
break;
|
|
166
|
+
case "blue":
|
|
167
|
+
e.borderColor = a ? o === "secondary" ? s || t ? p.gray1 : r.background.transparent.primary : s ? p.gray1 : "transparent" : o === "secondary" ? s ? r.color.blue : r.accent.primary : s ? r.color.blue : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.accent.tertiary}` : "none", e.color = a ? r.font.color.inverted : t ? r.accent.accent4060 : r.color.blue, e.hoverBackground = a ? r.background.transparent.light : t ? "transparent" : r.accent.tertiary, e.activeBackground = a ? r.background.transparent.medium : t ? "transparent" : r.accent.secondary;
|
|
168
|
+
break;
|
|
169
|
+
case "danger":
|
|
170
|
+
e.borderColor = a ? o === "secondary" ? s || t ? p.gray1 : r.background.transparent.primary : s ? p.gray1 : "transparent" : o === "secondary" ? s ? r.color.red : r.border.color.danger : s ? r.color.red : "transparent", e.borderWidthOverride = "1px 1px 1px 1px", e.boxShadow = !t && s ? `0 0 0 3px ${a ? r.background.transparent.medium : r.color.red3}` : "none", e.color = a ? r.font.color.inverted : t ? r.color.red5 : r.font.color.danger, e.hoverBackground = a ? r.background.transparent.light : t ? "transparent" : r.background.danger, e.activeBackground = a ? r.background.transparent.medium : t ? "transparent" : r.background.danger;
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (e.borderWidthOverride !== "" && d !== "standalone")
|
|
176
|
+
switch (d) {
|
|
177
|
+
case "left":
|
|
178
|
+
e.borderWidthOverride = "1px 0px 1px 1px";
|
|
179
|
+
break;
|
|
180
|
+
case "middle":
|
|
181
|
+
e.borderWidthOverride = "1px 0px 1px 0px";
|
|
182
|
+
break;
|
|
183
|
+
case "right":
|
|
184
|
+
e.borderWidthOverride = "1px 1px 1px 0px";
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
return e;
|
|
188
|
+
}, mr = () => ({
|
|
189
|
+
position: o
|
|
190
|
+
}) => {
|
|
191
|
+
switch (o) {
|
|
192
|
+
case "left":
|
|
193
|
+
return `${r.border.radius.sm} 0px 0px ${r.border.radius.sm}`;
|
|
194
|
+
case "right":
|
|
195
|
+
return `0px ${r.border.radius.sm} ${r.border.radius.sm} 0px`;
|
|
196
|
+
case "middle":
|
|
197
|
+
return "0px";
|
|
198
|
+
case "standalone":
|
|
199
|
+
return r.border.radius.sm;
|
|
200
|
+
}
|
|
201
|
+
return "";
|
|
202
|
+
}, hr = () => ({
|
|
203
|
+
disabled: o
|
|
204
|
+
}) => o ? "not-allowed" : "pointer", kr = () => ({
|
|
205
|
+
size: o
|
|
206
|
+
}) => o === "small" ? "24px" : "32px", yr = () => ({
|
|
207
|
+
justify: o
|
|
208
|
+
}) => o ?? "", fr = () => ({
|
|
209
|
+
fullWidth: o
|
|
210
|
+
}) => o ? "100%" : "auto", Sr = /* @__PURE__ */ l("button")({
|
|
211
|
+
name: "StyledButton",
|
|
212
|
+
class: "s12e8o4d",
|
|
213
|
+
propsAsIs: !1,
|
|
214
|
+
vars: {
|
|
215
|
+
"s12e8o4d-0": [mr()],
|
|
216
|
+
"s12e8o4d-1": [hr()],
|
|
217
|
+
"s12e8o4d-2": [kr()],
|
|
218
|
+
"s12e8o4d-3": [yr()],
|
|
219
|
+
"s12e8o4d-4": [fr()]
|
|
220
|
+
}
|
|
221
|
+
}), Br = () => ({
|
|
222
|
+
isLoading: o
|
|
223
|
+
}) => o ? `calc(100% - ${r.spacing[8]})` : "none", $r = () => ({
|
|
224
|
+
fullWidth: o
|
|
225
|
+
}) => o ? "100%" : "auto", wr = /* @__PURE__ */ l("div")({
|
|
226
|
+
name: "StyledButtonWrapper",
|
|
227
|
+
class: "s1h34fqo",
|
|
228
|
+
propsAsIs: !1,
|
|
229
|
+
vars: {
|
|
230
|
+
"s1h34fqo-0": [Br()],
|
|
231
|
+
"s1h34fqo-1": [$r()]
|
|
232
|
+
}
|
|
233
|
+
}), jr = (o, n, a, t) => {
|
|
234
|
+
switch (o) {
|
|
235
|
+
case "primary":
|
|
236
|
+
switch (n) {
|
|
237
|
+
case "default":
|
|
238
|
+
return a ? r.font.color.secondary : t ? r.font.color.extraLight : r.font.color.secondary;
|
|
239
|
+
case "blue":
|
|
240
|
+
return a ? r.color.blue : p.gray1;
|
|
241
|
+
case "danger":
|
|
242
|
+
return a ? r.color.red : r.background.primary;
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case "secondary":
|
|
246
|
+
case "tertiary":
|
|
247
|
+
switch (n) {
|
|
248
|
+
case "default":
|
|
249
|
+
return a ? r.font.color.inverted : t ? r.font.color.extraLight : r.font.color.secondary;
|
|
250
|
+
case "blue":
|
|
251
|
+
return a ? r.font.color.inverted : t ? r.accent.accent4060 : r.color.blue;
|
|
252
|
+
case "danger":
|
|
253
|
+
return a ? r.font.color.inverted : t ? r.color.red5 : r.font.color.danger;
|
|
254
|
+
}
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
return r.font.color.secondary;
|
|
258
|
+
}, Jr = ({
|
|
259
|
+
className: o,
|
|
260
|
+
Icon: n,
|
|
261
|
+
title: a,
|
|
262
|
+
id: t,
|
|
263
|
+
fullWidth: s = !1,
|
|
264
|
+
variant: d = "primary",
|
|
265
|
+
inverted: e = !1,
|
|
266
|
+
size: x = "medium",
|
|
267
|
+
accent: i = "default",
|
|
268
|
+
position: g = "standalone",
|
|
269
|
+
soon: f = !1,
|
|
270
|
+
disabled: C = !1,
|
|
271
|
+
justify: I = "flex-start",
|
|
272
|
+
focus: v = !1,
|
|
273
|
+
onClick: W,
|
|
274
|
+
to: S,
|
|
275
|
+
target: A,
|
|
276
|
+
dataTestId: L,
|
|
277
|
+
dataClickOutsideId: q,
|
|
278
|
+
dataGloballyPreventClickOutside: z,
|
|
279
|
+
hotkeys: B,
|
|
280
|
+
ariaLabel: O,
|
|
281
|
+
type: T,
|
|
282
|
+
isLoading: b = !1
|
|
283
|
+
}) => {
|
|
284
|
+
const F = E(), [h, $] = G(v), m = f || C, w = R(() => {
|
|
285
|
+
const u = xr(d, i, e, m, h, g);
|
|
286
|
+
return {
|
|
287
|
+
"--btn-bg": u.background,
|
|
288
|
+
"--btn-border-color": u.borderColor,
|
|
289
|
+
"--btn-border-width": u.borderWidthOverride || void 0,
|
|
290
|
+
"--btn-box-shadow": u.boxShadow,
|
|
291
|
+
"--btn-color": u.color,
|
|
292
|
+
"--btn-hover-bg": u.hoverBackground,
|
|
293
|
+
"--btn-active-bg": u.activeBackground,
|
|
294
|
+
"--tw-button-color": jr(d, i, e, m)
|
|
295
|
+
};
|
|
296
|
+
}, [d, i, e, m, h, g]);
|
|
297
|
+
return /* @__PURE__ */ c.jsx(wr, { isLoading: !!b, fullWidth: s, style: w, children: /* @__PURE__ */ c.jsxs(Sr, { id: t, fullWidth: s, position: g, disabled: m, hasIcon: !!n, focus: h, justify: I, className: o, onClick: W, to: S, as: S ? H : "button", target: A, "data-testid": L, "data-click-outside-id": q, "data-globally-prevent-click-outside": z, "aria-label": O, type: T, isLoading: b, onFocus: () => $(!0), onBlur: () => $(!1), size: x, style: w, children: [
|
|
298
|
+
(b || n) && /* @__PURE__ */ c.jsx(tr, { Icon: n, isLoading: !!b }),
|
|
299
|
+
N(a) && /* @__PURE__ */ c.jsx(br, { hasIcon: !!n, title: a, isLoading: b }),
|
|
300
|
+
B && !F && /* @__PURE__ */ c.jsx(U, { hotkeys: B, variant: d, accent: i, size: x }),
|
|
301
|
+
f && /* @__PURE__ */ c.jsx(sr, {})
|
|
302
|
+
] }) });
|
|
303
|
+
};
|
|
304
|
+
const _r = [["path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227", key: "svg-0" }]], Kr = j("outline", "filter", "Filter", _r);
|
|
305
|
+
const Cr = [["path", { d: "M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0", key: "svg-0" }], ["path", { d: "M21 21l-6 -6", key: "svg-1" }]], Qr = j("outline", "search", "Search", Cr), Ir = () => ({
|
|
306
|
+
focus: o
|
|
307
|
+
}) => o ? `1px solid ${r.color.blue}` : "none", vr = () => ({
|
|
308
|
+
focus: o
|
|
309
|
+
}) => o ? `0 0 0 3px ${r.color.blue3}` : "none", Wr = () => ({
|
|
310
|
+
accent: o,
|
|
311
|
+
active: n,
|
|
312
|
+
disabled: a,
|
|
313
|
+
focus: t
|
|
314
|
+
}) => {
|
|
315
|
+
switch (o) {
|
|
316
|
+
case "secondary":
|
|
317
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.secondary;
|
|
318
|
+
case "tertiary":
|
|
319
|
+
return n || t ? r.color.blue : a ? r.font.color.extraLight : r.font.color.tertiary;
|
|
320
|
+
}
|
|
321
|
+
return "";
|
|
322
|
+
}, Ar = () => ({
|
|
323
|
+
disabled: o
|
|
324
|
+
}) => o ? "not-allowed" : "pointer", Lr = () => ({
|
|
325
|
+
disabled: o
|
|
326
|
+
}) => o ? "transparent" : r.background.transparent.light, qr = () => ({
|
|
327
|
+
disabled: o
|
|
328
|
+
}) => o ? "transparent" : r.background.transparent.medium, zr = /* @__PURE__ */ l("button")({
|
|
329
|
+
name: "StyledButton",
|
|
330
|
+
class: "sqrzk4i",
|
|
331
|
+
propsAsIs: !1,
|
|
332
|
+
vars: {
|
|
333
|
+
"sqrzk4i-0": [Ir()],
|
|
334
|
+
"sqrzk4i-1": [vr()],
|
|
335
|
+
"sqrzk4i-2": [Wr()],
|
|
336
|
+
"sqrzk4i-3": [Ar()],
|
|
337
|
+
"sqrzk4i-4": [Lr()],
|
|
338
|
+
"sqrzk4i-5": [qr()]
|
|
339
|
+
}
|
|
340
|
+
}), Ur = ({
|
|
341
|
+
className: o,
|
|
342
|
+
Icon: n,
|
|
343
|
+
title: a,
|
|
344
|
+
active: t = !1,
|
|
345
|
+
accent: s = "secondary",
|
|
346
|
+
disabled: d = !1,
|
|
347
|
+
focus: e = !1,
|
|
348
|
+
type: x = "button",
|
|
349
|
+
onClick: i
|
|
350
|
+
}) => {
|
|
351
|
+
const {
|
|
352
|
+
theme: g
|
|
353
|
+
} = y(k);
|
|
354
|
+
return /* @__PURE__ */ c.jsxs(zr, { onClick: i, disabled: d, focus: e && !d, type: x, accent: s, className: o, active: t, children: [
|
|
355
|
+
!!n && /* @__PURE__ */ c.jsx(n, { size: g.icon.size.md }),
|
|
356
|
+
a
|
|
357
|
+
] });
|
|
358
|
+
}, Or = /* @__PURE__ */ l("div")({
|
|
359
|
+
name: "StyledContainer",
|
|
360
|
+
class: "s1xyvrd6",
|
|
361
|
+
propsAsIs: !1
|
|
362
|
+
}), Zr = ({
|
|
363
|
+
className: o
|
|
364
|
+
}) => {
|
|
365
|
+
const {
|
|
366
|
+
theme: n
|
|
367
|
+
} = y(k);
|
|
368
|
+
return /* @__PURE__ */ c.jsx(Or, { className: o, children: /* @__PURE__ */ c.jsx(V, { color: n.grayScale.gray1, size: 14 }) });
|
|
369
|
+
};
|
|
370
|
+
export {
|
|
371
|
+
Jr as B,
|
|
372
|
+
Zr as C,
|
|
373
|
+
Qr as I,
|
|
374
|
+
Ur as L,
|
|
375
|
+
Kr as a,
|
|
376
|
+
_ as b
|
|
377
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./createReactComponent-w5VMPsZQ.cjs"),r=require("./jsx-runtime-CycUbF8Y.cjs"),p=require("@linaria/react"),t=require("./themeCssVariables-DswYV7vR.cjs"),d=require("./ThemeProvider-CLAfdrfV.cjs"),z=require("react"),_=require("./utils-DOUsOuwI.cjs");const g=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],V=l.createReactComponent("outline","check","Check",g);const j=[["path",{d:"M5 12l14 0",key:"svg-0"}]],y=l.createReactComponent("outline","minus","Minus",j),f=()=>({disabled:e,focus:s})=>!e&&s?`1px solid ${t.themeCssVariables.color.blue}`:"none",k=()=>({disabled:e,focus:s})=>!e&&s?`0 0 0 3px ${t.themeCssVariables.color.blue3}`:"none",$=()=>({accent:e,active:s,disabled:n,focus:o})=>{switch(e){case"secondary":return s||o?t.themeCssVariables.color.blue:n?t.themeCssVariables.font.color.extraLight:t.themeCssVariables.font.color.secondary;case"tertiary":return s||o?t.themeCssVariables.color.blue:n?t.themeCssVariables.font.color.extraLight:t.themeCssVariables.font.color.tertiary}return""},R=()=>({disabled:e})=>e?"not-allowed":"pointer",S=()=>({size:e})=>e==="small"?t.themeCssVariables.spacing[6]:t.themeCssVariables.spacing[8],q=()=>({disabled:e})=>e?"transparent":t.themeCssVariables.background.transparent.light,I=()=>({disabled:e})=>e?"transparent":t.themeCssVariables.background.transparent.medium,v=p.styled("button")({name:"StyledButton",class:"s14cjsu4",propsAsIs:!1,vars:{"s14cjsu4-0":[f()],"s14cjsu4-1":[k()],"s14cjsu4-2":[$()],"s14cjsu4-3":[R()],"s14cjsu4-4":[S()],"s14cjsu4-5":[q()],"s14cjsu4-6":[I()]}}),B=({"aria-label":e,className:s,testId:n,Icon:o,active:m=!1,size:a="small",accent:b="secondary",disabled:c=!1,focus:x=!1,onClick:h,title:C})=>{const{theme:i}=z.useContext(d.ThemeContext);return r.jsxRuntimeExports.jsx(v,{"data-testid":n,"aria-label":e,onClick:h,disabled:c,focus:x&&!c,accent:b,className:s,size:a,active:m,title:C,children:o&&r.jsxRuntimeExports.jsx(o,{size:a==="medium"?i.icon.size.md:i.icon.size.sm})})},u=(e,s)=>_.o(s)?s:t.themeCssVariables.tag.background[e],M=e=>t.themeCssVariables.tag.text[e],L=()=>({colorName:e,color:s})=>u(e,s),E=()=>({variant:e,colorName:s})=>e==="pipeline"?"0":`1px solid ${M(s)}`,w=()=>({variant:e})=>e==="circle"?"50%":"60px",A=()=>({variant:e})=>e==="circle"?t.themeCssVariables.spacing[4]:t.themeCssVariables.spacing[3],N=()=>({variant:e})=>e==="pipeline"?"flex":"block",T=()=>({variant:e})=>e==="pipeline"?"center":"initial",P=()=>({colorName:e,color:s,variant:n})=>n==="pipeline"?u(e,s):"transparent",D=()=>({variant:e})=>e==="pipeline"?t.themeCssVariables.border.radius.rounded:"0",F=()=>({variant:e})=>e==="pipeline"?"''":"none",G=()=>({variant:e})=>e==="pipeline"?"block":"none",H=()=>({variant:e})=>e==="pipeline"?t.themeCssVariables.spacing[1]:"0",J=p.styled("div")({name:"StyledColorSample",class:"sz09bsz",propsAsIs:!1,vars:{"sz09bsz-0":[L()],"sz09bsz-1":[E()],"sz09bsz-2":[w()],"sz09bsz-3":[A()],"sz09bsz-4":[T()],"sz09bsz-5":[N()],"sz09bsz-6":[P()],"sz09bsz-7":[D()],"sz09bsz-8":[F()],"sz09bsz-9":[G()],"sz09bsz-10":[H()]}}),K=({colorName:e,color:s,variant:n,className:o})=>r.jsxRuntimeExports.jsx(J,{colorName:e,color:s,variant:n,className:o});exports.ColorSample=K;exports.IconCheck=V;exports.IconMinus=y;exports.LightIconButton=B;
|