An open source design system that's fully customizable and agent ready
TypeScript
fix: sync package.json exports (add NavItem, remove typography.css) (#710)
Cindy Zhanga9d40f3f80d2
diff --git a/packages/core/package.json b/packages/core/package.jsonindex af71e0150c..faa4b40736 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -208,6 +208,12 @@"import": "./dist/NavIcon/index.mjs","require": "./dist/NavIcon/index.js"},+ "./NavItem": {+ "source": "./src/NavItem/index.ts",+ "types": "./dist/NavItem/index.d.ts",+ "import": "./dist/NavItem/index.mjs",+ "require": "./dist/NavItem/index.js"+ },"./NumberInput": {"source": "./src/NumberInput/index.ts","types": "./dist/NumberInput/index.d.ts",@@ -420,4 +426,4 @@"esbuild-plugin-babel": "^0.2.3","@stylexjs/stylex": "^0.17.4"}-}\ No newline at end of file+}diff --git a/scripts/sync-exports.js b/scripts/sync-exports.jsindex 2ac29070ee..4257aa3462 100644--- a/scripts/sync-exports.js+++ b/scripts/sync-exports.js@@ -43,7 +43,6 @@ const UTILITY_DIRS = new Set(['hooks', 'theme', 'utils']);*/const STATIC_EXPORTS = {'./reset.css': './src/reset.css',- './typography.css': './src/typography.css','./xds.css': './dist/xds.css','./theme/tokens.stylex': {source: './src/theme/tokens.stylex.ts',