@uniformdev/design-system 20.66.3-alpha.6 → 20.66.3-alpha.9

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
@@ -204,7 +204,10 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
204
204
  --z-20: 20;
205
205
  --z-drawer: 50;
206
206
  --z-50: 50;
207
- --z-tooltip: 80;
207
+ --z-menu: 80;
208
+ /* tooltip sits above the side chat so it is never clipped */
209
+ --z-tooltip: 100;
210
+ --z-side-chat: 100;
208
211
 
209
212
  /* opacity */
210
213
  --opacity-0: 0;
@@ -5161,7 +5164,7 @@ var Menu = React8.forwardRef(function Menu2({
5161
5164
  alignOffset: shift != null ? shift : isNested ? -4 : 0,
5162
5165
  anchor,
5163
5166
  disableAnchorTracking: !!updatePosition,
5164
- style: { zIndex: "var(--z-tooltip)" },
5167
+ style: { zIndex: "var(--z-menu)" },
5165
5168
  children: /* @__PURE__ */ jsx28(
5166
5169
  BaseUIMenu.Popup,
5167
5170
  {
@@ -8392,7 +8395,7 @@ var PopoverBtn = css53`
8392
8395
  background: none;
8393
8396
  `;
8394
8397
  var Popover = css53`
8395
- z-index: var(--z-tooltip);
8398
+ z-index: var(--z-menu);
8396
8399
 
8397
8400
  /**
8398
8401
  * Hide the popover when its anchor (trigger) has been scrolled out of view by a
package/dist/index.d.mts CHANGED
@@ -3558,8 +3558,9 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
3558
3558
 
3559
3559
  /**
3560
3560
  * Context for passing a portal container element to child popover/menu components
3561
- * rendered inside a Modal. This ensures floating elements render into the dialog
3562
- * instead of document.body, preventing clipping by the modal's overflow.
3561
+ * rendered inside a Modal or the docked/fullscreen Scout side chat panel. Ensures
3562
+ * floating elements render into that element instead of document.body, preventing
3563
+ * clipping by overflow and incorrect stacking (e.g. menus behind --z-side-chat).
3563
3564
  */
3564
3565
  declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
3565
3566
  declare function useModalPortalContainer(): HTMLElement | null;
package/dist/index.d.ts CHANGED
@@ -3558,8 +3558,9 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
3558
3558
 
3559
3559
  /**
3560
3560
  * Context for passing a portal container element to child popover/menu components
3561
- * rendered inside a Modal. This ensures floating elements render into the dialog
3562
- * instead of document.body, preventing clipping by the modal's overflow.
3561
+ * rendered inside a Modal or the docked/fullscreen Scout side chat panel. Ensures
3562
+ * floating elements render into that element instead of document.body, preventing
3563
+ * clipping by overflow and incorrect stacking (e.g. menus behind --z-side-chat).
3563
3564
  */
3564
3565
  declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
3565
3566
  declare function useModalPortalContainer(): HTMLElement | null;
package/dist/index.js CHANGED
@@ -1910,7 +1910,10 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1910
1910
  --z-20: 20;
1911
1911
  --z-drawer: 50;
1912
1912
  --z-50: 50;
1913
- --z-tooltip: 80;
1913
+ --z-menu: 80;
1914
+ /* tooltip sits above the side chat so it is never clipped */
1915
+ --z-tooltip: 100;
1916
+ --z-side-chat: 100;
1914
1917
 
1915
1918
  /* opacity */
1916
1919
  --opacity-0: 0;
@@ -6968,7 +6971,7 @@ var Menu = React8.forwardRef(function Menu2({
6968
6971
  alignOffset: shift != null ? shift : isNested ? -4 : 0,
6969
6972
  anchor,
6970
6973
  disableAnchorTracking: !!updatePosition,
6971
- style: { zIndex: "var(--z-tooltip)" },
6974
+ style: { zIndex: "var(--z-menu)" },
6972
6975
  children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6973
6976
  import_menu.Menu.Popup,
6974
6977
  {
@@ -10271,7 +10274,7 @@ var PopoverBtn = import_react80.css`
10271
10274
  background: none;
10272
10275
  `;
10273
10276
  var Popover = import_react80.css`
10274
- z-index: var(--z-tooltip);
10277
+ z-index: var(--z-menu);
10275
10278
 
10276
10279
  /**
10277
10280
  * Hide the popover when its anchor (trigger) has been scrolled out of view by a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "20.66.3-alpha.6+99aaadfddb",
3
+ "version": "20.66.3-alpha.9+2be6565c78",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "exports": {
@@ -33,8 +33,8 @@
33
33
  "@storybook/react-vite": "10.2.10",
34
34
  "@types/react": "19.2.2",
35
35
  "@types/react-dom": "19.2.2",
36
- "@uniformdev/canvas": "^20.66.3-alpha.6+99aaadfddb",
37
- "@uniformdev/richtext": "^20.66.3-alpha.6+99aaadfddb",
36
+ "@uniformdev/canvas": "^20.66.3-alpha.9+2be6565c78",
37
+ "@uniformdev/richtext": "^20.66.3-alpha.9+2be6565c78",
38
38
  "autoprefixer": "10.4.21",
39
39
  "hygen": "6.2.11",
40
40
  "jsdom": "29.0.2",
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "99aaadfddbad0e7712ea51517666069915883931"
87
+ "gitHead": "2be6565c781b7e09a65574aa6d54fca7caa5cda0"
88
88
  }