twenty-sdk 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/front-component/host/components/FrontComponentRenderer.d.ts +1 -1
- package/dist/front-component.cjs +48 -221
- package/dist/front-component.mjs +13781 -32907
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +21 -7
- package/dist/types-BSOjxfFi.mjs +7 -0
- package/dist/types-DqLnNRPE.js +1 -0
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts +16 -6
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata.cjs +1 -1
- package/dist/vendor/twenty-shared/metadata.mjs +20 -6
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts +2 -1
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +11 -11
- package/dist/vendor/twenty-ui/AllIcons-CGPKtPQS.js +4188 -0
- package/dist/vendor/twenty-ui/AllIcons-CcTQbSjc.cjs +1 -0
- package/dist/vendor/twenty-ui/Animation-Dqlz22Qp.cjs +1 -0
- package/dist/vendor/twenty-ui/Animation-W4Sjfu-g.js +11 -0
- package/dist/vendor/twenty-ui/Avatar-Cg4dvBA_.js +130 -0
- package/dist/vendor/twenty-ui/Avatar-zyamQwOj.cjs +1 -0
- package/dist/vendor/twenty-ui/Button-BChGSHVB.js +257 -0
- package/dist/vendor/twenty-ui/Button-PLd38fEI.cjs +24 -0
- package/dist/vendor/twenty-ui/ColorSample-BEUix7Ah.cjs +16 -0
- package/dist/vendor/twenty-ui/ColorSample-Bp-he5lO.js +28 -0
- package/dist/vendor/twenty-ui/HoverBackground-D630rSrX.cjs +1 -0
- package/dist/vendor/twenty-ui/HoverBackground-bYDC0iDZ.js +5 -0
- package/dist/vendor/twenty-ui/Loader-9V3BLpiM.cjs +2 -0
- package/dist/vendor/twenty-ui/Loader-BmJ693nz.js +43 -0
- package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorNames-O_b9E7H3.js +5 -0
- package/dist/vendor/twenty-ui/MainColorsLight-GOpmobTe.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorsLight-x_vjLhiq.js +1682 -0
- package/dist/vendor/twenty-ui/MobileViewport-BcwxurOJ.cjs +1 -0
- package/dist/vendor/twenty-ui/MobileViewport-CDXq37n6.js +4 -0
- package/dist/vendor/twenty-ui/OverflowingTextWithTooltip-1P96Lw-o.cjs +1 -0
- package/dist/vendor/twenty-ui/OverflowingTextWithTooltip-F-KEqUMB.js +132 -0
- package/dist/vendor/twenty-ui/Pill-C3ErQi9y.js +16 -0
- package/dist/vendor/twenty-ui/Pill-D732nsLI.cjs +1 -0
- package/dist/vendor/twenty-ui/Tag-CfX8tARK.js +99 -0
- package/dist/vendor/twenty-ui/Tag-DIE1bmT7.cjs +1 -0
- package/dist/vendor/twenty-ui/ThemeCommon-BiQXECTo.cjs +1 -0
- package/dist/vendor/twenty-ui/ThemeCommon-CUpBXrDJ.js +867 -0
- package/dist/vendor/twenty-ui/ThemeContextProvider-DRVSWXAb.js +26 -0
- package/dist/vendor/twenty-ui/ThemeContextProvider-DZWArlAl.cjs +1 -0
- package/dist/vendor/twenty-ui/Toggle-8vjP6D_0.cjs +4 -0
- package/dist/vendor/twenty-ui/Toggle-Bd3-khQW.js +169 -0
- package/dist/vendor/twenty-ui/VisibilityHidden-Bkyg_zrv.cjs +1 -0
- package/dist/vendor/twenty-ui/VisibilityHidden-D9rwE91j.js +11 -0
- package/dist/vendor/twenty-ui/VisibilityHiddenInput-B3xu3qIM.cjs +1 -0
- package/dist/vendor/twenty-ui/VisibilityHiddenInput-CpO8FZey.js +8 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHidden.d.ts +4 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHidden.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHiddenInput.d.ts +5 -0
- package/dist/vendor/twenty-ui/accessibility/components/VisibilityHiddenInput.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/accessibility/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility/utils/visibility-hidden.d.ts +2 -0
- package/dist/vendor/twenty-ui/accessibility/utils/visibility-hidden.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/accessibility.cjs +1 -0
- package/dist/vendor/twenty-ui/accessibility.mjs +8 -0
- package/dist/vendor/twenty-ui/assets/index.d.ts +1 -0
- package/dist/vendor/twenty-ui/assets/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/assets.cjs +1 -0
- package/dist/vendor/twenty-ui/assets.mjs +1 -0
- package/dist/vendor/twenty-ui/components/Pill/Pill.d.ts +10 -0
- package/dist/vendor/twenty-ui/components/Pill/Pill.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/AvatarChip.d.ts +18 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/AvatarChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/MultipleAvatarChip.d.ts +15 -0
- package/dist/vendor/twenty-ui/components/avatar-chip/MultipleAvatarChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/Chip.d.ts +34 -0
- package/dist/vendor/twenty-ui/components/chip/Chip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/LinkChip.d.ts +13 -0
- package/dist/vendor/twenty-ui/components/chip/LinkChip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/chip/constants/LinkChipClickOutsideId.d.ts +2 -0
- package/dist/vendor/twenty-ui/components/chip/constants/LinkChipClickOutsideId.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/index.d.ts +13 -0
- package/dist/vendor/twenty-ui/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components/tag/Tag.d.ts +20 -0
- package/dist/vendor/twenty-ui/components/tag/Tag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/components.cjs +1 -0
- package/dist/vendor/twenty-ui/components.mjs +235 -0
- package/dist/vendor/twenty-ui/config-D3RPmuwk.cjs +1 -0
- package/dist/vendor/twenty-ui/config-D9UgCg2c.js +18 -0
- package/dist/vendor/twenty-ui/createState---bO_WLW.cjs +1 -0
- package/dist/vendor/twenty-ui/createState-DvtGszbK.js +9 -0
- package/dist/vendor/twenty-ui/display/avatar/components/Avatar.d.ts +20 -0
- package/dist/vendor/twenty-ui/display/avatar/components/Avatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/components/AvatarGroup.d.ts +7 -0
- package/dist/vendor/twenty-ui/display/avatar/components/AvatarGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/components/states/isInvalidAvatarUrlState.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/components/states/isInvalidAvatarUrlState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/constants/AvatarPropertiesBySize.d.ts +23 -0
- package/dist/vendor/twenty-ui/display/avatar/constants/AvatarPropertiesBySize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarSize.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarType.d.ts +2 -0
- package/dist/vendor/twenty-ui/display/avatar/types/AvatarType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/banner/components/Banner.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/banner/components/Banner.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/banner/components/SidePanelInformationBanner.d.ts +8 -0
- package/dist/vendor/twenty-ui/display/banner/components/SidePanelInformationBanner.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/AnimatedCheckmark.d.ts +10 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/AnimatedCheckmark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/Checkmark.d.ts +7 -0
- package/dist/vendor/twenty-ui/display/checkmark/components/Checkmark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/color/components/ColorSample.d.ts +14 -0
- package/dist/vendor/twenty-ui/display/color/components/ColorSample.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/command-block/components/CommandBlock.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/command-block/components/CommandBlock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconAddressBook.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconAddressBook.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconChartBarHorizontal.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconChartBarHorizontal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGmail.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGmail.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogle.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogleCalendar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconGoogleCalendar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconLock.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconLock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoft.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoft.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftCalendar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftCalendar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftOutlook.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconMicrosoftOutlook.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconRelationManyToOne.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconRelationManyToOne.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTrashXOff.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTrashXOff.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStarFilled.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IconTwentyStarFilled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconArray.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconArray.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarEvent.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarEvent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarTime.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCalendarTime.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCurrency.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconCurrency.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconFile.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconFile.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconJson.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconJson.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconLink.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMail.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMail.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconManyToMany.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconManyToMany.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMap.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconMap.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconNumbers.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconNumbers.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToMany.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToMany.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToOne.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconOneToOne.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconPhone.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconPhone.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconSetting.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconSetting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconStar.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconStar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTag.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTags.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconTags.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconText.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconToggle.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUid.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUid.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUser.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconUser.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconWrapper.d.ts +5 -0
- package/dist/vendor/twenty-ui/display/icon/components/IllustrationIconWrapper.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/components/TablerIcons.d.ts +3 -0
- package/dist/vendor/twenty-ui/display/icon/components/TablerIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/hooks/useIcons.d.ts +5 -0
- package/dist/vendor/twenty-ui/display/icon/hooks/useIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/providers/IconsProvider.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/icon/providers/IconsProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/providers/internal/AllIcons.d.ts +4185 -0
- package/dist/vendor/twenty-ui/display/icon/providers/internal/AllIcons.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/states/iconsState.d.ts +4 -0
- package/dist/vendor/twenty-ui/display/icon/states/iconsState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/icon/types/IconComponent.d.ts +11 -0
- package/dist/vendor/twenty-ui/display/icon/types/IconComponent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/index.d.ts +76 -0
- package/dist/vendor/twenty-ui/display/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/info/components/Info.d.ts +12 -0
- package/dist/vendor/twenty-ui/display/info/components/Info.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/status/components/Status.d.ts +13 -0
- package/dist/vendor/twenty-ui/display/status/components/Status.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/text/components/HorizontalSeparator.d.ts +11 -0
- package/dist/vendor/twenty-ui/display/text/components/HorizontalSeparator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/text/components/SeparatorLineText.d.ts +6 -0
- package/dist/vendor/twenty-ui/display/text/components/SeparatorLineText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/tooltip/AppTooltip.d.ts +31 -0
- package/dist/vendor/twenty-ui/display/tooltip/AppTooltip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/tooltip/OverflowingTextWithTooltip.d.ts +16 -0
- package/dist/vendor/twenty-ui/display/tooltip/OverflowingTextWithTooltip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H1Title.d.ts +15 -0
- package/dist/vendor/twenty-ui/display/typography/components/H1Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H2Title.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/typography/components/H2Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/H3Title.d.ts +10 -0
- package/dist/vendor/twenty-ui/display/typography/components/H3Title.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/Label.d.ts +9 -0
- package/dist/vendor/twenty-ui/display/typography/components/Label.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display/typography/components/StyledText.d.ts +20 -0
- package/dist/vendor/twenty-ui/display/typography/components/StyledText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/display.cjs +8 -0
- package/dist/vendor/twenty-ui/display.mjs +1194 -0
- package/dist/vendor/twenty-ui/emotion-react-jsx-runtime.browser.esm-BUNawPtg.js +1765 -0
- package/dist/vendor/twenty-ui/emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs +44 -0
- package/dist/vendor/twenty-ui/feedback/index.d.ts +6 -0
- package/dist/vendor/twenty-ui/feedback/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/loader/components/Loader.d.ts +8 -0
- package/dist/vendor/twenty-ui/feedback/loader/components/Loader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/CircularProgressBar.d.ts +8 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/CircularProgressBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/ProgressBar.d.ts +14 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/components/ProgressBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/hooks/useProgressAnimation.d.ts +13 -0
- package/dist/vendor/twenty-ui/feedback/progress-bar/hooks/useProgressAnimation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/feedback.cjs +1 -0
- package/dist/vendor/twenty-ui/feedback.mjs +124 -0
- package/dist/vendor/twenty-ui/getDisplayValueByUrlType-BMzTxZmB.cjs +1 -0
- package/dist/vendor/twenty-ui/getDisplayValueByUrlType-BqPVhhu2.js +20 -0
- package/dist/vendor/twenty-ui/index.cjs +1 -0
- package/dist/vendor/twenty-ui/index.d.ts +3 -0
- package/dist/vendor/twenty-ui/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/index.mjs +4 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedButton.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedLightIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/AnimatedLightIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/Button.d.ts +32 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/Button.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/constant.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/constant.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonHotKeys.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonHotKeys.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonIcon.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonIcon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonSoon.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonSoon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonText.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/button/components/Button/internal/ButtonText.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/ButtonGroup.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/ButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/ColorPickerButton.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/ColorPickerButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButton.d.ts +18 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButtonGroup.d.ts +9 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButtonGroup.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/button/components/FloatingIconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButton.d.ts +23 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButtonGroup.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/button/components/IconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/InsideButton.d.ts +11 -0
- package/dist/vendor/twenty-ui/input/button/components/InsideButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightButton.d.ts +17 -0
- package/dist/vendor/twenty-ui/input/button/components/LightButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButtonGroup.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/LightIconButtonGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/MainButton.d.ts +19 -0
- package/dist/vendor/twenty-ui/input/button/components/MainButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/RoundedIconButton.d.ts +8 -0
- package/dist/vendor/twenty-ui/input/button/components/RoundedIconButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/TabButton.d.ts +21 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/TabButton.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/StyledTabBase.d.ts +22 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/StyledTabBase.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/TabContent.d.ts +17 -0
- package/dist/vendor/twenty-ui/input/button/components/TabButton/internals/components/TabContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditor.d.ts +14 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditorHeader.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/code-editor/components/CodeEditorHeader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/constants/BaseCodeEditorThemeId.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/code-editor/constants/BaseCodeEditorThemeId.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/input/code-editor/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts +7 -0
- package/dist/vendor/twenty-ui/input/code-editor/theme/utils/getBaseCodeEditorTheme.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemeCard.d.ts +15 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemeCard.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemePicker.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/color-scheme/components/ColorSchemePicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/CardPicker.d.ts +10 -0
- package/dist/vendor/twenty-ui/input/components/CardPicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Checkbox.d.ts +34 -0
- package/dist/vendor/twenty-ui/input/components/Checkbox.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/IconListViewGrip.d.ts +6 -0
- package/dist/vendor/twenty-ui/input/components/IconListViewGrip.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Radio.d.ts +33 -0
- package/dist/vendor/twenty-ui/input/components/Radio.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/RadioGroup.d.ts +10 -0
- package/dist/vendor/twenty-ui/input/components/RadioGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/SearchInput.d.ts +13 -0
- package/dist/vendor/twenty-ui/input/components/SearchInput.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/components/Toggle.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/components/Toggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/index.d.ts +59 -0
- package/dist/vendor/twenty-ui/input/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/types/ColorScheme.d.ts +2 -0
- package/dist/vendor/twenty-ui/input/types/ColorScheme.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input/types/SelectOption.d.ts +12 -0
- package/dist/vendor/twenty-ui/input/types/SelectOption.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/input.cjs +179 -0
- package/dist/vendor/twenty-ui/input.mjs +1247 -0
- package/dist/vendor/twenty-ui/isValidCountryCode-Dyji5s5r-B7O5eJvP.js +10526 -0
- package/dist/vendor/twenty-ui/isValidCountryCode-Dyji5s5r-MH68p3NE.cjs +25 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonArrayNode.d.ts +11 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonArrayNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNestedNode.d.ts +19 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNestedNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNode.d.ts +9 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonObjectNode.d.ts +11 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonObjectNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTree.d.ts +16 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTree.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTreeContextProvider.d.ts +7 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonTreeContextProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonValueNode.d.ts +16 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/JsonValueNode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonArrow.d.ts +6 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonArrow.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonList.d.ts +8 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonList.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonListItem.d.ts +6 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonListItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeLabel.d.ts +9 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeLabel.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeValue.d.ts +7 -0
- package/dist/vendor/twenty-ui/json-visualizer/components/internal/JsonNodeValue.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/contexts/JsonTreeContext.d.ts +18 -0
- package/dist/vendor/twenty-ui/json-visualizer/contexts/JsonTreeContext.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-ui/json-visualizer/hooks/useJsonTreeContextOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/index.d.ts +15 -0
- package/dist/vendor/twenty-ui/json-visualizer/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/GetJsonNodeHighlighting.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/GetJsonNodeHighlighting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/JsonNodeHighlighting.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/types/JsonNodeHighlighting.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isArray.d.ts +2 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isArray.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isTwoFirstDepths.d.ts +4 -0
- package/dist/vendor/twenty-ui/json-visualizer/utils/isTwoFirstDepths.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/json-visualizer.cjs +7 -0
- package/dist/vendor/twenty-ui/json-visualizer.mjs +271 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts +17 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/components/AnimatedExpandableContainer.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDimension.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDimension.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurationObject.d.ts +5 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurationObject.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurations.d.ts +4 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationDurations.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationMode.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationMode.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationSize.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/types/AnimationSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getCommonStyles.d.ts +16 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getCommonStyles.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts +45 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getExpandableAnimationConfig.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getTransitionValues.d.ts +15 -0
- package/dist/vendor/twenty-ui/layout/animated-expandable-container/utils/getTransitionValues.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts +10 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/AnimatedPlaceholder.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts +31 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/EmptyPlaceholderStyled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts +21 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/components/ErrorPlaceholderStyled.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/Background.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/Background.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkBackground.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkBackground.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkMovingImage.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/DarkMovingImage.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/MovingImage.d.ts +2 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/constants/MovingImage.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/index.d.ts +8 -0
- package/dist/vendor/twenty-ui/layout/animated-placeholder/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/Card.d.ts +9 -0
- package/dist/vendor/twenty-ui/layout/card/components/Card.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardContent.d.ts +7 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardFooter.d.ts +8 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardFooter.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardHeader.d.ts +6 -0
- package/dist/vendor/twenty-ui/layout/card/components/CardHeader.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/index.d.ts +23 -0
- package/dist/vendor/twenty-ui/layout/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout/section/components/Section.d.ts +21 -0
- package/dist/vendor/twenty-ui/layout/section/components/Section.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/layout.cjs +6 -0
- package/dist/vendor/twenty-ui/layout.mjs +266 -0
- package/dist/vendor/twenty-ui/navigation/index.d.ts +43 -0
- package/dist/vendor/twenty-ui/navigation/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/AdvancedSettingsToggle.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/link/components/AdvancedSettingsToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ClickToActionLink.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ClickToActionLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ContactLink.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/link/components/ContactLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/GithubVersionLink.d.ts +6 -0
- package/dist/vendor/twenty-ui/navigation/link/components/GithubVersionLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RawLink.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RawLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RoundedLink.d.ts +9 -0
- package/dist/vendor/twenty-ui/navigation/link/components/RoundedLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/SocialLink.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/link/components/SocialLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/UndecoratedLink.d.ts +12 -0
- package/dist/vendor/twenty-ui/navigation/link/components/UndecoratedLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/components/index.d.ts +9 -0
- package/dist/vendor/twenty-ui/navigation/link/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/Cal.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/Cal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/GithubLink.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/GithubLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/TwentyPricingLink.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/link/constants/TwentyPricingLink.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/link/index.d.ts +4 -0
- package/dist/vendor/twenty-ui/navigation/link/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/MenuPicker.d.ts +18 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/MenuPicker.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/index.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/menu/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/index.d.ts +3 -0
- package/dist/vendor/twenty-ui/navigation/menu/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItem.d.ts +41 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemAvatar.d.ts +22 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemDraggable.d.ts +21 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemDraggable.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts +6 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemHotKeys.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelect.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts +14 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts +15 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemMultiSelectTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemNavigate.d.ts +11 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemNavigate.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelect.d.ts +29 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelect.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectAvatar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectColor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSelectTag.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts +13 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemSuggestion.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemToggle.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/MenuItemToggle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/index.d.ts +16 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/components/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/index.d.ts +5 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts +17 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/MenuItemLeftContent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts +64 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/internals/components/StyledMenuItemBase.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/types/MenuItemAccent.d.ts +2 -0
- package/dist/vendor/twenty-ui/navigation/menu/menu-item/types/MenuItemAccent.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBar.d.ts +13 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBar.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBarItem.d.ts +10 -0
- package/dist/vendor/twenty-ui/navigation/navigation-bar/components/NavigationBarItem.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation/notification-counter/components/NotificationCounter.d.ts +8 -0
- package/dist/vendor/twenty-ui/navigation/notification-counter/components/NotificationCounter.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/navigation.cjs +42 -0
- package/dist/vendor/twenty-ui/navigation.mjs +887 -0
- package/dist/vendor/twenty-ui/style.css +1 -0
- package/dist/vendor/twenty-ui/testing/ComponentStorybookLayout.d.ts +9 -0
- package/dist/vendor/twenty-ui/testing/ComponentStorybookLayout.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/CatalogDecorator.d.ts +18 -0
- package/dist/vendor/twenty-ui/testing/decorators/CatalogDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentWithRouterDecorator.d.ts +11 -0
- package/dist/vendor/twenty-ui/testing/decorators/ComponentWithRouterDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/RecoilRootDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/RecoilRootDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/decorators/RouterDecorator.d.ts +4 -0
- package/dist/vendor/twenty-ui/testing/decorators/RouterDecorator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/index.d.ts +11 -0
- package/dist/vendor/twenty-ui/testing/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/mocks/avatarUrlMock.d.ts +2 -0
- package/dist/vendor/twenty-ui/testing/mocks/avatarUrlMock.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing/types/CatalogStory.d.ts +18 -0
- package/dist/vendor/twenty-ui/testing/types/CatalogStory.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/testing.cjs +3 -0
- package/dist/vendor/twenty-ui/testing.mjs +156 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentDark.d.ts +21 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentLight.d.ts +21 -0
- package/dist/vendor/twenty-ui/theme/constants/AccentLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Animation.d.ts +10 -0
- package/dist/vendor/twenty-ui/theme/constants/Animation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundDark.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundLight.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/constants/BackgroundLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurDark.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurLight.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/BlurLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderCommon.d.ts +12 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderDark.d.ts +22 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderLight.d.ts +22 -0
- package/dist/vendor/twenty-ui/theme/constants/BorderLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowDark.d.ts +8 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowLight.d.ts +8 -0
- package/dist/vendor/twenty-ui/theme/constants/BoxShadowLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeDark.d.ts +13 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeLight.d.ts +13 -0
- package/dist/vendor/twenty-ui/theme/constants/CodeLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsDark.d.ts +750 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsLight.d.ts +750 -0
- package/dist/vendor/twenty-ui/theme/constants/ColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontCommon.d.ts +18 -0
- package/dist/vendor/twenty-ui/theme/constants/FontCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontDark.d.ts +27 -0
- package/dist/vendor/twenty-ui/theme/constants/FontDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/FontLight.d.ts +27 -0
- package/dist/vendor/twenty-ui/theme/constants/FontLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDark.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDarkAlpha.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleDarkAlpha.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLight.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLightAlpha.d.ts +15 -0
- package/dist/vendor/twenty-ui/theme/constants/GrayScaleLightAlpha.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/HoverBackground.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/HoverBackground.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Icon.d.ts +14 -0
- package/dist/vendor/twenty-ui/theme/constants/Icon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconDark.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconLight.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/constants/IllustrationIconLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorNames.d.ts +5 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorNames.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsDark.d.ts +28 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsLight.d.ts +28 -0
- package/dist/vendor/twenty-ui/theme/constants/MainColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/MobileViewport.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/MobileViewport.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Modal.d.ts +9 -0
- package/dist/vendor/twenty-ui/theme/constants/Modal.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Rgba.d.ts +2 -0
- package/dist/vendor/twenty-ui/theme/constants/Rgba.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsDark.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsLight.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/SecondaryColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarDark.d.ts +23 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarLight.d.ts +23 -0
- package/dist/vendor/twenty-ui/theme/constants/SnackBarLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TagDark.d.ts +67 -0
- package/dist/vendor/twenty-ui/theme/constants/TagDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TagLight.d.ts +67 -0
- package/dist/vendor/twenty-ui/theme/constants/TagLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/Text.d.ts +12 -0
- package/dist/vendor/twenty-ui/theme/constants/Text.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TextInputStyle.d.ts +6 -0
- package/dist/vendor/twenty-ui/theme/constants/TextInputStyle.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeCommon.d.ts +57 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeCommon.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeDark.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeLight.d.ts +1039 -0
- package/dist/vendor/twenty-ui/theme/constants/ThemeLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsDark.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsDark.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsLight.d.ts +363 -0
- package/dist/vendor/twenty-ui/theme/constants/TransparentColorsLight.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/index.d.ts +54 -0
- package/dist/vendor/twenty-ui/theme/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeContextProvider.d.ts +11 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeContextProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeProvider.d.ts +10 -0
- package/dist/vendor/twenty-ui/theme/provider/ThemeProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/types/ThemeType.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/types/ThemeType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/utils/getNextThemeColor.d.ts +4 -0
- package/dist/vendor/twenty-ui/theme/utils/getNextThemeColor.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme/utils/themeColorSchema.d.ts +30 -0
- package/dist/vendor/twenty-ui/theme/utils/themeColorSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/theme.cjs +1 -0
- package/dist/vendor/twenty-ui/theme.mjs +1223 -0
- package/dist/vendor/twenty-ui/themeColorSchema-CgAr-Bzv.js +6 -0
- package/dist/vendor/twenty-ui/themeColorSchema-DSPsU2O5.cjs +1 -0
- package/dist/vendor/twenty-ui/useIsMobile-DqVdogVd.js +13 -0
- package/dist/vendor/twenty-ui/useIsMobile-p7nY1Vab.cjs +1 -0
- package/dist/vendor/twenty-ui/useMouseDownNavigation-C_8Q5KFZ.cjs +1 -0
- package/dist/vendor/twenty-ui/useMouseDownNavigation-qpLZC7wJ.js +29 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedCircleLoading.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedCircleLoading.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedContainer.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedContainer.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseIn.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseIn.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseInOut.d.ts +13 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedEaseInOut.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedFadeOut.d.ts +12 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedFadeOut.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedRotate.d.ts +10 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedRotate.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTextWord.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTextWord.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTranslation.d.ts +6 -0
- package/dist/vendor/twenty-ui/utilities/animation/components/AnimatedTranslation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/animation/index.d.ts +8 -0
- package/dist/vendor/twenty-ui/utilities/animation/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/getMainColorNameFromPaletteColorName.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/stringToThemeColorP3String.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/color/utils/stringToThemeColorP3String.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/config.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/config.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsControlSymbol.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsControlSymbol.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsShortcutSeparator.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getOsShortcutSeparator.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/device/getUserDevice.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/device/getUserDevice.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/dimensions/components/AutogrowWrapper.d.ts +10 -0
- package/dist/vendor/twenty-ui/utilities/dimensions/components/AutogrowWrapper.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/index.d.ts +26 -0
- package/dist/vendor/twenty-ui/utilities/index.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useMouseDownNavigation.d.ts +17 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useMouseDownNavigation.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useResetLocationHash.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/navigation/hooks/useResetLocationHash.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/isNavigationModifierPressed.d.ts +4 -0
- package/dist/vendor/twenty-ui/utilities/navigation/isNavigationModifierPressed.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/navigation/types/trigger-event.type.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/navigation/types/trigger-event.type.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/responsive/hooks/useIsMobile.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/responsive/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/screen-size/hooks/useScreenSize.d.ts +5 -0
- package/dist/vendor/twenty-ui/utilities/screen-size/hooks/useScreenSize.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/state/utils/createState.d.ts +8 -0
- package/dist/vendor/twenty-ui/utilities/state/utils/createState.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/types/ClickOutsideAttributes.d.ts +5 -0
- package/dist/vendor/twenty-ui/utilities/types/ClickOutsideAttributes.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/types/Nullable.d.ts +2 -0
- package/dist/vendor/twenty-ui/utilities/types/Nullable.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities/utils/getDisplayValueByUrlType.d.ts +9 -0
- package/dist/vendor/twenty-ui/utilities/utils/getDisplayValueByUrlType.d.ts.map +1 -0
- package/dist/vendor/twenty-ui/utilities.cjs +1 -0
- package/dist/vendor/twenty-ui/utilities.mjs +275 -0
- package/dist/vendor/twenty-ui/visibility-hidden-00WyuQUL.cjs +1 -0
- package/dist/vendor/twenty-ui/visibility-hidden-DANnDHvJ.js +5 -0
- package/package.json +6 -3
- package/dist/types-Bg4PAegr.js +0 -1
- package/dist/types-DVJsIqkp.mjs +0 -7
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { a } from "./emotion-react-jsx-runtime.browser.esm-BUNawPtg.js";
|
|
2
|
+
import { createContext as p } from "react";
|
|
3
|
+
const c = {
|
|
4
|
+
gray1: "color(display-p3 0.09 0.09 0.09)",
|
|
5
|
+
gray2: "color(display-p3 0.106 0.106 0.106)",
|
|
6
|
+
gray3: "color(display-p3 0.098 0.098 0.098)",
|
|
7
|
+
gray4: "color(display-p3 0.114 0.114 0.114)",
|
|
8
|
+
gray5: "color(display-p3 0.133 0.133 0.133)",
|
|
9
|
+
gray6: "color(display-p3 0.282 0.282 0.282)",
|
|
10
|
+
gray7: "color(display-p3 0.298 0.298 0.298)",
|
|
11
|
+
gray8: "color(display-p3 0.4 0.4 0.4)",
|
|
12
|
+
gray9: "color(display-p3 0.506 0.506 0.506)",
|
|
13
|
+
gray10: "color(display-p3 0.482 0.482 0.482)",
|
|
14
|
+
gray11: "color(display-p3 0.702 0.702 0.702)",
|
|
15
|
+
gray12: "color(display-p3 0.922 0.922 0.922)"
|
|
16
|
+
}, l = /* @__PURE__ */ p({}), i = ({ children: o, theme: r }) => /* @__PURE__ */ a(l.Provider, {
|
|
17
|
+
value: {
|
|
18
|
+
theme: r
|
|
19
|
+
},
|
|
20
|
+
children: o
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
c as G,
|
|
24
|
+
l as T,
|
|
25
|
+
i as a
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("./emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs"),l=require("react"),p={gray1:"color(display-p3 0.09 0.09 0.09)",gray2:"color(display-p3 0.106 0.106 0.106)",gray3:"color(display-p3 0.098 0.098 0.098)",gray4:"color(display-p3 0.114 0.114 0.114)",gray5:"color(display-p3 0.133 0.133 0.133)",gray6:"color(display-p3 0.282 0.282 0.282)",gray7:"color(display-p3 0.298 0.298 0.298)",gray8:"color(display-p3 0.4 0.4 0.4)",gray9:"color(display-p3 0.506 0.506 0.506)",gray10:"color(display-p3 0.482 0.482 0.482)",gray11:"color(display-p3 0.702 0.702 0.702)",gray12:"color(display-p3 0.922 0.922 0.922)"},o=l.createContext({}),y=({children:r,theme:e})=>a.jsx(o.Provider,{value:{theme:e},children:r});exports.GRAY_SCALE_DARK=p;exports.ThemeContext=o;exports.ThemeContextProvider=y;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const a=require("./emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs"),w=require("@emotion/styled"),v=require("@emotion/react"),j=require("react"),h=require("@tabler/icons-react"),I=require("./VisibilityHiddenInput-B3xu3qIM.cjs"),z=require("framer-motion"),C=r=>r&&r.__esModule?r:{default:r};function q(r){if(r&&r.__esModule)return r;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const o in r)if(o!=="default"){const t=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(e,o,t.get?t:{enumerable:!0,get:()=>r[o]})}}return e.default=r,Object.freeze(e)}const g=C(w),f=q(j),_=g.default("button",{target:"ecxbnmf0"})("align-items:center;background:transparent;border:none;border:",({disabled:r,theme:e,focus:o})=>!r&&o?`1px solid ${e.color.blue}`:"none",";border-radius:",({theme:r})=>r.border.radius.sm,";box-shadow:",({disabled:r,theme:e,focus:o})=>!r&&o?`0 0 0 3px ${e.color.blue3}`:"none",";color:",({theme:r,accent:e,active:o,disabled:t,focus:n})=>{switch(e){case"secondary":return o||n?r.color.blue:t?r.font.color.extraLight:r.font.color.secondary;case"tertiary":return o||n?r.color.blue:t?r.font.color.extraLight:r.font.color.tertiary}},";cursor:",({disabled:r})=>r?"not-allowed":"pointer",";display:flex;flex-direction:row;font-family:",({theme:r})=>r.font.family,";font-weight:",({theme:r})=>r.font.weight.regular,";gap:",({theme:r})=>r.spacing(1),";height:",({size:r,theme:e})=>r==="small"?e.spacing(6):e.spacing(8),";justify-content:center;padding:",({theme:r})=>r.spacing(1),";transition:background 0.1s ease;white-space:nowrap;width:",({size:r,theme:e})=>r==="small"?e.spacing(6):e.spacing(8),";min-width:",({size:r,theme:e})=>r==="small"?e.spacing(6):e.spacing(8),";&:hover{background:",({theme:r,disabled:e})=>e?"transparent":r.background.transparent.light,";}&:focus{outline:none;}&:active{background:",({theme:r,disabled:e})=>e?"transparent":r.background.transparent.medium,";}"),k=({"aria-label":r,className:e,testId:o,Icon:t,active:n=!1,size:i="small",accent:s="secondary",disabled:l=!1,focus:c=!1,onClick:d,title:u})=>{const p=v.useTheme();return a.jsx(_,{"data-testid":o,"aria-label":r,onClick:d,disabled:l,focus:c&&!l,accent:s,className:e,size:i,active:n,title:u,children:t&&a.jsx(t,{size:i==="medium"?p.icon.size.md:p.icon.size.sm})})},S=g.default("div",{target:"e1m57mx60"})("display:inline-flex;gap:2px;"),B=({iconButtons:r,size:e,className:o})=>a.jsx(S,{className:o,children:r.map(({Wrapper:t,Icon:n,accent:i,onClick:s,ariaLabel:l,dataTestId:c},d)=>{const u=a.jsx(k,{Icon:n,accent:i,disabled:!s,onClick:s,size:e,"aria-label":l,testId:c},`light-icon-button-${d}`);return t?a.jsx(t,{iconButton:u},`light-icon-button-wrapper-${d}`):u})});var L=function(r){return r.Primary="primary",r.Secondary="secondary",r.Tertiary="tertiary",r}({}),O=function(r){return r.Squared="squared",r.Rounded="rounded",r}({}),R=function(r){return r.Large="large",r.Small="small",r}({}),M=function(r){return r.Blue="blue",r.Orange="orange",r}({});const T=g.default("div",{target:"ecl0qne0"})("--size:",({checkboxSize:r,hoverable:e})=>e===!0?r==="large"?"32px":"24px":r==="large"?"20px":"14px",";align-items:center;border-radius:",({theme:r,shape:e})=>e==="rounded"?r.border.radius.rounded:r.border.radius.md,";cursor:",({disabled:r})=>r?"not-allowed":"pointer",";display:flex;padding:",({theme:r,checkboxSize:e,hoverable:o})=>o===!0?e==="large"?r.spacing(1.5):r.spacing(1.25):0,";position:relative;",({hoverable:r,isChecked:e,theme:o,indeterminate:t,disabled:n,accent:i})=>!r||n===!0?"":`&:hover{
|
|
2
|
+
background-color: ${t||e?i==="blue"?o.background.transparent.blue:o.background.transparent.orange:o.background.transparent.light};
|
|
3
|
+
}}
|
|
4
|
+
}`),$=g.default("input",{target:"ecl0qne1"})("cursor:",({disabled:r})=>r?"not-allowed":"pointer",";margin:0;opacity:0;position:absolute;z-index:10;& + label{--size:",({checkboxSize:r})=>r==="large"?"18px":"12px",";cursor:",({disabled:r})=>r?"not-allowed":"pointer",";height:calc(var(--size) + 2px);padding:0;position:relative;width:calc(var(--size) + 2px);}& + label:before{--size:",({checkboxSize:r})=>r==="large"?"18px":"12px",";background:",({theme:r,indeterminate:e,isChecked:o,disabled:t,accent:n})=>e||o?t?n==="blue"?r.color.blue7:r.color.orange7:n==="blue"?r.color.blue:r.color.orange:"transparent",";border-color:",({theme:r,indeterminate:e,isChecked:o,variant:t,disabled:n,accent:i})=>{switch(!0){case(e||o):return n?i==="blue"?r.color.blue7:r.color.orange7:i==="blue"?r.color.blue:r.color.orange;case n:return r.border.color.strong;case t==="primary":return r.border.color.inverted;case t==="tertiary":return r.border.color.medium;default:return r.border.color.secondaryInverted}},";border-radius:",({theme:r,shape:e})=>e==="rounded"?r.border.radius.rounded:r.border.radius.sm,";border-style:solid;border-width:",({variant:r,checkboxSize:e})=>e==="large"||r==="tertiary"?"1.43px":"1px",";content:'';cursor:",({disabled:r})=>r?"not-allowed":"pointer",";display:inline-block;height:var(--size);width:var(--size);}& + label > svg{--padding:0px;--size:",({checkboxSize:r})=>r==="large"?"20px":"14px",";height:var(--size);left:var(--padding);position:absolute;stroke:",({theme:r})=>r.font.color.inverted,";top:var(--padding);width:var(--size);}"),G=({checked:r,onChange:e,onCheckedChange:o,indeterminate:t,variant:n="primary",size:i="small",shape:s="squared",hoverable:l=!0,className:c,disabled:d=!1,accent:u="blue"})=>{const[p,x]=f.useState(!1);f.useEffect(()=>{x(r??!1)},[r]);const m=b=>{e?.(b),o?.(b.target.checked),x(b.target.checked??!1)},y=f.useId();return a.jsxs(T,{checkboxSize:i,variant:n,shape:s,isChecked:p,hoverable:l,indeterminate:t,className:c,disabled:d,accent:u,children:[a.jsx($,{autoComplete:"off",type:"checkbox",id:y,name:"styled-checkbox","data-testid":"input-checkbox",checked:p,indeterminate:t,variant:n,checkboxSize:i,shape:s,isChecked:p,onChange:m,disabled:d,accent:u}),a.jsx("label",{htmlFor:y,children:t?a.jsx(h.IconMinus,{}):p?a.jsx(h.IconCheck,{}):a.jsx(a.Fragment,{})})]})},P=g.default("label",{target:"e1c7sd5b0"})("align-items:center;background-color:",({theme:r,isOn:e,color:o})=>e?o??r.color.blue:r.background.transparent.medium,";border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:",({toggleSize:r})=>r==="small"?16:20,"px;opacity:",({"data-disabled":r})=>r?.5:1,";pointer-events:",({"data-disabled":r})=>r?"none":"auto",";position:relative;transition:background-color 0.3s ease;width:",({toggleSize:r})=>r==="small"?24:32,"px;"),D=g.default(z.motion.span,{target:"e1c7sd5b1"})("background-color:",({theme:r})=>r.background.primary,";border-radius:50%;display:block;height:",({size:r})=>r==="small"?12:16,"px;left:0;position:absolute;width:",({size:r})=>r==="small"?12:16,"px;"),F=({id:r,value:e=!1,onChange:o,color:t,toggleSize:n="medium",className:i,disabled:s})=>{const l={on:{x:n==="small"?10:14},off:{x:2}};return a.jsxs(P,{isOn:e,color:t,toggleSize:n,className:i,"data-disabled":s,children:[a.jsx(I.VisibilityHiddenInput,{id:r,type:"checkbox",checked:e,disabled:s,onChange:c=>{o?.(c.target.checked)}}),a.jsx(D,{initial:!1,animate:e?"on":"off",variants:l,size:n})]})};exports.Checkbox=G;exports.CheckboxAccent=M;exports.CheckboxShape=O;exports.CheckboxSize=R;exports.CheckboxVariant=L;exports.LightIconButton=k;exports.LightIconButtonGroup=B;exports.Toggle=F;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { a as i, j as m, F as k } from "./emotion-react-jsx-runtime.browser.esm-BUNawPtg.js";
|
|
2
|
+
import g from "@emotion/styled";
|
|
3
|
+
import { useTheme as w } from "@emotion/react";
|
|
4
|
+
import * as f from "react";
|
|
5
|
+
import { IconMinus as v, IconCheck as I } from "@tabler/icons-react";
|
|
6
|
+
import { V as z } from "./VisibilityHiddenInput-CpO8FZey.js";
|
|
7
|
+
import { motion as C } from "framer-motion";
|
|
8
|
+
const L = /* @__PURE__ */ g("button", {
|
|
9
|
+
target: "ecxbnmf0"
|
|
10
|
+
})("align-items:center;background:transparent;border:none;border:", ({ disabled: r, theme: e, focus: o }) => !r && o ? `1px solid ${e.color.blue}` : "none", ";border-radius:", ({ theme: r }) => r.border.radius.sm, ";box-shadow:", ({ disabled: r, theme: e, focus: o }) => !r && o ? `0 0 0 3px ${e.color.blue3}` : "none", ";color:", ({ theme: r, accent: e, active: o, disabled: a, focus: n }) => {
|
|
11
|
+
switch (e) {
|
|
12
|
+
case "secondary":
|
|
13
|
+
return o || n ? r.color.blue : a ? r.font.color.extraLight : r.font.color.secondary;
|
|
14
|
+
case "tertiary":
|
|
15
|
+
return o || n ? r.color.blue : a ? r.font.color.extraLight : r.font.color.tertiary;
|
|
16
|
+
}
|
|
17
|
+
}, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;flex-direction:row;font-family:", ({ theme: r }) => r.font.family, ";font-weight:", ({ theme: r }) => r.font.weight.regular, ";gap:", ({ theme: r }) => r.spacing(1), ";height:", ({ size: r, theme: e }) => r === "small" ? e.spacing(6) : e.spacing(8), ";justify-content:center;padding:", ({ theme: r }) => r.spacing(1), ";transition:background 0.1s ease;white-space:nowrap;width:", ({ size: r, theme: e }) => r === "small" ? e.spacing(6) : e.spacing(8), ";min-width:", ({ size: r, theme: e }) => r === "small" ? e.spacing(6) : e.spacing(8), ";&:hover{background:", ({ theme: r, disabled: e }) => e ? "transparent" : r.background.transparent.light, ";}&:focus{outline:none;}&:active{background:", ({ theme: r, disabled: e }) => e ? "transparent" : r.background.transparent.medium, ";}"), S = ({ "aria-label": r, className: e, testId: o, Icon: a, active: n = !1, size: t = "small", accent: s = "secondary", disabled: l = !1, focus: c = !1, onClick: d, title: u }) => {
|
|
18
|
+
const p = w();
|
|
19
|
+
return /* @__PURE__ */ i(L, {
|
|
20
|
+
"data-testid": o,
|
|
21
|
+
"aria-label": r,
|
|
22
|
+
onClick: d,
|
|
23
|
+
disabled: l,
|
|
24
|
+
focus: c && !l,
|
|
25
|
+
accent: s,
|
|
26
|
+
className: e,
|
|
27
|
+
size: t,
|
|
28
|
+
active: n,
|
|
29
|
+
title: u,
|
|
30
|
+
children: a && /* @__PURE__ */ i(a, {
|
|
31
|
+
size: t === "medium" ? p.icon.size.md : p.icon.size.sm
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
}, B = /* @__PURE__ */ g("div", {
|
|
35
|
+
target: "e1m57mx60"
|
|
36
|
+
})("display:inline-flex;gap:2px;"), H = ({ iconButtons: r, size: e, className: o }) => /* @__PURE__ */ i(B, {
|
|
37
|
+
className: o,
|
|
38
|
+
children: r.map(({ Wrapper: a, Icon: n, accent: t, onClick: s, ariaLabel: l, dataTestId: c }, d) => {
|
|
39
|
+
const u = /* @__PURE__ */ i(S, {
|
|
40
|
+
Icon: n,
|
|
41
|
+
accent: t,
|
|
42
|
+
disabled: !s,
|
|
43
|
+
onClick: s,
|
|
44
|
+
size: e,
|
|
45
|
+
"aria-label": l,
|
|
46
|
+
testId: c
|
|
47
|
+
}, `light-icon-button-${d}`);
|
|
48
|
+
return a ? /* @__PURE__ */ i(a, {
|
|
49
|
+
iconButton: u
|
|
50
|
+
}, `light-icon-button-wrapper-${d}`) : u;
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
var M = /* @__PURE__ */ function(r) {
|
|
54
|
+
return r.Primary = "primary", r.Secondary = "secondary", r.Tertiary = "tertiary", r;
|
|
55
|
+
}({}), P = /* @__PURE__ */ function(r) {
|
|
56
|
+
return r.Squared = "squared", r.Rounded = "rounded", r;
|
|
57
|
+
}({}), D = /* @__PURE__ */ function(r) {
|
|
58
|
+
return r.Large = "large", r.Small = "small", r;
|
|
59
|
+
}({}), J = /* @__PURE__ */ function(r) {
|
|
60
|
+
return r.Blue = "blue", r.Orange = "orange", r;
|
|
61
|
+
}({});
|
|
62
|
+
const q = /* @__PURE__ */ g("div", {
|
|
63
|
+
target: "ecl0qne0"
|
|
64
|
+
})("--size:", ({ checkboxSize: r, hoverable: e }) => e === !0 ? r === "large" ? "32px" : "24px" : r === "large" ? "20px" : "14px", ";align-items:center;border-radius:", ({ theme: r, shape: e }) => e === "rounded" ? r.border.radius.rounded : r.border.radius.md, ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:flex;padding:", ({ theme: r, checkboxSize: e, hoverable: o }) => o === !0 ? e === "large" ? r.spacing(1.5) : r.spacing(1.25) : 0, ";position:relative;", ({ hoverable: r, isChecked: e, theme: o, indeterminate: a, disabled: n, accent: t }) => !r || n === !0 ? "" : `&:hover{
|
|
65
|
+
background-color: ${a || e ? t === "blue" ? o.background.transparent.blue : o.background.transparent.orange : o.background.transparent.light};
|
|
66
|
+
}}
|
|
67
|
+
}`), $ = /* @__PURE__ */ g("input", {
|
|
68
|
+
target: "ecl0qne1"
|
|
69
|
+
})("cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";margin:0;opacity:0;position:absolute;z-index:10;& + label{--size:", ({ checkboxSize: r }) => r === "large" ? "18px" : "12px", ";cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";height:calc(var(--size) + 2px);padding:0;position:relative;width:calc(var(--size) + 2px);}& + label:before{--size:", ({ checkboxSize: r }) => r === "large" ? "18px" : "12px", ";background:", ({ theme: r, indeterminate: e, isChecked: o, disabled: a, accent: n }) => e || o ? a ? n === "blue" ? r.color.blue7 : r.color.orange7 : n === "blue" ? r.color.blue : r.color.orange : "transparent", ";border-color:", ({ theme: r, indeterminate: e, isChecked: o, variant: a, disabled: n, accent: t }) => {
|
|
70
|
+
switch (!0) {
|
|
71
|
+
case (e || o):
|
|
72
|
+
return n ? t === "blue" ? r.color.blue7 : r.color.orange7 : t === "blue" ? r.color.blue : r.color.orange;
|
|
73
|
+
case n:
|
|
74
|
+
return r.border.color.strong;
|
|
75
|
+
case a === "primary":
|
|
76
|
+
return r.border.color.inverted;
|
|
77
|
+
case a === "tertiary":
|
|
78
|
+
return r.border.color.medium;
|
|
79
|
+
default:
|
|
80
|
+
return r.border.color.secondaryInverted;
|
|
81
|
+
}
|
|
82
|
+
}, ";border-radius:", ({ theme: r, shape: e }) => e === "rounded" ? r.border.radius.rounded : r.border.radius.sm, ";border-style:solid;border-width:", ({ variant: r, checkboxSize: e }) => e === "large" || r === "tertiary" ? "1.43px" : "1px", ";content:'';cursor:", ({ disabled: r }) => r ? "not-allowed" : "pointer", ";display:inline-block;height:var(--size);width:var(--size);}& + label > svg{--padding:0px;--size:", ({ checkboxSize: r }) => r === "large" ? "20px" : "14px", ";height:var(--size);left:var(--padding);position:absolute;stroke:", ({ theme: r }) => r.font.color.inverted, ";top:var(--padding);width:var(--size);}"), K = ({ checked: r, onChange: e, onCheckedChange: o, indeterminate: a, variant: n = "primary", size: t = "small", shape: s = "squared", hoverable: l = !0, className: c, disabled: d = !1, accent: u = "blue" }) => {
|
|
83
|
+
const [p, x] = f.useState(!1);
|
|
84
|
+
f.useEffect(() => {
|
|
85
|
+
x(r ?? !1);
|
|
86
|
+
}, [
|
|
87
|
+
r
|
|
88
|
+
]);
|
|
89
|
+
const h = (b) => {
|
|
90
|
+
e?.(b), o?.(b.target.checked), x(b.target.checked ?? !1);
|
|
91
|
+
}, y = f.useId();
|
|
92
|
+
return /* @__PURE__ */ m(q, {
|
|
93
|
+
checkboxSize: t,
|
|
94
|
+
variant: n,
|
|
95
|
+
shape: s,
|
|
96
|
+
isChecked: p,
|
|
97
|
+
hoverable: l,
|
|
98
|
+
indeterminate: a,
|
|
99
|
+
className: c,
|
|
100
|
+
disabled: d,
|
|
101
|
+
accent: u,
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ i($, {
|
|
104
|
+
autoComplete: "off",
|
|
105
|
+
type: "checkbox",
|
|
106
|
+
id: y,
|
|
107
|
+
name: "styled-checkbox",
|
|
108
|
+
"data-testid": "input-checkbox",
|
|
109
|
+
checked: p,
|
|
110
|
+
indeterminate: a,
|
|
111
|
+
variant: n,
|
|
112
|
+
checkboxSize: t,
|
|
113
|
+
shape: s,
|
|
114
|
+
isChecked: p,
|
|
115
|
+
onChange: h,
|
|
116
|
+
disabled: d,
|
|
117
|
+
accent: u
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ i("label", {
|
|
120
|
+
htmlFor: y,
|
|
121
|
+
children: a ? /* @__PURE__ */ i(v, {}) : p ? /* @__PURE__ */ i(I, {}) : /* @__PURE__ */ i(k, {})
|
|
122
|
+
})
|
|
123
|
+
]
|
|
124
|
+
});
|
|
125
|
+
}, j = /* @__PURE__ */ g("label", {
|
|
126
|
+
target: "e1c7sd5b0"
|
|
127
|
+
})("align-items:center;background-color:", ({ theme: r, isOn: e, color: o }) => e ? o ?? r.color.blue : r.background.transparent.medium, ";border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:", ({ toggleSize: r }) => r === "small" ? 16 : 20, "px;opacity:", ({ "data-disabled": r }) => r ? 0.5 : 1, ";pointer-events:", ({ "data-disabled": r }) => r ? "none" : "auto", ";position:relative;transition:background-color 0.3s ease;width:", ({ toggleSize: r }) => r === "small" ? 24 : 32, "px;"), T = /* @__PURE__ */ g(C.span, {
|
|
128
|
+
target: "e1c7sd5b1"
|
|
129
|
+
})("background-color:", ({ theme: r }) => r.background.primary, ";border-radius:50%;display:block;height:", ({ size: r }) => r === "small" ? 12 : 16, "px;left:0;position:absolute;width:", ({ size: r }) => r === "small" ? 12 : 16, "px;"), N = ({ id: r, value: e = !1, onChange: o, color: a, toggleSize: n = "medium", className: t, disabled: s }) => /* @__PURE__ */ m(j, {
|
|
130
|
+
isOn: e,
|
|
131
|
+
color: a,
|
|
132
|
+
toggleSize: n,
|
|
133
|
+
className: t,
|
|
134
|
+
"data-disabled": s,
|
|
135
|
+
children: [
|
|
136
|
+
/* @__PURE__ */ i(z, {
|
|
137
|
+
id: r,
|
|
138
|
+
type: "checkbox",
|
|
139
|
+
checked: e,
|
|
140
|
+
disabled: s,
|
|
141
|
+
onChange: (c) => {
|
|
142
|
+
o?.(c.target.checked);
|
|
143
|
+
}
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ i(T, {
|
|
146
|
+
initial: !1,
|
|
147
|
+
animate: e ? "on" : "off",
|
|
148
|
+
variants: {
|
|
149
|
+
on: {
|
|
150
|
+
x: n === "small" ? 10 : 14
|
|
151
|
+
},
|
|
152
|
+
off: {
|
|
153
|
+
x: 2
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
size: n
|
|
157
|
+
})
|
|
158
|
+
]
|
|
159
|
+
});
|
|
160
|
+
export {
|
|
161
|
+
M as C,
|
|
162
|
+
S as L,
|
|
163
|
+
N as T,
|
|
164
|
+
H as a,
|
|
165
|
+
P as b,
|
|
166
|
+
D as c,
|
|
167
|
+
J as d,
|
|
168
|
+
K as e
|
|
169
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs"),i=require("@emotion/styled"),s=require("./visibility-hidden-00WyuQUL.cjs"),n=t=>t&&t.__esModule?t:{default:t},d=n(i),r=d.default("span",{target:"e110uw3k0"})(s.VISIBILITY_HIDDEN),o=({children:t})=>e.jsx(r,{children:t});exports.VisibilityHidden=o;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as r } from "./emotion-react-jsx-runtime.browser.esm-BUNawPtg.js";
|
|
2
|
+
import o from "@emotion/styled";
|
|
3
|
+
import { V as s } from "./visibility-hidden-DANnDHvJ.js";
|
|
4
|
+
const i = /* @__PURE__ */ o("span", {
|
|
5
|
+
target: "e110uw3k0"
|
|
6
|
+
})(s), n = ({ children: t }) => /* @__PURE__ */ r(i, {
|
|
7
|
+
children: t
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
n as V
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("@emotion/styled"),e=require("./visibility-hidden-00WyuQUL.cjs"),s=t=>t&&t.__esModule?t:{default:t},d=s(i),n=d.default("input",{target:"e1memo20"})(e.VISIBILITY_HIDDEN);exports.VisibilityHiddenInput=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisibilityHidden.d.ts","sourceRoot":"","sources":["../../../src/accessibility/components/VisibilityHidden.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB,GAAI,eAE9B;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,4CAEA,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const VisibilityHiddenInput: import('@emotion/styled').StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
5
|
+
//# sourceMappingURL=VisibilityHiddenInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisibilityHiddenInput.d.ts","sourceRoot":"","sources":["../../../src/accessibility/components/VisibilityHiddenInput.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;kHAEjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/accessibility/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibility-hidden.d.ts","sourceRoot":"","sources":["../../../src/accessibility/utils/visibility-hidden.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,2CAU7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./VisibilityHidden-Bkyg_zrv.cjs"),e=require("./VisibilityHiddenInput-B3xu3qIM.cjs"),t=require("./visibility-hidden-00WyuQUL.cjs");exports.VisibilityHidden=i.VisibilityHidden;exports.VisibilityHiddenInput=e.VisibilityHiddenInput;exports.VISIBILITY_HIDDEN=t.VISIBILITY_HIDDEN;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { V as r } from "./VisibilityHidden-D9rwE91j.js";
|
|
2
|
+
import { V as I } from "./VisibilityHiddenInput-CpO8FZey.js";
|
|
3
|
+
import { V as e } from "./visibility-hidden-DANnDHvJ.js";
|
|
4
|
+
export {
|
|
5
|
+
e as VISIBILITY_HIDDEN,
|
|
6
|
+
r as VisibilityHidden,
|
|
7
|
+
I as VisibilityHiddenInput
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconComponent } from '../../display';
|
|
2
|
+
|
|
3
|
+
type PillProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
Icon?: IconComponent;
|
|
7
|
+
};
|
|
8
|
+
export declare const Pill: ({ className, label, Icon }: PillProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Pill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pill.d.ts","sourceRoot":"","sources":["../../../src/components/Pill/Pill.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB,CAAC;AAkBF,eAAO,MAAM,IAAI,GAAI,4BAA4B,SAAS,4CAOzD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Nullable } from '../../utilities';
|
|
2
|
+
import { IconComponent } from '../../display/icon/types/IconComponent';
|
|
3
|
+
import { AvatarType } from '../../display/avatar/types/AvatarType';
|
|
4
|
+
|
|
5
|
+
export type AvatarChipProps = {
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
avatarUrl?: string;
|
|
8
|
+
avatarType?: Nullable<AvatarType>;
|
|
9
|
+
Icon?: IconComponent;
|
|
10
|
+
IconColor?: string;
|
|
11
|
+
IconBackgroundColor?: string;
|
|
12
|
+
isIconInverted?: boolean;
|
|
13
|
+
placeholderColorSeed?: string;
|
|
14
|
+
divider?: 'right' | 'left';
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const AvatarChip: ({ Icon, placeholderColorSeed, avatarType, avatarUrl, placeholder, isIconInverted, IconColor, IconBackgroundColor, onClick, divider, }: AvatarChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=AvatarChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarChip.d.ts","sourceRoot":"","sources":["../../../src/components/avatar-chip/AvatarChip.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AA8B9C,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,uIAWxB,eAAe,4CAsDjB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChipVariant } from '../chip/Chip';
|
|
2
|
+
|
|
3
|
+
export type MultipleAvatarChipProps = {
|
|
4
|
+
Icons: React.ReactNode[];
|
|
5
|
+
text?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
testId?: string;
|
|
8
|
+
maxWidth?: number;
|
|
9
|
+
forceEmptyText?: boolean;
|
|
10
|
+
variant?: ChipVariant;
|
|
11
|
+
rightComponent?: React.ReactNode;
|
|
12
|
+
emptyLabel?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const MultipleAvatarChip: ({ Icons, text, onClick, testId, maxWidth, rightComponent, variant, forceEmptyText, emptyLabel, }: MultipleAvatarChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=MultipleAvatarChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultipleAvatarChip.d.ts","sourceRoot":"","sources":["../../../src/components/avatar-chip/MultipleAvatarChip.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAY7D,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kGAUhC,uBAAuB,4CAsBzB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare enum ChipSize {
|
|
4
|
+
Large = "large",
|
|
5
|
+
Small = "small"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ChipAccent {
|
|
8
|
+
TextPrimary = "text-primary",
|
|
9
|
+
TextSecondary = "text-secondary"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ChipVariant {
|
|
12
|
+
Highlighted = "highlighted",
|
|
13
|
+
Regular = "regular",
|
|
14
|
+
Transparent = "transparent",
|
|
15
|
+
Rounded = "rounded",
|
|
16
|
+
Static = "static"
|
|
17
|
+
}
|
|
18
|
+
export type ChipProps = {
|
|
19
|
+
size?: ChipSize;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
clickable?: boolean;
|
|
22
|
+
label: string;
|
|
23
|
+
isLabelHidden?: boolean;
|
|
24
|
+
maxWidth?: number;
|
|
25
|
+
variant?: ChipVariant;
|
|
26
|
+
accent?: ChipAccent;
|
|
27
|
+
leftComponent?: ReactNode | null;
|
|
28
|
+
rightComponent?: (() => ReactNode) | ReactNode | null;
|
|
29
|
+
className?: string;
|
|
30
|
+
forceEmptyText?: boolean;
|
|
31
|
+
emptyLabel?: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const Chip: ({ size, label, isLabelHidden, disabled, clickable, variant, leftComponent, rightComponent, accent, className, maxWidth, forceEmptyText, emptyLabel, }: ChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/Chip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,UAAU;IACpB,WAAW,iBAAiB;IAC5B,aAAa,mBAAmB;CACjC;AAED,oBAAY,WAAW;IACrB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,aAAa,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAwGF,eAAO,MAAM,IAAI,GAAI,uJAclB,SAAS,4CAuBX,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { TriggerEventType } from '../../utilities';
|
|
3
|
+
import { ChipProps } from './Chip';
|
|
4
|
+
|
|
5
|
+
export type LinkChipProps = Omit<ChipProps, 'onClick' | 'disabled' | 'clickable'> & {
|
|
6
|
+
to: string;
|
|
7
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
8
|
+
onMouseDown?: (event: MouseEvent<HTMLElement>) => void;
|
|
9
|
+
triggerEvent?: TriggerEventType;
|
|
10
|
+
target?: '_blank' | '_self';
|
|
11
|
+
};
|
|
12
|
+
export declare const LinkChip: ({ to, size, label, isLabelHidden, variant, leftComponent, rightComponent, accent, className, maxWidth, onClick, triggerEvent, target, emptyLabel, }: LinkChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=LinkChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkChip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/LinkChip.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EAGf,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGxC,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,SAAS,EACT,SAAS,GAAG,UAAU,GAAG,WAAW,CACrC,GAAG;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,QAAQ,GAAI,qJAetB,aAAa,4CAmCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkChipClickOutsideId.d.ts","sourceRoot":"","sources":["../../../../src/components/chip/constants/LinkChipClickOutsideId.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type { AvatarChipProps } from './avatar-chip/AvatarChip';
|
|
2
|
+
export { AvatarChip } from './avatar-chip/AvatarChip';
|
|
3
|
+
export type { MultipleAvatarChipProps } from './avatar-chip/MultipleAvatarChip';
|
|
4
|
+
export { MultipleAvatarChip } from './avatar-chip/MultipleAvatarChip';
|
|
5
|
+
export type { ChipProps } from './chip/Chip';
|
|
6
|
+
export { ChipSize, ChipAccent, ChipVariant, Chip } from './chip/Chip';
|
|
7
|
+
export { LINK_CHIP_CLICK_OUTSIDE_ID } from './chip/constants/LinkChipClickOutsideId';
|
|
8
|
+
export type { LinkChipProps } from './chip/LinkChip';
|
|
9
|
+
export { LinkChip } from './chip/LinkChip';
|
|
10
|
+
export { Pill } from './Pill/Pill';
|
|
11
|
+
export type { TagColor } from './tag/Tag';
|
|
12
|
+
export { Tag } from './tag/Tag';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AASA,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ThemeColor } from '../../theme';
|
|
2
|
+
import { IconComponent } from '../../display/icon/types/IconComponent';
|
|
3
|
+
|
|
4
|
+
type TagWeight = 'regular' | 'medium';
|
|
5
|
+
type TagVariant = 'solid' | 'outline' | 'border';
|
|
6
|
+
export type TagColor = ThemeColor | 'transparent';
|
|
7
|
+
type TagProps = {
|
|
8
|
+
className?: string;
|
|
9
|
+
color: TagColor;
|
|
10
|
+
text: string;
|
|
11
|
+
Icon?: IconComponent;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
weight?: TagWeight;
|
|
14
|
+
variant?: TagVariant;
|
|
15
|
+
preventShrink?: boolean;
|
|
16
|
+
preventPadding?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare const Tag: ({ className, color, text, Icon, onClick, weight, variant, preventShrink, preventPadding, }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAGL,KAAK,UAAU,EAGhB,MAAM,WAAW,CAAC;AAwEnB,KAAK,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AACtC,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AACjD,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,aAAa,CAAC;AAElD,KAAK,QAAQ,GAAG;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAGF,eAAO,MAAM,GAAG,GAAI,4FAUjB,QAAQ,4CA8BV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./emotion-react-jsx-runtime.browser.esm-pt_kQSCG.cjs"),x=require("@emotion/react"),w=require("@emotion/styled"),q=require("./Avatar-zyamQwOj.cjs"),h=require("./isValidCountryCode-Dyji5s5r-MH68p3NE.cjs"),I=require("@sniptt/guards"),z=require("react-router-dom"),f=require("@linaria/react"),A=require("./OverflowingTextWithTooltip-1P96Lw-o.cjs"),L=require("./useMouseDownNavigation-C_8Q5KFZ.cjs"),M=require("./Pill-D732nsLI.cjs"),P=require("./Tag-DIE1bmT7.cjs"),R=e=>e&&e.__esModule?e:{default:e},y=R(w),H=y.default("div",{target:"e1j05jg30"})("display:flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:4px;background-color:",({backgroundColor:e})=>e,";"),v=y.default("div",{target:"e1j05jg31"})(({divider:e,theme:t})=>e?(o=>`border-${o}: 1px solid ${t.border.color.light};`)(e):""," cursor:",({isClickable:e})=>e?"pointer":"inherit",";display:flex;"),N=({Icon:e,placeholderColorSeed:t,avatarType:r,avatarUrl:o,placeholder:c,isIconInverted:d=!1,IconColor:u,IconBackgroundColor:a,onClick:i,divider:l})=>{const n=x.useTheme();if(!h.Tr(e))return s.jsx(q.Avatar,{avatarUrl:o,placeholderColorSeed:t,placeholder:c,size:"sm",type:r,onClick:i});const p=h.Tr(i);return d||h.Tr(a)?s.jsx(v,{isClickable:p,divider:l,theme:n,onClick:i,children:s.jsx(H,{backgroundColor:a??n.background.invertedSecondary,children:s.jsx(e,{color:n.font.color.inverted,size:n.icon.size.sm,stroke:n.icon.stroke.sm})})}):s.jsx(v,{isClickable:p,divider:l,theme:n,onClick:i,children:s.jsx(e,{size:n.icon.size.sm,stroke:n.icon.stroke.sm,color:u||"currentColor"})})};var j=function(e){return e.Large="large",e.Small="small",e}({}),S=function(e){return e.TextPrimary="text-primary",e.TextSecondary="text-secondary",e}({}),m=function(e){return e.Highlighted="highlighted",e.Regular="regular",e.Transparent="transparent",e.Rounded="rounded",e.Static="static",e}({});const O=()=>({theme:e})=>e.font.color.tertiary,$=x.withTheme(f.styled("div")({name:"StyledDiv",class:"s1lyil01",propsAsIs:!1,vars:{"s1lyil01-0":[O()]}})),K=()=>({theme:e,accent:t,disabled:r})=>r?e.font.color.light:t==="text-primary"?e.font.color.primary:e.font.color.secondary,E=()=>({clickable:e,disabled:t,variant:r})=>r==="transparent"?"inherit":e?"pointer":t?"not-allowed":"inherit",U=()=>({theme:e})=>e.spacing(1),W=()=>({theme:e,size:t})=>t==="large"?e.spacing(4):e.spacing(3),F=()=>({maxWidth:e})=>e?`calc(${e}px - 2 * var(--chip-horizontal-padding))`:"100%",J=()=>({theme:e,accent:t})=>t==="text-secondary"?e.font.weight.medium:"inherit",B=()=>({theme:e,variant:t,disabled:r})=>t==="regular"&&!r?e.background.transparent.light:t==="highlighted"?e.background.transparent.medium:t==="static"?e.background.transparent.light:"inherit",G=()=>({theme:e,disabled:t,variant:r})=>r==="regular"&&!t?e.background.transparent.medium:r==="highlighted"?e.background.transparent.strong:r==="static"?e.background.transparent.light:"inherit",Q=()=>({theme:e,variant:t})=>t==="highlighted"||t==="static"?e.background.transparent.light:"inherit",X=()=>({theme:e})=>e.border.radius.sm,Y=()=>({theme:e,variant:t})=>t==="transparent"?e.spacing(0):"var(--chip-horizontal-padding)",Z=x.withTheme(f.styled("div")({name:"StyledContainer",class:"sspy0d0",propsAsIs:!1,vars:{"sspy0d0-0":[U()],"sspy0d0-1":[K()],"sspy0d0-2":[E()],"sspy0d0-3":[W()],"sspy0d0-4":[F()],"sspy0d0-5":[J()],"sspy0d0-6":[B()],"sspy0d0-7":[G()],"sspy0d0-8":[Q()],"sspy0d0-9":[X()],"sspy0d0-10":[Y()]}})),V=e=>e?typeof e=="function"?e():e:null,_=({size:e="small",label:t,isLabelHidden:r=!1,disabled:o=!1,clickable:c=!0,variant:d="regular",leftComponent:u=null,rightComponent:a=null,accent:i="text-primary",className:l,maxWidth:n,forceEmptyText:p=!1,emptyLabel:g="Untitled"})=>s.jsxs(Z,{"data-testid":"chip",accent:i,clickable:c,disabled:o,size:e,variant:d,className:l,maxWidth:n,children:[u,!r&&t&&t.trim()?s.jsx(A.OverflowingTextWithTooltip,{size:e,text:t}):!p&&!r?s.jsx($,{children:g}):"",V(a)]}),ee=y.default("div",{target:"elmzckf0"})("align-items:center;display:flex;"),te=y.default("div",{target:"elmzckf1"})("display:inline-flex;font-size:",({theme:e})=>e.font.size.sm,";"),re=({Icons:e,text:t,onClick:r,testId:o,maxWidth:c,rightComponent:d,variant:u=m.Static,forceEmptyText:a=!1,emptyLabel:i})=>s.jsx(te,{onClick:r,"data-testid":o,children:s.jsx(_,{label:t||"",forceEmptyText:a,isLabelHidden:!I.isNonEmptyString(t)&&a,variant:u,leftComponent:s.jsx(ee,{children:e.map((l,n)=>s.jsx(s.jsxRuntimeExports.Fragment,{children:l},n))}),rightComponent:d,clickable:h.Tr(r),maxWidth:c,emptyLabel:i})}),b="link-chip-click-outside-id",se=()=>z.Link,ne=f.styled(se())({name:"StyledLink",class:"s1hvdoia",propsAsIs:!0}),ie=({to:e,size:t=j.Small,label:r,isLabelHidden:o=!1,variant:c=m.Regular,leftComponent:d=null,rightComponent:u=null,accent:a=S.TextPrimary,className:i,maxWidth:l,onClick:n,triggerEvent:p,target:g,emptyLabel:C})=>{const{onClick:T,onMouseDown:D}=L.useMouseDownNavigation({to:e,onClick:n,triggerEvent:p});return s.jsx(ne,{to:e,onClick:k=>{k.stopPropagation(),T(k)},onMouseDown:D,"data-click-outside-id":b,target:g,rel:g==="_blank"?"noopener noreferrer":void 0,children:s.jsx(_,{size:t,label:r,isLabelHidden:o,clickable:!0,variant:c,leftComponent:d,rightComponent:u,accent:a,className:i,maxWidth:l,emptyLabel:C})})};exports.Pill=M.Pill;exports.Tag=P.Tag;exports.AvatarChip=N;exports.Chip=_;exports.ChipAccent=S;exports.ChipSize=j;exports.ChipVariant=m;exports.LINK_CHIP_CLICK_OUTSIDE_ID=b;exports.LinkChip=ie;exports.MultipleAvatarChip=re;
|