@descope/flow-components 3.10.0 → 3.10.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/741.js +1 -1
- package/dist/fm/741.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 +2 -3
- 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
|
@@ -106547,8 +106547,6 @@ descope-enriched-text {
|
|
|
106547
106547
|
`;
|
|
106548
106548
|
|
|
106549
106549
|
this.defaultSlot = this.shadowRoot.querySelector('slot:not([name])');
|
|
106550
|
-
|
|
106551
|
-
this.#syncComponentState();
|
|
106552
106550
|
}
|
|
106553
106551
|
|
|
106554
106552
|
init() {
|
|
@@ -106606,7 +106604,7 @@ descope-enriched-text {
|
|
|
106606
106604
|
// To support conditional components in flow, we need to sync the 'hidden' className to the root of the component.
|
|
106607
106605
|
// Ideally, this would happen in the SDK, but we resolved to this patch to fix the issue without forcing users to update SDKs.
|
|
106608
106606
|
#syncComponentState() {
|
|
106609
|
-
const hasHidden = this.#anchor
|
|
106607
|
+
const hasHidden = this.#anchor?.classList?.contains('hidden');
|
|
106610
106608
|
this.classList.toggle('hidden', hasHidden);
|
|
106611
106609
|
}
|
|
106612
106610
|
|
|
@@ -106671,6 +106669,7 @@ descope-enriched-text {
|
|
|
106671
106669
|
// empty host rather than reserving its layout box.
|
|
106672
106670
|
#onAnchorChanged() {
|
|
106673
106671
|
this.toggleAttribute('has-anchor', !!this.#anchor);
|
|
106672
|
+
this.#syncComponentState();
|
|
106674
106673
|
}
|
|
106675
106674
|
}
|
|
106676
106675
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.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.10.
|
|
100
|
+
"@descope/web-components-ui": "3.10.2"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|