@descope/web-components-ui 1.0.195 → 1.0.197
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/cjs/index.cjs.js +2 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/3585.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/package.json +1 -1
- package/src/baseClasses/createCssVarImageClass.js +2 -2
- package/src/components/phone-fields/descope-phone-field/helpers.js +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -2334,8 +2334,8 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
|
2334
2334
|
const CssVarImageClass = compose(
|
|
2335
2335
|
createStyleMixin({
|
|
2336
2336
|
mappings: {
|
|
2337
|
-
height: { selector: () => ':host' },
|
|
2338
|
-
width: { selector: () => ':host' },
|
|
2337
|
+
height: { selector: () => ':host > div' },
|
|
2338
|
+
width: { selector: () => ':host > div' },
|
|
2339
2339
|
[varName]: { property: 'content' },
|
|
2340
2340
|
[fallbackVarName]: { property: 'content' },
|
|
2341
2341
|
},
|
|
@@ -4704,10 +4704,10 @@ var CountryCodes = [
|
|
|
4704
4704
|
},
|
|
4705
4705
|
].sort((a, b) => (a.name < b.name ? -1 : 1));
|
|
4706
4706
|
|
|
4707
|
-
// We use JSDelivr in order to fetch the images as image file from this library (svg-country-flags)
|
|
4707
|
+
// We use JSDelivr (proxy by static.descope.com) in order to fetch the images as image file from this library (svg-country-flags)
|
|
4708
4708
|
// This reduces our bundle size, and we use it as a static remote resource.
|
|
4709
4709
|
const getCountryFlag = (code) =>
|
|
4710
|
-
`https://
|
|
4710
|
+
`https://static.descope.com/npm/svg-country-flags@1.2.10/svg/${code.toLowerCase()}.svg`;
|
|
4711
4711
|
|
|
4712
4712
|
const comboBoxItem = ({ code, dialCode, name: country }) => `
|
|
4713
4713
|
<div
|