@descope/flow-components 2.0.437 → 2.0.438
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/index.cjs.js
CHANGED
|
@@ -80269,14 +80269,6 @@ descope-boolean-field-internal {
|
|
|
80269
80269
|
);
|
|
80270
80270
|
|
|
80271
80271
|
if (missingOrInvalidParams.length) {
|
|
80272
|
-
// eslint-disable-next-line no-console
|
|
80273
|
-
console.error(
|
|
80274
|
-
`[${this.constructor.name}] Invalid configuration. Issues with parameters:`,
|
|
80275
|
-
missingOrInvalidParams.map((param) => ({
|
|
80276
|
-
param,
|
|
80277
|
-
value: this.getAttribute(param),
|
|
80278
|
-
})),
|
|
80279
|
-
);
|
|
80280
80272
|
return false;
|
|
80281
80273
|
}
|
|
80282
80274
|
return true;
|
|
@@ -80739,8 +80731,6 @@ descope-boolean-field-internal {
|
|
|
80739
80731
|
const template = this.connectorTemplate;
|
|
80740
80732
|
|
|
80741
80733
|
if (!this.connectorClasses[template]) {
|
|
80742
|
-
// eslint-disable-next-line no-console
|
|
80743
|
-
console.error(`Unsupported connector template: ${template}`);
|
|
80744
80734
|
return;
|
|
80745
80735
|
}
|
|
80746
80736
|
const ConnectorClass = this.connectorClasses[template];
|
|
@@ -80750,7 +80740,9 @@ descope-boolean-field-internal {
|
|
|
80750
80740
|
async fetchConnectorResults(query) {
|
|
80751
80741
|
if (!this.connector) {
|
|
80752
80742
|
// eslint-disable-next-line no-console
|
|
80753
|
-
console.error(
|
|
80743
|
+
console.error(
|
|
80744
|
+
`No connector initialized for the field with template: ${this.connectorTemplate}`,
|
|
80745
|
+
);
|
|
80754
80746
|
return { results: [] };
|
|
80755
80747
|
}
|
|
80756
80748
|
|
|
@@ -94930,7 +94922,7 @@ const HybridField = React__default.default.forwardRef(({ size = 'md', ...props }
|
|
|
94930
94922
|
|
|
94931
94923
|
const Alert = React__default.default.forwardRef(({ children, ...props }, ref) => (React__default.default.createElement("descope-alert", { ...props, ref: ref }, children)));
|
|
94932
94924
|
|
|
94933
|
-
const AddressField = React__default.default.forwardRef(({ size = 'md',
|
|
94925
|
+
const AddressField = React__default.default.forwardRef(({ size = 'md', ...props }, ref) => (React__default.default.createElement("descope-address-field", { size: size, ...props, ref: ref })));
|
|
94934
94926
|
|
|
94935
94927
|
const globalsThemeToStyle = index_cjsExports.globalsThemeToStyle;
|
|
94936
94928
|
const createComponentsTheme = index_cjsExports.createComponentsTheme;
|
package/dist/index.d.ts
CHANGED
|
@@ -922,7 +922,7 @@ declare global {
|
|
|
922
922
|
declare const Alert: React.ForwardRefExoticComponent<Props$1 & React.RefAttributes<HTMLElement>>;
|
|
923
923
|
|
|
924
924
|
type Props = {
|
|
925
|
-
connector?: string;
|
|
925
|
+
'data-connector-id'?: string;
|
|
926
926
|
'connector-template'?: string;
|
|
927
927
|
'min-search-length'?: number;
|
|
928
928
|
'allow-custom-value'?: boolean;
|
package/dist/index.esm.js
CHANGED
|
@@ -432,7 +432,7 @@ const HybridField = React.forwardRef(({ size = 'md', ...props }, ref) => (React.
|
|
|
432
432
|
|
|
433
433
|
const Alert = React.forwardRef(({ children, ...props }, ref) => (React.createElement("descope-alert", { ...props, ref: ref }, children)));
|
|
434
434
|
|
|
435
|
-
const AddressField = React.forwardRef(({ size = 'md',
|
|
435
|
+
const AddressField = React.forwardRef(({ size = 'md', ...props }, ref) => (React.createElement("descope-address-field", { size: size, ...props, ref: ref })));
|
|
436
436
|
|
|
437
437
|
const globalsThemeToStyle = globalsThemeToStyle$1;
|
|
438
438
|
const createComponentsTheme = createComponentsTheme$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.438",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"typescript": "^5.7.2"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@descope/web-components-ui": "1.
|
|
107
|
+
"@descope/web-components-ui": "1.29.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"react": ">= 18"
|