@boxyhq/react-ui
Advanced tools
Comparing version 1.9.7 to 2.0.0
{ | ||
"name": "@boxyhq/react-ui", | ||
"description": "React UI components from BoxyHQ", | ||
"version": "1.9.7", | ||
"version": "2.0.0", | ||
"type": "module", | ||
@@ -10,24 +10,21 @@ "keywords": [ | ||
"sso", | ||
"mitosis", | ||
"component-library", | ||
"enterprise-features" | ||
], | ||
"files": [ | ||
"dist" | ||
], | ||
"homepage": "https://github.com/boxyhq/jackson/tree/main/sdk/ui/react#readme", | ||
"homepage": "https://github.com/boxyhq/ui", | ||
"bugs": { | ||
"url": "https://github.com/boxyhq/jackson/issues?q=is%3Aopen+is%3Aissue+label%3Asdk" | ||
"url": "https://github.com/boxyhq/ui/issues?q=is%3Aopen+is%3Aissue+label%3Asdk" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/boxyhq/jackson", | ||
"directory": "sdk/ui/react" | ||
}, | ||
"license": "Apache-2.0", | ||
"main": "./dist/@boxyhq/react-ui.umd.cjs", | ||
"module": "./dist/@boxyhq/react-ui.js", | ||
"types": "./dist/dist/types/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"index.d.ts", | ||
"sso.d.ts" | ||
], | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/@boxyhq/react-ui.js", | ||
"require": "./dist/@boxyhq/react-ui.umd.cjs" | ||
"./sso": { | ||
"import": "./dist/sso.js", | ||
"require": "./dist/sso.umd.cjs" | ||
} | ||
@@ -37,24 +34,24 @@ }, | ||
"dev": "SHOW_ALL_COMPONENT_DEMOS=true vite serve docs", | ||
"build-docs": "rimraf docs/dist && vite build docs && serve -s docs/dist", | ||
"build-docs": "rimraf docs/dist && SHOW_ALL_COMPONENT_DEMOS=true vite build docs && serve -s docs/dist", | ||
"ssr-docs": "rimraf docs/dist && vite-pages ssr docs && serve docs/dist", | ||
"build": "vite build", | ||
"prepublishOnly": "npm run build" | ||
"build-lib": "vite build", | ||
"prepare": "npm run build-lib" | ||
}, | ||
"dependencies": { | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
"react-router-dom": "6.11.1" | ||
}, | ||
"devDependencies": { | ||
"@mdx-js/react": "2.3.0", | ||
"@rollup/plugin-typescript": "11.1.0", | ||
"@types/node": "20.1.0", | ||
"@types/react": "18.2.0", | ||
"@types/react-router-dom": "5.3.3", | ||
"@rollup/plugin-typescript": "11.1.1", | ||
"@types/node": "20.1.5", | ||
"@types/react": "18.2.6", | ||
"@vitejs/plugin-react": "4.0.0", | ||
"autoprefixer": "10.4.14", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-router-dom": "6.11.1", | ||
"rimraf": "5.0.0", | ||
"serve": "14.2.0", | ||
"vite": "4.3.5", | ||
"vite": "4.3.6", | ||
"vite-pages-theme-doc": "4.1.4", | ||
"vite-plugin-css-injected-by-js": "3.1.0", | ||
"vite-plugin-react-pages": "4.1.1" | ||
"vite-plugin-css-injected-by-js": "3.1.1", | ||
"vite-plugin-react-pages": "4.1.2" | ||
}, | ||
@@ -61,0 +58,0 @@ "peerDependencies": { |
@@ -20,3 +20,3 @@ # @boxyhq/react-ui | ||
```tsx | ||
import { Login as SSOLogin } from '@boxyhq/react-ui'; | ||
import { Login as SSOLogin } from '@boxyhq/react-ui/sso'; | ||
@@ -44,3 +44,3 @@ const onSSOSubmit = async (ssoIdentifier: string) => { | ||
```tsx | ||
import { Login as SSOLogin } from '@boxyhq/react-ui'; | ||
import { Login as SSOLogin } from '@boxyhq/react-ui/sso'; | ||
@@ -47,0 +47,0 @@ const onSSOSubmit = async (ssoIdentifier: string) => { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
192332
11
14
5
5
920
1
+ Addedreact-router-dom@6.11.1
+ Added@remix-run/router@1.6.1(transitive)
+ Addedreact-router@6.11.1(transitive)
+ Addedreact-router-dom@6.11.1(transitive)