@sanity/ui
Advanced tools
Comparing version 1.9.0 to 1.9.3
{ | ||
"name": "@sanity/ui", | ||
"version": "1.9.0", | ||
"version": "1.9.3", | ||
"sideEffects": false, | ||
@@ -47,4 +47,4 @@ "types": "./dist/index.d.ts", | ||
"watch": "pkg watch --strict", | ||
"workshop:build": "node -r esbuild-register -r tsconfig-paths/register scripts/build", | ||
"workshop:dev": "node -r esbuild-register -r tsconfig-paths/register scripts/dev", | ||
"workshop:build": "workshop build", | ||
"workshop:dev": "workshop dev", | ||
"workshop:start": "http-server -a localhost -c-0 -p 1337 -s -P http://localhost:1337/index.html? dist" | ||
@@ -70,3 +70,3 @@ }, | ||
"@sanity/semantic-release-preset": "^4.1.4", | ||
"@sanity/ui-workshop": "^1.2.11", | ||
"@sanity/ui-workshop": "^2.0.0", | ||
"@testing-library/dom": "^9.3.1", | ||
@@ -89,4 +89,2 @@ "@testing-library/jest-dom": "^5.17.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"esbuild": "^0.19.2", | ||
"esbuild-register": "^3.4.2", | ||
"eslint": "^8.48.0", | ||
@@ -93,0 +91,0 @@ "eslint-config-prettier": "^9.0.0", |
@@ -13,3 +13,18 @@ import {defineScope} from '@sanity/ui-workshop' | ||
}, | ||
{ | ||
name: 'resizableBoundary', | ||
title: 'Resizable Boundary', | ||
component: lazy(() => import('./resizableBoundary')), | ||
}, | ||
{ | ||
name: 'overflowBoundary', | ||
title: 'Overflowing Boundary', | ||
component: lazy(() => import('./overflowingBoundary')), | ||
}, | ||
{ | ||
name: 'customPortalStory', | ||
title: 'Custom Portal', | ||
component: lazy(() => import('./customPortal')), | ||
}, | ||
], | ||
}) |
import {Placement} from '@floating-ui/react-dom' | ||
export const DEFAULT_TOOLTIP_PADDING = 4 | ||
export const DEFAULT_FALLBACK_PLACEMENTS: Record<Placement, Placement[]> = { | ||
@@ -4,0 +5,0 @@ top: ['bottom', 'left', 'right'], |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2908985
53
564
45577