@descope-ui/descope-recovery-codes 2.2.16 → 2.2.18
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.2.18](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.17...web-components-ui-2.2.18) (2026-01-06)
|
|
6
|
+
|
|
7
|
+
## [2.2.17](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.16...web-components-ui-2.2.17) (2026-01-05)
|
|
8
|
+
|
|
5
9
|
## [2.2.16](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.15...web-components-ui-2.2.16) (2025-12-28)
|
|
6
10
|
|
|
7
11
|
## [2.2.15](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.14...web-components-ui-2.2.15) (2025-12-23)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope-ui/descope-recovery-codes",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.18",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./src/component/index.js"
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@playwright/test": "1.38.1",
|
|
17
|
-
"e2e-utils": "2.2.
|
|
18
|
-
"test-drivers": "2.2.
|
|
17
|
+
"e2e-utils": "2.2.18",
|
|
18
|
+
"test-drivers": "2.2.18"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@vaadin/icon": "24.3.4",
|
|
22
22
|
"@vaadin/icons": "24.3.4",
|
|
23
|
-
"@descope-ui/common": "2.2.
|
|
24
|
-
"@descope-ui/theme-globals": "2.2.
|
|
25
|
-
"@descope-ui/descope-text": "2.2.
|
|
23
|
+
"@descope-ui/common": "2.2.18",
|
|
24
|
+
"@descope-ui/theme-globals": "2.2.18",
|
|
25
|
+
"@descope-ui/descope-text": "2.2.18"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"link-workspace-packages": false
|
|
@@ -44,8 +44,8 @@ class RawRecoveryCodes extends createBaseClass({
|
|
|
44
44
|
`;
|
|
45
45
|
|
|
46
46
|
this.list = this.shadowRoot.querySelector('.list');
|
|
47
|
-
this.icon = this.shadowRoot.querySelector('.icon')
|
|
48
|
-
this.iconWrapper = this.shadowRoot.querySelector('.icon-wrapper')
|
|
47
|
+
this.icon = this.shadowRoot.querySelector('.icon');
|
|
48
|
+
this.iconWrapper = this.shadowRoot.querySelector('.icon-wrapper');
|
|
49
49
|
|
|
50
50
|
injectStyle(
|
|
51
51
|
`
|
|
@@ -99,7 +99,6 @@ class RawRecoveryCodes extends createBaseClass({
|
|
|
99
99
|
init() {
|
|
100
100
|
super.init();
|
|
101
101
|
|
|
102
|
-
|
|
103
102
|
this.icon.addEventListener('click', this.onCopy.bind(this));
|
|
104
103
|
|
|
105
104
|
forwardAttrs(this, this.iconWrapper, { includeAttrs: ['variant', 'mode'] });
|
|
@@ -124,7 +123,7 @@ class RawRecoveryCodes extends createBaseClass({
|
|
|
124
123
|
onReadOnly(isReadOnly) {
|
|
125
124
|
this.icon.classList.toggle('readonly', isReadOnly);
|
|
126
125
|
}
|
|
127
|
-
|
|
126
|
+
|
|
128
127
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
129
128
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
130
129
|
|
|
@@ -145,20 +144,20 @@ export const RecoveryCodesClass = compose(
|
|
|
145
144
|
{ selector: () => ':host', property: 'direction' },
|
|
146
145
|
{
|
|
147
146
|
selector: () => TextClass.componentName,
|
|
148
|
-
property: TextClass.cssVarList.hostDirection
|
|
147
|
+
property: TextClass.cssVarList.hostDirection,
|
|
149
148
|
},
|
|
150
149
|
],
|
|
151
150
|
textAlign: { selector: () => '.list', property: 'align-items' },
|
|
152
151
|
iconColor: { selector: () => 'vaadin-icon', property: 'color' },
|
|
153
152
|
iconSize: { selector: () => 'vaadin-icon', property: 'font-size' },
|
|
154
153
|
iconGap: { selector: () => '.wrapper', property: 'gap' },
|
|
155
|
-
bulletGap: { selector: () => 'descope-text span', property: 'gap' }
|
|
154
|
+
bulletGap: { selector: () => 'descope-text span', property: 'gap' },
|
|
156
155
|
},
|
|
157
156
|
}),
|
|
158
157
|
createDynamicDataMixin({
|
|
159
158
|
itemRenderer,
|
|
160
159
|
rerenderAttrsList: ['variant', 'mode'],
|
|
161
|
-
targetSelector: '.list'
|
|
160
|
+
targetSelector: '.list',
|
|
162
161
|
}),
|
|
163
162
|
draggableMixin,
|
|
164
163
|
componentNameValidationMixin,
|