@descope/flow-components 3.27.7 → 3.27.9
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/734.js +1 -1
- package/dist/fm/734.js.map +1 -1
- package/dist/fm/761.js +1 -1
- package/dist/fm/761.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 +13 -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
|
@@ -100863,6 +100863,8 @@ function requireIndex_cjs () {
|
|
|
100863
100863
|
vaadin-password-field::part(input-field) {
|
|
100864
100864
|
box-sizing: border-box;
|
|
100865
100865
|
padding: 0;
|
|
100866
|
+
/* keep the input inside the border, so browser autofill paint does not cover it (same as text-field) */
|
|
100867
|
+
overflow: hidden;
|
|
100866
100868
|
}
|
|
100867
100869
|
vaadin-password-field[focus-ring]::part(input-field) {
|
|
100868
100870
|
box-shadow: none;
|
|
@@ -111532,20 +111534,26 @@ descope-enriched-text {
|
|
|
111532
111534
|
const componentName$a = getComponentName$1('scopes-list');
|
|
111533
111535
|
const variants = ['checkbox', 'switch'];
|
|
111534
111536
|
|
|
111537
|
+
// we return a template instead of a string, and fill the item data with DOM APIs, so we can avoid XSS
|
|
111535
111538
|
const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
|
111536
111539
|
const ComponentClass = ref.variant === 'checkbox' ? CheckboxClass : SwitchToggleClass;
|
|
111537
111540
|
|
|
111538
|
-
|
|
111541
|
+
const template = document.createElement('template');
|
|
111542
|
+
template.innerHTML = `
|
|
111539
111543
|
<${ComponentClass.componentName}
|
|
111540
111544
|
bordered="true"
|
|
111541
111545
|
size=${ref.size}
|
|
111542
|
-
label="${desc}"
|
|
111543
|
-
data-id="${id}"
|
|
111544
|
-
readonly="${required || ref.isReadOnly}"
|
|
111545
|
-
required="${required}"
|
|
111546
111546
|
checked="true"
|
|
111547
111547
|
></${ComponentClass.componentName}>
|
|
111548
111548
|
`;
|
|
111549
|
+
|
|
111550
|
+
const item = template.content.firstElementChild;
|
|
111551
|
+
item.setAttribute('label', desc);
|
|
111552
|
+
item.setAttribute('data-id', id);
|
|
111553
|
+
item.setAttribute('readonly', `${required || ref.isReadOnly}`);
|
|
111554
|
+
item.setAttribute('required', `${required}`);
|
|
111555
|
+
|
|
111556
|
+
return template;
|
|
111549
111557
|
};
|
|
111550
111558
|
|
|
111551
111559
|
class RawScopesList extends createBaseClass({ componentName: componentName$a, baseSelector: 'div' }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.27.
|
|
3
|
+
"version": "3.27.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"webpack-subresource-integrity": "5.2.0-rc.1"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@descope/web-components-ui": "3.27.
|
|
101
|
+
"@descope/web-components-ui": "3.27.9"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"react": ">= 18"
|