@descope/web-components-ui 1.0.261 → 1.0.263

Sign up to get free protection for your applications and to get access to all the features.
@@ -1020,6 +1020,7 @@ const createProxy = ({
1020
1020
  excludeAttrsSync = [],
1021
1021
  includeAttrsSync = [],
1022
1022
  includeForwardProps = [],
1023
+ delegatesFocus = true,
1023
1024
  }) => {
1024
1025
  class ProxyClass extends createBaseClass({ componentName, baseSelector: wrappedEleName }) {
1025
1026
  #dispatchBlur = createDispatchEvent.bind(this, 'blur');
@@ -1027,7 +1028,7 @@ const createProxy = ({
1027
1028
  #dispatchFocus = createDispatchEvent.bind(this, 'focus');
1028
1029
 
1029
1030
  constructor() {
1030
- super().attachShadow({ mode: 'open', delegatesFocus: true }).innerHTML = `
1031
+ super().attachShadow({ mode: 'open', delegatesFocus }).innerHTML = `
1031
1032
  <style id="create-proxy">${isFunction(style) ? style() : style}</style>
1032
1033
  <${wrappedEleName}>
1033
1034
  ${slots
@@ -8769,6 +8770,7 @@ const GridClass = compose(
8769
8770
  GridMixin
8770
8771
  )(
8771
8772
  createProxy({
8773
+ delegatesFocus: false,
8772
8774
  slots: [''],
8773
8775
  wrappedEleName: 'vaadin-grid',
8774
8776
  style: () => `