The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
`[SDK]` twenty-ui/display selective re-export to avoid bloating icons (#19010)
Paul Rastoinc7f6036a47fd
diff --git a/packages/create-twenty-app/package.json b/packages/create-twenty-app/package.jsonindex b1fbe81a26c..5f94af29c15 100644--- a/packages/create-twenty-app/package.json+++ b/packages/create-twenty-app/package.json@@ -1,6 +1,6 @@{"name": "create-twenty-app",- "version": "0.8.0-canary.4",+ "version": "0.8.0-canary.5","description": "Command-line interface to create Twenty application","main": "dist/cli.cjs","bin": "dist/cli.cjs",diff --git a/packages/twenty-client-sdk/package.json b/packages/twenty-client-sdk/package.jsonindex bb37be57b4c..b1f8aea918e 100644--- a/packages/twenty-client-sdk/package.json+++ b/packages/twenty-client-sdk/package.json@@ -1,6 +1,6 @@{"name": "twenty-client-sdk",- "version": "0.8.0-canary.4",+ "version": "0.8.0-canary.5","sideEffects": false,"license": "AGPL-3.0","scripts": {diff --git a/packages/twenty-sdk/package.json b/packages/twenty-sdk/package.jsonindex db4ee79df6a..d8ac1c9042d 100644--- a/packages/twenty-sdk/package.json+++ b/packages/twenty-sdk/package.json@@ -1,6 +1,6 @@{"name": "twenty-sdk",- "version": "0.8.0-canary.4",+ "version": "0.8.0-canary.5","main": "dist/index.cjs","module": "dist/index.mjs","types": "dist/sdk/index.d.ts",diff --git a/packages/twenty-sdk/src/ui/index.ts b/packages/twenty-sdk/src/ui/index.tsindex 2882256cc6b..19d469ebfc7 100644--- a/packages/twenty-sdk/src/ui/index.ts+++ b/packages/twenty-sdk/src/ui/index.ts@@ -1,7 +1,518 @@export * from 'twenty-ui';export * from 'twenty-ui/accessibility';export * from 'twenty-ui/components';-export * from 'twenty-ui/display';++// Selective re-export from twenty-ui/display:+// IconsProvider, useIcons, and iconsState are excluded to avoid bundling+// the AllIcons module (~5000 Tabler icons) which adds ~4MB to the SDK dist.+export {+ AnimatedCheckmark,+ AppTooltip,+ Avatar,+ AVATAR_PROPERTIES_BY_SIZE,+ AvatarGroup,+ Banner,+ Callout,+ Checkmark,+ ColorSample,+ CommandBlock,+ H1Title,+ H1TitleFontColor,+ H2Title,+ H3Title,+ HorizontalSeparator,+ Icon,+ Icon123,+ IconAddressBook,+ IconAlertCircle,+ IconAlertTriangle,+ IconAlignBoxLeftTop,+ IconAlignCenter,+ IconAlignLeft,+ IconAlignRight,+ IconApi,+ IconApps,+ IconAppWindow,+ IconArchive,+ IconArchiveOff,+ IconArrowBackUp,+ IconArrowDown,+ IconArrowLeft,+ IconArrowMerge,+ IconArrowRight,+ IconArrowsDiagonal,+ IconArrowsSort,+ IconArrowsSplit2,+ IconArrowsVertical,+ IconArrowUp,+ IconArrowUpRight,+ IconAt,+ IconAxisX,+ IconAxisY,+ IconBadge2k,+ IconBaselineDensitySmall,+ IconBell,+ IconBlockquote,+ IconBold,+ IconBolt,+ IconBook2,+ IconBookmark,+ IconBookmarkPlus,+ IconBox,+ IconBoxMultiple,+ IconBrackets,+ IconBracketsAngle,+ IconBracketsContain,+ IconBrain,+ IconBrandAnthropic,+ IconBrandDaysCounter,+ IconBrandGemini,+ IconBrandGithub,+ IconBrandGoogle,+ IconBrandGraphql,+ IconBrandGroq,+ IconBrandLinkedin,+ IconBrandMistral,+ IconBrandOpenai,+ IconBrandX,+ IconBrandXai,+ IconBriefcase,+ IconBroadcast,+ IconBrowserMaximize,+ IconBuildingSkyscraper,+ IconCalendar,+ IconCalendarDue,+ IconCalendarEvent,+ IconCalendarMonth,+ IconCalendarRepeat,+ IconCalendarTime,+ IconCalendarWeek,+ IconCalendarX,+ IconCancel,+ IconCaretLeft,+ IconCaretRight,+ IconChartBar,+ IconChartBarHorizontal,+ IconChartBarPopular,+ IconChartCandle,+ IconChartDots3,+ IconChartLine,+ IconChartPie,+ IconCheck,+ IconCheckbox,+ IconChevronDown,+ IconChevronLeft,+ IconChevronRight,+ IconChevronRightPipe,+ IconChevronsRight,+ IconChevronUp,+ IconCircle,+ IconCircleDashed,+ IconCircleDot,+ IconCircleOff,+ IconCirclePlus,+ IconCircleX,+ IconClick,+ IconClock,+ IconClockHour8,+ IconClockPlay,+ IconClockShare,+ IconCode,+ IconCodeCircle,+ IconCoins,+ IconColorSwatch,+ IconColumnInsertRight,+ IconColumns,+ IconCommand,+ IconComment,+ IconCopy,+ IconCopyPlus,+ IconCpu,+ IconCreativeCommonsSa,+ IconCreditCard,+ IconCsv,+ IconCube,+ IconCurrencyAfghani,+ IconCurrencyBahraini,+ IconCurrencyBaht,+ IconCurrencyDinar,+ IconCurrencyDirham,+ IconCurrencyDollar,+ IconCurrencyDollarAustralian,+ IconCurrencyDollarBrunei,+ IconCurrencyDollarCanadian,+ IconCurrencyDollarGuyanese,+ IconCurrencyDollarSingapore,+ IconCurrencyDong,+ IconCurrencyDram,+ IconCurrencyEuro,+ IconCurrencyFlorin,+ IconCurrencyForint,+ IconCurrencyFrank,+ IconCurrencyGuarani,+ IconCurrencyHryvnia,+ IconCurrencyIranianRial,+ IconCurrencyKip,+ IconCurrencyKroneCzech,+ IconCurrencyKroneDanish,+ IconCurrencyKroneSwedish,+ IconCurrencyLari,+ IconCurrencyLeu,+ IconCurrencyLira,+ IconCurrencyLyd,+ IconCurrencyManat,+ IconCurrencyNaira,+ IconCurrencyPaanga,+ IconCurrencyPeso,+ IconCurrencyPound,+ IconCurrencyQuetzal,+ IconCurrencyReal,+ IconCurrencyRenminbi,+ IconCurrencyRiyal,+ IconCurrencyRubel,+ IconCurrencyRufiyaa,+ IconCurrencyRupee,+ IconCurrencyRupeeNepalese,+ IconCurrencyShekel,+ IconCurrencySom,+ IconCurrencyTaka,+ IconCurrencyTenge,+ IconCurrencyTugrik,+ IconCurrencyWon,+ IconCurrencyYen,+ IconCurrencyYuan,+ IconCurrencyZloty,+ IconDatabase,+ IconDatabaseExport,+ IconDecimal,+ IconDeviceFloppy,+ IconDoorEnter,+ IconDotsVertical,+ IconDownload,+ IconEdit,+ IconEditCircle,+ IconEraser,+ IconExclamationCircle,+ IconExternalLink,+ IconEye,+ IconEyeOff,+ IconEyeShare,+ IconFile,+ IconFileCheck,+ IconFileExport,+ IconFileImport,+ IconFileInfo,+ IconFilePencil,+ IconFileText,+ IconFileUpload,+ IconFileZip,+ IconFilter,+ IconFilterCog,+ IconFilterOff,+ IconFilterPlus,+ IconFilters,+ IconFilterX,+ IconFlag,+ IconFlask,+ IconFocusCentered,+ IconFolder,+ IconFolderOpen,+ IconFolderPlus,+ IconFolderRoot,+ IconFolderSymlink,+ IconForbid,+ IconFrame,+ IconFunction,+ IconGauge,+ IconGitBranchDeleted,+ IconGitCommit,+ IconGizmo,+ IconGmail,+ IconGoogle,+ IconGoogleCalendar,+ IconGripVertical,+ IconH1,+ IconH2,+ IconH3,+ IconH4,+ IconH5,+ IconH6,+ IconHandClick,+ IconHandMove,+ IconHeadphones,+ IconHeart,+ IconHeartOff,+ IconHeartRateMonitor,+ IconHelp,+ IconHelpCircle,+ IconHierarchy,+ IconHierarchy2,+ IconHistory,+ IconHistoryToggle,+ IconHome,+ IconHourglassHigh,+ IconHours24,+ IconHttpGet,+ IconHttpPost,+ IconId,+ IconInbox,+ IconInfoCircle,+ IconItalic,+ IconJetpack,+ IconJson,+ IconKey,+ IconLanguage,+ IconLayersLinked,+ IconLayout,+ IconLayoutDashboard,+ IconLayoutGrid,+ IconLayoutKanban,+ IconLayoutList,+ IconLayoutNavbar,+ IconLayoutSidebarLeftCollapse,+ IconLayoutSidebarRight,+ IconLayoutSidebarRightCollapse,+ IconLayoutSidebarRightExpand,+ IconLetterK,+ IconLibraryPlus,+ IconLifebuoy,+ IconLink,+ IconLinkOff,+ IconLinkPlus,+ IconList,+ IconListCheck,+ IconListDetails,+ IconListNumbers,+ IconListSearch,+ IconLoader,+ IconLock,+ IconLockCustom,+ IconLockOpen,+ IconLogin2,+ IconLogout,+ IconMail,+ IconMailCog,+ IconMailX,+ IconMap,+ IconMathMax,+ IconMathMin,+ IconMathXy,+ IconMaximize,+ IconMessage,+ IconMessageCirclePlus,+ IconMicrosoft,+ IconMicrosoftCalendar,+ IconMicrosoftOutlook,+ IconMinus,+ IconModelClaude,+ IconMoneybag,+ IconMoodSmile,+ IconMoon,+ IconMouse2,+ IconNewSection,+ IconNorthStar,+ IconNoteOff,+ IconNotes,+ IconNumber,+ IconNumber123,+ IconNumber9,+ IconNumbers,+ IconPaint,+ IconPaperclip,+ IconPassword,+ IconPencil,+ IconPencilOff,+ IconPercentage,+ IconPhone,+ IconPhoto,+ IconPhotoUp,+ IconPilcrow,+ IconPinned,+ IconPinnedOff,+ IconPlayerPause,+ IconPlayerPlay,+ IconPlayerStop,+ IconPlaylistAdd,+ IconPlaystationSquare,+ IconPlug,+ IconPlus,+ IconPoint,+ IconPower,+ IconPresentation,+ IconPrinter,+ IconProgressCheck,+ IconProviderOpenai,+ IconPuzzle,+ IconPuzzle2,+ IconQuestionMark,+ IconRadiusBottomLeft,+ IconRadiusBottomRight,+ IconRadiusTopLeft,+ IconRadiusTopRight,+ IconRefresh,+ IconRefreshAlert,+ IconRefreshDot,+ IconRelationManyToMany,+ IconRelationManyToOne,+ IconRelationOneToMany,+ IconRelationOneToOne,+ IconReload,+ IconReorder,+ IconRepeat,+ IconRestore,+ IconRobot,+ IconRocket,+ IconRotate,+ IconRotate2,+ IconRowInsertBottom,+ IconRowInsertTop,+ IconSearch,+ IconSend,+ IconServer,+ IconServer2,+ IconSettings,+ IconSettings2,+ IconSettingsAutomation,+ IconSettingsBolt,+ IconShare,+ IconShield,+ IconSitemap,+ IconSlash,+ IconSortAscending,+ IconSortAscendingLetters,+ IconSortAscendingNumbers,+ IconSortAZ,+ IconSortDescending,+ IconSortDescendingLetters,+ IconSortDescendingNumbers,+ IconSortZA,+ IconSparkles,+ IconSpy,+ IconSql,+ IconSquare,+ IconSquareKey,+ IconSquareNumber1,+ IconSquareNumber2,+ IconSquareNumber3,+ IconSquareNumber4,+ IconSquareNumber5,+ IconSquareNumber6,+ IconSquareNumber7,+ IconSquareNumber8,+ IconSquareNumber9,+ IconSquarePlus,+ IconSquareRoundedCheck,+ IconSquareRoundedX,+ IconStack2,+ IconStatusChange,+ IconStepInto,+ IconStrikethrough,+ IconSum,+ IconSun,+ IconSunMoon,+ IconSwitchHorizontal,+ IconTable,+ IconTag,+ IconTags,+ IconTarget,+ IconTargetArrow,+ IconTerminal,+ IconTestPipe,+ IconTextCaption,+ IconTextSize,+ IconTextWrap,+ IconTimeDuration30,+ IconTimeDuration60,+ IconTimelineEvent,+ IconTool,+ IconTransform,+ IconTrash,+ IconTrashOff,+ IconTrashX,+ IconTrashXOff,+ IconTrendingDown,+ IconTrendingUp,+ IconTwentyStar,+ IconTwentyStarFilled,+ IconTypography,+ IconUnderline,+ IconUnlink,+ IconUpload,+ IconUser,+ IconUserCircle,+ IconUserCog,+ IconUserPin,+ IconUserPlus,+ IconUsers,+ IconVariable,+ IconVariablePlus,+ IconVersions,+ IconVersionsOff,+ IconVideo,+ IconWand,+ IconWebhook,+ IconWorld,+ IconX,+ IllustrationIconArray,+ IllustrationIconCalendarEvent,+ IllustrationIconCalendarTime,+ IllustrationIconCurrency,+ IllustrationIconFile,+ IllustrationIconJson,+ IllustrationIconLink,+ IllustrationIconMail,+ IllustrationIconManyToMany,+ IllustrationIconMap,+ IllustrationIconNumbers,+ IllustrationIconOneToMany,+ IllustrationIconOneToOne,+ IllustrationIconPhone,+ IllustrationIconSetting,+ IllustrationIconStar,+ IllustrationIconTag,+ IllustrationIconTags,+ IllustrationIconText,+ IllustrationIconToggle,+ IllustrationIconUid,+ IllustrationIconUser,+ IllustrationIconWrapper,+ Info,+ invalidAvatarUrlsAtomV2,+ Label,+ OverflowingTextWithTooltip,+ SeparatorLineText,+ SidePanelInformationBanner,+ Status,+ StyledText,+ StyledTextContent,+ StyledTextWrapper,+ ThinkingOrbitLoaderIcon,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/display';+export type {+ AnimatedCheckmarkProps,+ AppTooltipProps,+ AvatarGroupProps,+ AvatarProps,+ AvatarSize,+ AvatarType,+ BannerVariant,+ CalloutProps,+ CalloutVariant,+ CheckmarkProps,+ ColorSampleProps,+ ColorSampleVariant,+ IconComponent,+ IconComponentProps,+ IconProps,+ InfoAccent,+ InfoProps,+ LabelVariant,+ SidePanelInformationBannerProps,+ TablerIconsProps,+} from 'twenty-ui/display';+export * from 'twenty-ui/feedback';export * from 'twenty-ui/input';export * from 'twenty-ui/json-visualizer';