@descope/flow-components 3.3.2 → 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 +30 -5
- 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);
|
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"
|