@descope/flow-components 3.3.1 → 3.3.3
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 +42 -12
- 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
|
@@ -83521,7 +83521,16 @@ function requireIndex_cjs () {
|
|
|
83521
83521
|
|
|
83522
83522
|
const componentName$1f = getComponentName('link');
|
|
83523
83523
|
|
|
83524
|
-
|
|
83524
|
+
const observedAttrs$6 = ['href', 'readonly'];
|
|
83525
|
+
|
|
83526
|
+
class RawLink extends createBaseClass$1({
|
|
83527
|
+
componentName: componentName$1f,
|
|
83528
|
+
baseSelector: ':host a',
|
|
83529
|
+
}) {
|
|
83530
|
+
static get observedAttributes() {
|
|
83531
|
+
return observedAttrs$6.concat(super.observedAttributes || []);
|
|
83532
|
+
}
|
|
83533
|
+
|
|
83525
83534
|
constructor() {
|
|
83526
83535
|
super();
|
|
83527
83536
|
|
|
@@ -83554,10 +83563,12 @@ function requireIndex_cjs () {
|
|
|
83554
83563
|
white-space: nowrap;
|
|
83555
83564
|
}
|
|
83556
83565
|
`,
|
|
83557
|
-
this
|
|
83566
|
+
this,
|
|
83558
83567
|
);
|
|
83559
83568
|
|
|
83560
|
-
|
|
83569
|
+
this.anchor = this.shadowRoot.querySelector('a');
|
|
83570
|
+
|
|
83571
|
+
forwardAttrs(this, this.anchor, {
|
|
83561
83572
|
includeAttrs: ['href', 'target', 'tooltip'],
|
|
83562
83573
|
mapAttrs: {
|
|
83563
83574
|
tooltip: 'title',
|
|
@@ -83567,6 +83578,16 @@ function requireIndex_cjs () {
|
|
|
83567
83578
|
forwardAttrs(this, this.shadowRoot.querySelector('descope-text'), {
|
|
83568
83579
|
includeAttrs: ['mode', 'variant'],
|
|
83569
83580
|
});
|
|
83581
|
+
|
|
83582
|
+
this.anchor.addEventListener('click', (e) => {
|
|
83583
|
+
if (this.readOnly) {
|
|
83584
|
+
e.preventDefault();
|
|
83585
|
+
}
|
|
83586
|
+
});
|
|
83587
|
+
}
|
|
83588
|
+
|
|
83589
|
+
get readOnly() {
|
|
83590
|
+
return this.getAttribute('readonly') === 'true';
|
|
83570
83591
|
}
|
|
83571
83592
|
}
|
|
83572
83593
|
|
|
@@ -83586,7 +83607,11 @@ function requireIndex_cjs () {
|
|
|
83586
83607
|
hostWidth: { ...host$v, property: 'width' },
|
|
83587
83608
|
hostDirection: { ...text$2, property: 'direction' },
|
|
83588
83609
|
textAlign: wrapper$1,
|
|
83589
|
-
textDecoration: {
|
|
83610
|
+
textDecoration: {
|
|
83611
|
+
...link$3,
|
|
83612
|
+
property: 'text-decoration',
|
|
83613
|
+
fallback: 'none',
|
|
83614
|
+
},
|
|
83590
83615
|
textColor: [
|
|
83591
83616
|
{ ...anchor, property: 'color' },
|
|
83592
83617
|
{ ...text$2, property: TextClass.cssVarList.textColor },
|
|
@@ -83595,7 +83620,7 @@ function requireIndex_cjs () {
|
|
|
83595
83620
|
},
|
|
83596
83621
|
}),
|
|
83597
83622
|
draggableMixin$1,
|
|
83598
|
-
componentNameValidationMixin$1
|
|
83623
|
+
componentNameValidationMixin$1,
|
|
83599
83624
|
)(RawLink);
|
|
83600
83625
|
|
|
83601
83626
|
const globalRefs$F = getThemeRefs$1(globals);
|
|
@@ -102274,8 +102299,10 @@ descope-enriched-text {
|
|
|
102274
102299
|
#adjustPopoverPosition() {
|
|
102275
102300
|
const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
|
|
102276
102301
|
|
|
102277
|
-
//
|
|
102278
|
-
this.#popoverPosStylesheet?.
|
|
102302
|
+
// Reset any previous transform so getBoundingClientRect measures the natural position
|
|
102303
|
+
this.#popoverPosStylesheet?.replaceSync(
|
|
102304
|
+
`vaadin-popover-overlay::part(overlay) { transform: none; }`
|
|
102305
|
+
);
|
|
102279
102306
|
|
|
102280
102307
|
const windowRect = document.body.getBoundingClientRect();
|
|
102281
102308
|
const inputRect = this.getBoundingClientRect();
|
|
@@ -102293,14 +102320,17 @@ descope-enriched-text {
|
|
|
102293
102320
|
newOffset = Math.min(Math.abs(offset), availableLeft) * -1;
|
|
102294
102321
|
}
|
|
102295
102322
|
|
|
102296
|
-
|
|
102297
|
-
`
|
|
102323
|
+
const css = `
|
|
102298
102324
|
vaadin-popover-overlay::part(overlay) {
|
|
102299
102325
|
transform: translateX(${newOffset}px);
|
|
102300
102326
|
}
|
|
102301
|
-
|
|
102302
|
-
|
|
102303
|
-
)
|
|
102327
|
+
`;
|
|
102328
|
+
|
|
102329
|
+
if (this.#popoverPosStylesheet) {
|
|
102330
|
+
this.#popoverPosStylesheet.replaceSync(css);
|
|
102331
|
+
} else {
|
|
102332
|
+
this.#popoverPosStylesheet = injectStyle(css, popover);
|
|
102333
|
+
}
|
|
102304
102334
|
}
|
|
102305
102335
|
|
|
102306
102336
|
#getPopoverContent() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
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.3"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|