@descope/web-components-ui 1.0.272 → 1.0.273

Sign up to get free protection for your applications and to get access to all the features.
@@ -2636,7 +2636,7 @@ const button = {
2636
2636
  [helperVars$3.main]: globalRefs$i.colors.surface.main,
2637
2637
  [helperVars$3.dark]: globalRefs$i.colors.surface.dark,
2638
2638
  [helperVars$3.light]: globalRefs$i.colors.surface.light,
2639
- [helperVars$3.contrast]: globalRefs$i.colors.surface.contrast,
2639
+ [helperVars$3.contrast]: globalRefs$i.colors.surface.light,
2640
2640
  },
2641
2641
 
2642
2642
  variant: {
@@ -2997,7 +2997,7 @@ const [theme$1, refs, vars$w] = createHelperVars(
2997
2997
  borderColor: globalRefs$h.colors.surface.main,
2998
2998
  valueTextColor: globalRefs$h.colors.surface.dark,
2999
2999
  placeholderTextColor: globalRefs$h.colors.surface.dark,
3000
- backgroundColor: globalRefs$h.colors.surface.main,
3000
+ backgroundColor: globalRefs$h.colors.surface.light,
3001
3001
  },
3002
3002
  },
3003
3003
  componentName$D
@@ -10020,6 +10020,9 @@ const NotificationMixin = (superclass) =>
10020
10020
  'descope-notification-container'
10021
10021
  );
10022
10022
 
10023
+ // we are overriding the container position to be absolute because we want to keep in inside the flow/widget boundaries
10024
+ NotificationMixinClass._container.style.position = 'absolute';
10025
+
10023
10026
  // we're adding the container to body to avoid Vaadin's container's `openChanged`
10024
10027
  // from breaking when trying to remove it directly from the body.
10025
10028
  document.body.appendChild(NotificationMixinClass._container);