@descope/flow-components 3.3.2 → 3.3.4
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 +45 -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
|
@@ -82883,6 +82883,7 @@ function requireIndex_cjs () {
|
|
|
82883
82883
|
hostDirection: { ...host$x, property: 'direction' },
|
|
82884
82884
|
fontSize: {},
|
|
82885
82885
|
fontFamily: {},
|
|
82886
|
+
fontWeight: {},
|
|
82886
82887
|
|
|
82887
82888
|
cursor: {},
|
|
82888
82889
|
backgroundColor: {},
|
|
@@ -82897,7 +82898,10 @@ function requireIndex_cjs () {
|
|
|
82897
82898
|
borderStyle: {},
|
|
82898
82899
|
borderWidth: {},
|
|
82899
82900
|
|
|
82900
|
-
verticalPadding: [
|
|
82901
|
+
verticalPadding: [
|
|
82902
|
+
{ property: 'padding-top' },
|
|
82903
|
+
{ property: 'padding-bottom' },
|
|
82904
|
+
],
|
|
82901
82905
|
horizontalPadding: [
|
|
82902
82906
|
{ property: 'padding-right', fallback: '0.875em' },
|
|
82903
82907
|
{ property: 'padding-left', fallback: '0.875em' },
|
|
@@ -82905,9 +82909,9 @@ function requireIndex_cjs () {
|
|
|
82905
82909
|
|
|
82906
82910
|
labelTextColor: { property: 'color' },
|
|
82907
82911
|
iconColor: {
|
|
82908
|
-
|
|
82909
|
-
|
|
82910
|
-
|
|
82912
|
+
selector: () => `::slotted(*)`,
|
|
82913
|
+
property: IconClass.cssVarList.fill,
|
|
82914
|
+
},
|
|
82911
82915
|
labelTextDecoration: { ...label$a, property: 'text-decoration' },
|
|
82912
82916
|
labelSpacing: { ...label$a, property: 'gap' },
|
|
82913
82917
|
textAlign: { ...label$a, property: 'justify-content', fallback: 'center' },
|
|
@@ -82920,7 +82924,7 @@ function requireIndex_cjs () {
|
|
|
82920
82924
|
}),
|
|
82921
82925
|
clickableMixin,
|
|
82922
82926
|
draggableMixin$1,
|
|
82923
|
-
componentNameValidationMixin$1
|
|
82927
|
+
componentNameValidationMixin$1,
|
|
82924
82928
|
)(
|
|
82925
82929
|
createProxy$1({
|
|
82926
82930
|
slots: ['', 'prefix', 'label', 'suffix'],
|
|
@@ -82946,7 +82950,7 @@ function requireIndex_cjs () {
|
|
|
82946
82950
|
`,
|
|
82947
82951
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
82948
82952
|
componentName: componentName$1i,
|
|
82949
|
-
})
|
|
82953
|
+
}),
|
|
82950
82954
|
);
|
|
82951
82955
|
|
|
82952
82956
|
const { color, fontSize } = ButtonClass.cssVarList;
|
|
@@ -82993,12 +82997,16 @@ function requireIndex_cjs () {
|
|
|
82993
82997
|
surface: globalRefs$H.colors.surface,
|
|
82994
82998
|
};
|
|
82995
82999
|
|
|
82996
|
-
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
83000
|
+
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
83001
|
+
{ mode },
|
|
83002
|
+
componentName$1i,
|
|
83003
|
+
);
|
|
82997
83004
|
|
|
82998
83005
|
const button = {
|
|
82999
83006
|
...helperTheme$7,
|
|
83000
83007
|
|
|
83001
83008
|
[compVars$9.fontFamily]: globalRefs$H.fonts.font1.family,
|
|
83009
|
+
[compVars$9.fontWeight]: '400',
|
|
83002
83010
|
|
|
83003
83011
|
[compVars$9.cursor]: 'pointer',
|
|
83004
83012
|
[compVars$9.hostHeight]: '3em',
|
|
@@ -83521,7 +83529,16 @@ function requireIndex_cjs () {
|
|
|
83521
83529
|
|
|
83522
83530
|
const componentName$1f = getComponentName('link');
|
|
83523
83531
|
|
|
83524
|
-
|
|
83532
|
+
const observedAttrs$6 = ['href', 'readonly'];
|
|
83533
|
+
|
|
83534
|
+
class RawLink extends createBaseClass$1({
|
|
83535
|
+
componentName: componentName$1f,
|
|
83536
|
+
baseSelector: ':host a',
|
|
83537
|
+
}) {
|
|
83538
|
+
static get observedAttributes() {
|
|
83539
|
+
return observedAttrs$6.concat(super.observedAttributes || []);
|
|
83540
|
+
}
|
|
83541
|
+
|
|
83525
83542
|
constructor() {
|
|
83526
83543
|
super();
|
|
83527
83544
|
|
|
@@ -83554,10 +83571,12 @@ function requireIndex_cjs () {
|
|
|
83554
83571
|
white-space: nowrap;
|
|
83555
83572
|
}
|
|
83556
83573
|
`,
|
|
83557
|
-
this
|
|
83574
|
+
this,
|
|
83558
83575
|
);
|
|
83559
83576
|
|
|
83560
|
-
|
|
83577
|
+
this.anchor = this.shadowRoot.querySelector('a');
|
|
83578
|
+
|
|
83579
|
+
forwardAttrs(this, this.anchor, {
|
|
83561
83580
|
includeAttrs: ['href', 'target', 'tooltip'],
|
|
83562
83581
|
mapAttrs: {
|
|
83563
83582
|
tooltip: 'title',
|
|
@@ -83567,6 +83586,16 @@ function requireIndex_cjs () {
|
|
|
83567
83586
|
forwardAttrs(this, this.shadowRoot.querySelector('descope-text'), {
|
|
83568
83587
|
includeAttrs: ['mode', 'variant'],
|
|
83569
83588
|
});
|
|
83589
|
+
|
|
83590
|
+
this.anchor.addEventListener('click', (e) => {
|
|
83591
|
+
if (this.readOnly) {
|
|
83592
|
+
e.preventDefault();
|
|
83593
|
+
}
|
|
83594
|
+
});
|
|
83595
|
+
}
|
|
83596
|
+
|
|
83597
|
+
get readOnly() {
|
|
83598
|
+
return this.getAttribute('readonly') === 'true';
|
|
83570
83599
|
}
|
|
83571
83600
|
}
|
|
83572
83601
|
|
|
@@ -83586,7 +83615,11 @@ function requireIndex_cjs () {
|
|
|
83586
83615
|
hostWidth: { ...host$v, property: 'width' },
|
|
83587
83616
|
hostDirection: { ...text$2, property: 'direction' },
|
|
83588
83617
|
textAlign: wrapper$1,
|
|
83589
|
-
textDecoration: {
|
|
83618
|
+
textDecoration: {
|
|
83619
|
+
...link$3,
|
|
83620
|
+
property: 'text-decoration',
|
|
83621
|
+
fallback: 'none',
|
|
83622
|
+
},
|
|
83590
83623
|
textColor: [
|
|
83591
83624
|
{ ...anchor, property: 'color' },
|
|
83592
83625
|
{ ...text$2, property: TextClass.cssVarList.textColor },
|
|
@@ -83595,7 +83628,7 @@ function requireIndex_cjs () {
|
|
|
83595
83628
|
},
|
|
83596
83629
|
}),
|
|
83597
83630
|
draggableMixin$1,
|
|
83598
|
-
componentNameValidationMixin$1
|
|
83631
|
+
componentNameValidationMixin$1,
|
|
83599
83632
|
)(RawLink);
|
|
83600
83633
|
|
|
83601
83634
|
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.4",
|
|
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.4"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|