@descope/flow-components 2.0.234 → 2.0.235
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 +12 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +12 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -85,6 +85,15 @@ var linkedin = ({ noColor }) => (React__default.default.createElement("svg", { x
|
|
|
85
85
|
var sso = ({ noColor }) => (React__default.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "50 30 410 450", fill: noColor ? 'currentColor' : '#000000', "data-icon": "sso" },
|
|
86
86
|
React__default.default.createElement("path", { d: "M56.629,379.2c-14.09,14.071-14.09,36.975,0,51.055 c14.08,14.087,36.981,14.087,50.965,0l10.177-10.08l42.438,42.428c7.257,7.268,18.888,7.268,26.155,0l63.244-63.244 c7.268-7.255,7.268-18.89,0-26.157l-42.429-42.427l75.586-75.682c16.174,8.357,34.61,13.075,54.059,13.075 c65.234,0,118.111-52.869,118.111-118.109c0-65.232-52.877-118.111-118.111-118.111c-65.238,0-118.11,52.879-118.11,118.111 c0,19.449,4.721,37.886,13.077,54.06L56.629,379.2z M291.396,150.059c0-25.075,20.354-45.429,45.427-45.429 c25.076,0,45.426,20.354,45.426,45.429s-20.35,45.426-45.426,45.426C311.751,195.485,291.396,175.133,291.396,150.059z" })));
|
|
87
87
|
|
|
88
|
+
const WhatsAppIcon = ({ noColor }) => (React__default.default.createElement("svg", { fill: "none", height: "24", viewBox: "0 0 24 24", width: "24", xmlns: "http://www.w3.org/2000/svg" },
|
|
89
|
+
React__default.default.createElement("clipPath", { id: "a" },
|
|
90
|
+
React__default.default.createElement("path", { d: "m0 0h24v24h-24z" })),
|
|
91
|
+
React__default.default.createElement("clipPath", { id: "b" },
|
|
92
|
+
React__default.default.createElement("path", { d: "m0 0h24v24h-24z" })),
|
|
93
|
+
React__default.default.createElement("g", { clipPath: "url(#a)" },
|
|
94
|
+
React__default.default.createElement("g", { clipPath: "url(#b)" },
|
|
95
|
+
React__default.default.createElement("path", { clipRule: "evenodd", d: "m20.5031 3.48501c-2.2558-2.24623-5.256-3.48387036-8.4527-3.48501-6.587 0-11.947836 5.33065-11.950128 11.883-.001146 2.0946.549492 4.1391 1.595188 5.9409l-1.69546 6.1586 6.33491-1.6525c1.74529.9471 3.71059 1.4456 5.71039 1.4462h.0051c6.5859 0 11.9473-5.3312 11.9496-11.8835.0011-3.1756-1.2405-6.1609-3.4969-8.40712zm-8.4527 18.28429h-.004c-1.782-.0005-3.53013-.4769-5.0554-1.3767l-.36272-.2142-3.75935.9806 1.0033-3.6451-.23608-.3738c-.99412-1.5727-1.51955-3.3904-1.5184-5.2565.00229-5.44579 4.45781-9.8767 9.93675-9.8767 2.6528.00114 5.1465 1.02966 7.0218 2.89696 1.8754 1.86673 2.9074 4.34887 2.9062 6.98764-.0023 5.4464-4.4578 9.8773-9.9321 9.8773zm5.4479-7.3973c-.2985-.1488-1.7664-.8668-2.0404-.9659-.2738-.0992-.4726-.1487-.6715.1487-.1988.2975-.7712.9665-.9454 1.1642-.1742.1983-.3484.2228-.6469.074-.2985-.1487-1.2606-.4621-2.4014-1.4735-.8875-.7875-1.4869-1.7596-1.66103-2.0571-.1742-.2974-.01834-.4581.1306-.6057.13406-.1333.29853-.347.44806-.5202.1496-.17325.19887-.29743.29857-.4952.0997-.19829.0498-.37147-.02463-.52024-.07454-.14871-.67154-1.61032-.9208-2.20462-.2424-.57892-.48874-.50029-.67154-.50997-.1742-.00855-.373-.01026-.5724-.01026s-.5226.07408-.79646.37152c-.27387.29742-1.04513 1.01596-1.04513 2.47698 0 1.46099 1.06979 2.87359 1.21933 3.07189.14953.1983 2.10566 3.1973 5.10063 4.4839.7123.306 1.2686.4889 1.7024.6257.7151.2262 1.366.1943 1.8805.1179.5736-.0854 1.7665-.7185 2.0152-1.412s.2487-1.2884.1742-1.412c-.0745-.1237-.2739-.1983-.5724-.347z", fill: noColor ? 'currentColor' : '#25D366', fillRule: "evenodd" })))));
|
|
96
|
+
|
|
88
97
|
var icons = /*#__PURE__*/Object.freeze({
|
|
89
98
|
__proto__: null,
|
|
90
99
|
apple: apple,
|
|
@@ -98,7 +107,8 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
98
107
|
microsoft: microsoft,
|
|
99
108
|
passkey: passkey,
|
|
100
109
|
slack: slack,
|
|
101
|
-
sso: sso
|
|
110
|
+
sso: sso,
|
|
111
|
+
whatsapp: WhatsAppIcon
|
|
102
112
|
});
|
|
103
113
|
|
|
104
114
|
const isImageSource = (src) => src.startsWith('data:image') || src.startsWith('http');
|
|
@@ -432,6 +442,7 @@ exports.microsoft = microsoft;
|
|
|
432
442
|
exports.passkey = passkey;
|
|
433
443
|
exports.slack = slack;
|
|
434
444
|
exports.sso = sso;
|
|
445
|
+
exports.whatsapp = WhatsAppIcon;
|
|
435
446
|
Object.keys(webComponentsUi).forEach(function (k) {
|
|
436
447
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
437
448
|
enumerable: true,
|
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ declare const _default: ({ noColor }: {
|
|
|
180
180
|
noColor: any;
|
|
181
181
|
}) => React.JSX.Element;
|
|
182
182
|
|
|
183
|
+
declare const WhatsAppIcon: ({ noColor }: {
|
|
184
|
+
noColor: any;
|
|
185
|
+
}) => React.JSX.Element;
|
|
186
|
+
|
|
183
187
|
type Props$m = {
|
|
184
188
|
width?: string;
|
|
185
189
|
height?: string;
|
|
@@ -624,4 +628,4 @@ declare global {
|
|
|
624
628
|
}
|
|
625
629
|
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
626
630
|
|
|
627
|
-
export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, _default$b as apple, _default$2 as discord, _default$a as facebook, _default$8 as fingerprint, _default$6 as github, _default$5 as gitlab, _default$4 as google, _default$1 as linkedin, _default$3 as microsoft, _default$7 as passkey, _default$9 as slack, _default as sso };
|
|
631
|
+
export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, _default$b as apple, _default$2 as discord, _default$a as facebook, _default$8 as fingerprint, _default$6 as github, _default$5 as gitlab, _default$4 as google, _default$1 as linkedin, _default$3 as microsoft, _default$7 as passkey, _default$9 as slack, _default as sso, WhatsAppIcon as whatsapp };
|
package/dist/index.esm.js
CHANGED
|
@@ -79,6 +79,15 @@ var linkedin = ({ noColor }) => (React.createElement("svg", { xmlns: "http://www
|
|
|
79
79
|
var sso = ({ noColor }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "50 30 410 450", fill: noColor ? 'currentColor' : '#000000', "data-icon": "sso" },
|
|
80
80
|
React.createElement("path", { d: "M56.629,379.2c-14.09,14.071-14.09,36.975,0,51.055 c14.08,14.087,36.981,14.087,50.965,0l10.177-10.08l42.438,42.428c7.257,7.268,18.888,7.268,26.155,0l63.244-63.244 c7.268-7.255,7.268-18.89,0-26.157l-42.429-42.427l75.586-75.682c16.174,8.357,34.61,13.075,54.059,13.075 c65.234,0,118.111-52.869,118.111-118.109c0-65.232-52.877-118.111-118.111-118.111c-65.238,0-118.11,52.879-118.11,118.111 c0,19.449,4.721,37.886,13.077,54.06L56.629,379.2z M291.396,150.059c0-25.075,20.354-45.429,45.427-45.429 c25.076,0,45.426,20.354,45.426,45.429s-20.35,45.426-45.426,45.426C311.751,195.485,291.396,175.133,291.396,150.059z" })));
|
|
81
81
|
|
|
82
|
+
const WhatsAppIcon = ({ noColor }) => (React.createElement("svg", { fill: "none", height: "24", viewBox: "0 0 24 24", width: "24", xmlns: "http://www.w3.org/2000/svg" },
|
|
83
|
+
React.createElement("clipPath", { id: "a" },
|
|
84
|
+
React.createElement("path", { d: "m0 0h24v24h-24z" })),
|
|
85
|
+
React.createElement("clipPath", { id: "b" },
|
|
86
|
+
React.createElement("path", { d: "m0 0h24v24h-24z" })),
|
|
87
|
+
React.createElement("g", { clipPath: "url(#a)" },
|
|
88
|
+
React.createElement("g", { clipPath: "url(#b)" },
|
|
89
|
+
React.createElement("path", { clipRule: "evenodd", d: "m20.5031 3.48501c-2.2558-2.24623-5.256-3.48387036-8.4527-3.48501-6.587 0-11.947836 5.33065-11.950128 11.883-.001146 2.0946.549492 4.1391 1.595188 5.9409l-1.69546 6.1586 6.33491-1.6525c1.74529.9471 3.71059 1.4456 5.71039 1.4462h.0051c6.5859 0 11.9473-5.3312 11.9496-11.8835.0011-3.1756-1.2405-6.1609-3.4969-8.40712zm-8.4527 18.28429h-.004c-1.782-.0005-3.53013-.4769-5.0554-1.3767l-.36272-.2142-3.75935.9806 1.0033-3.6451-.23608-.3738c-.99412-1.5727-1.51955-3.3904-1.5184-5.2565.00229-5.44579 4.45781-9.8767 9.93675-9.8767 2.6528.00114 5.1465 1.02966 7.0218 2.89696 1.8754 1.86673 2.9074 4.34887 2.9062 6.98764-.0023 5.4464-4.4578 9.8773-9.9321 9.8773zm5.4479-7.3973c-.2985-.1488-1.7664-.8668-2.0404-.9659-.2738-.0992-.4726-.1487-.6715.1487-.1988.2975-.7712.9665-.9454 1.1642-.1742.1983-.3484.2228-.6469.074-.2985-.1487-1.2606-.4621-2.4014-1.4735-.8875-.7875-1.4869-1.7596-1.66103-2.0571-.1742-.2974-.01834-.4581.1306-.6057.13406-.1333.29853-.347.44806-.5202.1496-.17325.19887-.29743.29857-.4952.0997-.19829.0498-.37147-.02463-.52024-.07454-.14871-.67154-1.61032-.9208-2.20462-.2424-.57892-.48874-.50029-.67154-.50997-.1742-.00855-.373-.01026-.5724-.01026s-.5226.07408-.79646.37152c-.27387.29742-1.04513 1.01596-1.04513 2.47698 0 1.46099 1.06979 2.87359 1.21933 3.07189.14953.1983 2.10566 3.1973 5.10063 4.4839.7123.306 1.2686.4889 1.7024.6257.7151.2262 1.366.1943 1.8805.1179.5736-.0854 1.7665-.7185 2.0152-1.412s.2487-1.2884.1742-1.412c-.0745-.1237-.2739-.1983-.5724-.347z", fill: noColor ? 'currentColor' : '#25D366', fillRule: "evenodd" })))));
|
|
90
|
+
|
|
82
91
|
var icons = /*#__PURE__*/Object.freeze({
|
|
83
92
|
__proto__: null,
|
|
84
93
|
apple: apple,
|
|
@@ -92,7 +101,8 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
92
101
|
microsoft: microsoft,
|
|
93
102
|
passkey: passkey,
|
|
94
103
|
slack: slack,
|
|
95
|
-
sso: sso
|
|
104
|
+
sso: sso,
|
|
105
|
+
whatsapp: WhatsAppIcon
|
|
96
106
|
});
|
|
97
107
|
|
|
98
108
|
const isImageSource = (src) => src.startsWith('data:image') || src.startsWith('http');
|
|
@@ -378,4 +388,4 @@ MappingsField.defaultProps = {
|
|
|
378
388
|
size: 'md'
|
|
379
389
|
};
|
|
380
390
|
|
|
381
|
-
export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, slack, sso };
|
|
391
|
+
export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, slack, sso, WhatsAppIcon as whatsapp };
|