@blockquote-web-components/blockquote-dialog 1.2.0 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-dialog",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Webcomponent blockquote-dialog following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -96,20 +96,18 @@
96
96
  }
97
97
  },
98
98
  "dependencies": {
99
- "@blockquote-web-components/blockquote-directive-ariaidref-slot": "^1.2.0",
100
- "@blockquote/dev-utilities": "^1.0.0",
101
- "@material/web": "^1.4.1",
102
- "lit": "^3.2.0"
99
+ "@blockquote-web-components/blockquote-directive-ariaidref-slot": "^1.2.2",
100
+ "@blockquote/frontend-utilities": "^1.0.2",
101
+ "lit": "^3.2.1"
103
102
  },
104
103
  "devDependencies": {
105
- "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.10.3",
106
- "@blockquote-web-components/blockquote-base-embedded-webview": "^1.12.0",
107
- "@blockquote-web-components/blockquote-foundations-sass": "^1.1.5",
108
- "sinon": "^18.0.0"
104
+ "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.10.5",
105
+ "@blockquote-web-components/blockquote-base-embedded-webview": "^1.12.2",
106
+ "@blockquote-web-components/blockquote-foundations-sass": "^1.1.5"
109
107
  },
110
108
  "publishConfig": {
111
109
  "access": "public"
112
110
  },
113
111
  "customElements": "custom-elements.json",
114
- "gitHead": "aa9ec4509acdc730eabf6eb87cf3f6e1e86a1688"
112
+ "gitHead": "4d4b2574705208790930417d2df28e158bac3bf2"
115
113
  }
@@ -5,9 +5,9 @@ import {
5
5
  redispatchEvent,
6
6
  isElementInvisible,
7
7
  isFocusable,
8
- getFirstAndLastFocusableChildren,
8
+ getFirstAndLastItems as getFirstAndLastFocusableChildren,
9
9
  walkComposedTree,
10
- } from '@blockquote/dev-utilities';
10
+ } from '@blockquote/frontend-utilities';
11
11
  import {styles} from './styles/blockquote-dialog-styles.css.js';
12
12
  import {styles as animations} from './styles/blockqoute-dialog-animations-styles.css.js';
13
13
 
@@ -52,7 +52,12 @@ import {styles as animations} from './styles/blockqoute-dialog-animations-styles
52
52
  * @slot - This element has a slot
53
53
  */
54
54
  export class BlockquoteDialog extends LitElement {
55
- treewalker = walkComposedTree(this, NodeFilter.SHOW_ELEMENT, isFocusable, isElementInvisible);
55
+ treewalker = walkComposedTree({
56
+ root: this,
57
+ whatToShow: NodeFilter.SHOW_ELEMENT,
58
+ filterAccept: isFocusable,
59
+ filterReject: isElementInvisible,
60
+ });
56
61
 
57
62
  #open = false;
58
63