@descope/flow-components 3.3.0 → 3.3.2
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/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/477.js +1 -1
- package/dist/fm/477.js.map +1 -1
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +1 -1
- package/dist/fm/mf-stats.json +1 -1
- package/dist/index.cjs.js +18 -9
- package/package.json +2 -2
package/dist/fm/mf-manifest.json
CHANGED
package/dist/fm/mf-stats.json
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -95199,6 +95199,7 @@ descope-enriched-text {
|
|
|
95199
95199
|
'allow-alphanumeric-input',
|
|
95200
95200
|
'format-value',
|
|
95201
95201
|
'strict-validation',
|
|
95202
|
+
'phone-input-type',
|
|
95202
95203
|
],
|
|
95203
95204
|
});
|
|
95204
95205
|
}
|
|
@@ -95545,6 +95546,7 @@ descope-enriched-text {
|
|
|
95545
95546
|
'format-value',
|
|
95546
95547
|
'strict-validation',
|
|
95547
95548
|
'data-errormessage-type-mismatch',
|
|
95549
|
+
'phone-input-type',
|
|
95548
95550
|
],
|
|
95549
95551
|
});
|
|
95550
95552
|
}
|
|
@@ -102272,8 +102274,10 @@ descope-enriched-text {
|
|
|
102272
102274
|
#adjustPopoverPosition() {
|
|
102273
102275
|
const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
|
|
102274
102276
|
|
|
102275
|
-
//
|
|
102276
|
-
this.#popoverPosStylesheet?.
|
|
102277
|
+
// Reset any previous transform so getBoundingClientRect measures the natural position
|
|
102278
|
+
this.#popoverPosStylesheet?.replaceSync(
|
|
102279
|
+
`vaadin-popover-overlay::part(overlay) { transform: none; }`
|
|
102280
|
+
);
|
|
102277
102281
|
|
|
102278
102282
|
const windowRect = document.body.getBoundingClientRect();
|
|
102279
102283
|
const inputRect = this.getBoundingClientRect();
|
|
@@ -102291,14 +102295,17 @@ descope-enriched-text {
|
|
|
102291
102295
|
newOffset = Math.min(Math.abs(offset), availableLeft) * -1;
|
|
102292
102296
|
}
|
|
102293
102297
|
|
|
102294
|
-
|
|
102295
|
-
`
|
|
102298
|
+
const css = `
|
|
102296
102299
|
vaadin-popover-overlay::part(overlay) {
|
|
102297
102300
|
transform: translateX(${newOffset}px);
|
|
102298
102301
|
}
|
|
102299
|
-
|
|
102300
|
-
|
|
102301
|
-
)
|
|
102302
|
+
`;
|
|
102303
|
+
|
|
102304
|
+
if (this.#popoverPosStylesheet) {
|
|
102305
|
+
this.#popoverPosStylesheet.replaceSync(css);
|
|
102306
|
+
} else {
|
|
102307
|
+
this.#popoverPosStylesheet = injectStyle(css, popover);
|
|
102308
|
+
}
|
|
102302
102309
|
}
|
|
102303
102310
|
|
|
102304
102311
|
#getPopoverContent() {
|
|
@@ -103808,6 +103815,7 @@ descope-enriched-text {
|
|
|
103808
103815
|
'phone-minlength',
|
|
103809
103816
|
'phone-format-value',
|
|
103810
103817
|
'phone-strict-validation',
|
|
103818
|
+
'phone-input-type',
|
|
103811
103819
|
'data-errormessage-value-missing-phone',
|
|
103812
103820
|
],
|
|
103813
103821
|
inputBox: [
|
|
@@ -103816,6 +103824,7 @@ descope-enriched-text {
|
|
|
103816
103824
|
'phone-minlength',
|
|
103817
103825
|
'phone-format-value',
|
|
103818
103826
|
'phone-strict-validation',
|
|
103827
|
+
'phone-input-type',
|
|
103819
103828
|
'data-errormessage-value-missing-phone',
|
|
103820
103829
|
],
|
|
103821
103830
|
},
|
|
@@ -103855,8 +103864,8 @@ descope-enriched-text {
|
|
|
103855
103864
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
103856
103865
|
<div class="wrapper">
|
|
103857
103866
|
<descope-email-field external-input="${this.isExternalInput}"></descope-email-field>
|
|
103858
|
-
<descope-phone-field allow-alphanumeric-input="true"></descope-phone-field>
|
|
103859
|
-
<descope-phone-input-box-field allow-alphanumeric-input="true"></descope-phone-input-box-field>
|
|
103867
|
+
<descope-phone-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-field>
|
|
103868
|
+
<descope-phone-input-box-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-input-box-field>
|
|
103860
103869
|
</div>
|
|
103861
103870
|
`;
|
|
103862
103871
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"webpack-subresource-integrity": "5.2.0-rc.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@descope/web-components-ui": "3.3.
|
|
100
|
+
"@descope/web-components-ui": "3.3.2"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|