@descope/flow-components 3.11.4 → 3.11.6
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/30.js +1 -1
- package/dist/fm/30.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.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 +40 -19
- package/dist/index.esm.js +3 -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
|
@@ -82715,8 +82715,6 @@ function requireIndex_cjs () {
|
|
|
82715
82715
|
}
|
|
82716
82716
|
};
|
|
82717
82717
|
|
|
82718
|
-
/* eslint-disable no-use-before-define */
|
|
82719
|
-
|
|
82720
82718
|
const componentName$1n = getComponentName('image');
|
|
82721
82719
|
|
|
82722
82720
|
const srcAttrs = ['src', 'src-dark'];
|
|
@@ -82796,7 +82794,7 @@ function requireIndex_cjs () {
|
|
|
82796
82794
|
|
|
82797
82795
|
// in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
|
|
82798
82796
|
// with the value from the `st-fill` attribute
|
|
82799
|
-
|
|
82797
|
+
|
|
82800
82798
|
updateFillColor(node) {
|
|
82801
82799
|
// set fill to root node and all its relevant selectors
|
|
82802
82800
|
const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
|
|
@@ -82856,6 +82854,8 @@ function requireIndex_cjs () {
|
|
|
82856
82854
|
createStyleMixin$1({
|
|
82857
82855
|
mappings: {
|
|
82858
82856
|
fill: [{}, { property: ImageClass.cssVarList.fill }],
|
|
82857
|
+
height: { selector: () => ':host' },
|
|
82858
|
+
width: { selector: () => ':host' },
|
|
82859
82859
|
},
|
|
82860
82860
|
}),
|
|
82861
82861
|
draggableMixin$1,
|
|
@@ -82867,10 +82867,12 @@ function requireIndex_cjs () {
|
|
|
82867
82867
|
style: () => `
|
|
82868
82868
|
:host {
|
|
82869
82869
|
display: inline-flex;
|
|
82870
|
+
align-items: center;
|
|
82871
|
+
justify-content: center;
|
|
82870
82872
|
max-height: 100%;
|
|
82871
82873
|
}
|
|
82872
82874
|
`,
|
|
82873
|
-
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
82875
|
+
excludeAttrsSync: ['tabindex', 'class', 'style', 'st-height', 'st-width'],
|
|
82874
82876
|
componentName: componentName$1m,
|
|
82875
82877
|
}),
|
|
82876
82878
|
);
|
|
@@ -91860,7 +91862,7 @@ function requireIndex_cjs () {
|
|
|
91860
91862
|
};
|
|
91861
91863
|
|
|
91862
91864
|
const populateRemoveButton = (template, id, ref) => {
|
|
91863
|
-
const button = template.content.querySelector('.remove-button');
|
|
91865
|
+
const button = template.content.querySelector('.remove-button-content');
|
|
91864
91866
|
button.dataset.passkeyId = id;
|
|
91865
91867
|
const clonedSlottedContent = cloneSlottedNodes(ref, 'remove-button');
|
|
91866
91868
|
if (clonedSlottedContent) button.append(clonedSlottedContent);
|
|
@@ -91897,7 +91899,14 @@ function requireIndex_cjs () {
|
|
|
91897
91899
|
<descope-text class="item-name" variant="body1" mode="primary"></descope-text>
|
|
91898
91900
|
</span>
|
|
91899
91901
|
<span class="item-panel">
|
|
91900
|
-
${
|
|
91902
|
+
${
|
|
91903
|
+
ref.allowRemove
|
|
91904
|
+
? `<descope-link variant="text" mode="primary" size="md" ellipsis="true" data-action="remove-passkey" class="remove-button">
|
|
91905
|
+
<div class="remove-button-content">
|
|
91906
|
+
</div>
|
|
91907
|
+
</descope-link>`
|
|
91908
|
+
: `<descope-icon src="${checkmark}"></descope-icon>`
|
|
91909
|
+
}
|
|
91901
91910
|
</span>
|
|
91902
91911
|
</div>
|
|
91903
91912
|
<div class="meta">
|
|
@@ -91969,6 +91978,10 @@ function requireIndex_cjs () {
|
|
|
91969
91978
|
|
|
91970
91979
|
injectStyle(
|
|
91971
91980
|
`
|
|
91981
|
+
.remove-button-content {
|
|
91982
|
+
display: flex;
|
|
91983
|
+
align-items: center;
|
|
91984
|
+
}
|
|
91972
91985
|
:host {
|
|
91973
91986
|
display: inline-block;
|
|
91974
91987
|
}
|
|
@@ -91998,11 +92011,6 @@ function requireIndex_cjs () {
|
|
|
91998
92011
|
white-space: nowrap;
|
|
91999
92012
|
}
|
|
92000
92013
|
|
|
92001
|
-
slot[name="method-icon"] {
|
|
92002
|
-
display: inline-flex;
|
|
92003
|
-
align-items: center;
|
|
92004
|
-
}
|
|
92005
|
-
|
|
92006
92014
|
.descope-list-item {
|
|
92007
92015
|
min-width: 0;
|
|
92008
92016
|
}
|
|
@@ -92066,7 +92074,6 @@ function requireIndex_cjs () {
|
|
|
92066
92074
|
display: flex;
|
|
92067
92075
|
width: 100%;
|
|
92068
92076
|
}
|
|
92069
|
-
|
|
92070
92077
|
.hidden {
|
|
92071
92078
|
display: none
|
|
92072
92079
|
}
|
|
@@ -92188,8 +92195,10 @@ function requireIndex_cjs () {
|
|
|
92188
92195
|
}
|
|
92189
92196
|
}
|
|
92190
92197
|
|
|
92191
|
-
const { host: host$k } = {
|
|
92198
|
+
const { host: host$k, methodIconSlotted, addIconSlotted } = {
|
|
92192
92199
|
host: { selector: () => ':host' },
|
|
92200
|
+
methodIconSlotted: { selector: () => 'slot[name="method-icon"]::slotted(*)' },
|
|
92201
|
+
addIconSlotted: { selector: () => 'slot[name="button-icon"]::slotted(*)' },
|
|
92193
92202
|
};
|
|
92194
92203
|
|
|
92195
92204
|
const UserPasskeysClass = compose(
|
|
@@ -92313,10 +92322,19 @@ function requireIndex_cjs () {
|
|
|
92313
92322
|
},
|
|
92314
92323
|
|
|
92315
92324
|
removeButtonGap: {
|
|
92316
|
-
selector: () =>
|
|
92317
|
-
|
|
92318
|
-
property: 'margin-inline-end',
|
|
92325
|
+
selector: () => '.remove-button-content',
|
|
92326
|
+
property: 'gap',
|
|
92319
92327
|
},
|
|
92328
|
+
|
|
92329
|
+
iconColor: {
|
|
92330
|
+
selector: () => ButtonClass.componentName,
|
|
92331
|
+
property: ButtonClass.cssVarList.iconColor,
|
|
92332
|
+
},
|
|
92333
|
+
|
|
92334
|
+
iconSize: [
|
|
92335
|
+
{ ...methodIconSlotted, property: 'height' },
|
|
92336
|
+
{ ...addIconSlotted, property: 'height' },
|
|
92337
|
+
],
|
|
92320
92338
|
},
|
|
92321
92339
|
}),
|
|
92322
92340
|
draggableMixin$1,
|
|
@@ -92363,6 +92381,9 @@ function requireIndex_cjs () {
|
|
|
92363
92381
|
|
|
92364
92382
|
[vars$I.removeButtonGap]: globals.spacing.sm,
|
|
92365
92383
|
|
|
92384
|
+
[vars$I.iconSize]: '1.5em',
|
|
92385
|
+
[vars$I.iconColor]: 'currentcolor',
|
|
92386
|
+
|
|
92366
92387
|
_fullWidth: {
|
|
92367
92388
|
[vars$I.hostWidth]: '100%',
|
|
92368
92389
|
},
|
|
@@ -108314,9 +108335,9 @@ const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, of
|
|
|
108314
108335
|
});
|
|
108315
108336
|
|
|
108316
108337
|
const UserPasskeys = React__default.default.forwardRef(({ allowRemove, createdAtLabel, addButtonLabel, removeButtonLabel, methodIcon, methodIconDark, buttonIcon, buttonIconDark, removeIcon, removeIconDark, ...props }, ref) => (React__default.default.createElement("descope-user-passkeys", { "allow-remove": allowRemove, "created-at-label": createdAtLabel, "add-passkey-button-label": addButtonLabel, ...props, ref: ref },
|
|
108317
|
-
methodIcon && methodIconDark && (React__default.default.createElement(Icon, { icon: methodIcon, "src-dark": methodIconDark, slot: "method-icon" })),
|
|
108318
|
-
buttonIcon && buttonIconDark && (React__default.default.createElement(Icon, { icon: buttonIcon, "src-dark": buttonIconDark, slot: "button-icon" })),
|
|
108319
|
-
allowRemove && removeIcon && removeIconDark && (React__default.default.createElement(Icon, { icon: removeIcon, "src-dark": removeIconDark, slot: "remove-button" })),
|
|
108338
|
+
methodIcon && methodIconDark && (React__default.default.createElement(Icon, { icon: methodIcon, "src-dark": methodIconDark, slot: "method-icon", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
108339
|
+
buttonIcon && buttonIconDark && (React__default.default.createElement(Icon, { icon: buttonIcon, "src-dark": buttonIconDark, slot: "button-icon", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
108340
|
+
allowRemove && removeIcon && removeIconDark && (React__default.default.createElement(Icon, { icon: removeIcon, "src-dark": removeIconDark, slot: "remove-button", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
108320
108341
|
allowRemove && React__default.default.createElement("span", { slot: "remove-button" }, removeButtonLabel))));
|
|
108321
108342
|
|
|
108322
108343
|
const globalsThemeToStyle = index_cjsExports.globalsThemeToStyle;
|
package/dist/index.esm.js
CHANGED
|
@@ -677,9 +677,9 @@ const LastAuthBadge = React.forwardRef(({ children, offsetX, offsetY, badgeLabel
|
|
|
677
677
|
});
|
|
678
678
|
|
|
679
679
|
const UserPasskeys = React.forwardRef(({ allowRemove, createdAtLabel, addButtonLabel, removeButtonLabel, methodIcon, methodIconDark, buttonIcon, buttonIconDark, removeIcon, removeIconDark, ...props }, ref) => (React.createElement("descope-user-passkeys", { "allow-remove": allowRemove, "created-at-label": createdAtLabel, "add-passkey-button-label": addButtonLabel, ...props, ref: ref },
|
|
680
|
-
methodIcon && methodIconDark && (React.createElement(Icon, { icon: methodIcon, "src-dark": methodIconDark, slot: "method-icon" })),
|
|
681
|
-
buttonIcon && buttonIconDark && (React.createElement(Icon, { icon: buttonIcon, "src-dark": buttonIconDark, slot: "button-icon" })),
|
|
682
|
-
allowRemove && removeIcon && removeIconDark && (React.createElement(Icon, { icon: removeIcon, "src-dark": removeIconDark, slot: "remove-button" })),
|
|
680
|
+
methodIcon && methodIconDark && (React.createElement(Icon, { icon: methodIcon, "src-dark": methodIconDark, slot: "method-icon", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
681
|
+
buttonIcon && buttonIconDark && (React.createElement(Icon, { icon: buttonIcon, "src-dark": buttonIconDark, slot: "button-icon", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
682
|
+
allowRemove && removeIcon && removeIconDark && (React.createElement(Icon, { icon: removeIcon, "src-dark": removeIconDark, slot: "remove-button", "st-fill": "currentcolor", "st-height": "1.5em" })),
|
|
683
683
|
allowRemove && React.createElement("span", { slot: "remove-button" }, removeButtonLabel))));
|
|
684
684
|
|
|
685
685
|
const globalsThemeToStyle = globalsThemeToStyle$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.6",
|
|
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.11.
|
|
100
|
+
"@descope/web-components-ui": "3.11.6"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|