@uniformdev/design-system 20.51.1-alpha.14 → 20.53.1-alpha.7

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/esm/index.js CHANGED
@@ -13964,6 +13964,7 @@ var ParameterLabelsInner = (props) => {
13964
13964
  totalResults: items.filter((item) => !item.isGroup).length,
13965
13965
  maxContainerSize: "0rem",
13966
13966
  onOpen: props.onOpen,
13967
+ menuPlacement: "left-start",
13967
13968
  onClose: () => {
13968
13969
  var _a2;
13969
13970
  hasPositionedRef.current = false;
@@ -13972,11 +13973,11 @@ var ParameterLabelsInner = (props) => {
13972
13973
  menuGetAnchorRect: () => {
13973
13974
  var _a2;
13974
13975
  const rect = (_a2 = containerRef.current) == null ? void 0 : _a2.getBoundingClientRect();
13975
- if (!rect) {
13976
+ if (!rect || selectedIds.size === 0) {
13976
13977
  return null;
13977
13978
  }
13978
13979
  return {
13979
- x: rect.left - (rect.width + 24),
13980
+ x: rect.left,
13980
13981
  y: rect.top,
13981
13982
  width: 0,
13982
13983
  height: rect.height
package/dist/index.js CHANGED
@@ -15932,6 +15932,7 @@ var ParameterLabelsInner = (props) => {
15932
15932
  totalResults: items.filter((item) => !item.isGroup).length,
15933
15933
  maxContainerSize: "0rem",
15934
15934
  onOpen: props.onOpen,
15935
+ menuPlacement: "left-start",
15935
15936
  onClose: () => {
15936
15937
  var _a2;
15937
15938
  hasPositionedRef.current = false;
@@ -15940,11 +15941,11 @@ var ParameterLabelsInner = (props) => {
15940
15941
  menuGetAnchorRect: () => {
15941
15942
  var _a2;
15942
15943
  const rect = (_a2 = containerRef.current) == null ? void 0 : _a2.getBoundingClientRect();
15943
- if (!rect) {
15944
+ if (!rect || selectedIds.size === 0) {
15944
15945
  return null;
15945
15946
  }
15946
15947
  return {
15947
- x: rect.left - (rect.width + 24),
15948
+ x: rect.left,
15948
15949
  y: rect.top,
15949
15950
  width: 0,
15950
15951
  height: rect.height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "20.51.1-alpha.14+1acdc51f11",
3
+ "version": "20.53.1-alpha.7+1c3bd56284",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "exports": {
@@ -35,8 +35,8 @@
35
35
  "@storybook/react-vite": "10.1.0",
36
36
  "@types/react": "19.2.2",
37
37
  "@types/react-dom": "19.2.2",
38
- "@uniformdev/canvas": "^20.51.1-alpha.14+1acdc51f11",
39
- "@uniformdev/richtext": "^20.51.1-alpha.14+1acdc51f11",
38
+ "@uniformdev/canvas": "^20.53.1-alpha.7+1c3bd56284",
39
+ "@uniformdev/richtext": "^20.53.1-alpha.7+1c3bd56284",
40
40
  "autoprefixer": "10.4.21",
41
41
  "hygen": "6.2.11",
42
42
  "jsdom": "20.0.3",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "gitHead": "1acdc51f11d2e4d35097fcb2f0e2d0777fab0c24"
91
+ "gitHead": "1c3bd56284db96f16318a18e62b3b6e83cb09f9b"
92
92
  }