@capillarytech/creatives-library 7.10.53 → 7.10.55

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.10.53",
4
+ "version": "7.10.55",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -12,7 +12,6 @@
12
12
  },
13
13
  "license": "LicenseRef-LICENSE",
14
14
  "dependencies": {
15
- "@babel/polyfill": "7.4.3",
16
15
  "@bugsnag/js": "^7.2.1",
17
16
  "@bugsnag/plugin-react": "^7.2.1",
18
17
  "@capillarytech/cap-ui-utils": "1.4.2",
package/utils/v2common.js CHANGED
@@ -0,0 +1,13 @@
1
+ export const getObjFromQueryParams = (searchString) => {
2
+ const params = new URLSearchParams(searchString);
3
+ const obj = {};
4
+ // iterate over all keys
5
+ for (const key of params.keys()) {
6
+ if (params.getAll(key).length > 1) {
7
+ obj[key] = params.getAll(key);
8
+ } else {
9
+ obj[key] = params.get(key);
10
+ }
11
+ }
12
+ return obj;
13
+ }
@@ -414,4 +414,11 @@
414
414
  span {
415
415
  font-size: $FONT_SIZE_VS;
416
416
  }
417
+ }
418
+ .whatsapp-brand-name{
419
+ position: absolute;
420
+ top: 11%;
421
+ left: 38%;
422
+ color: white;
423
+ font-size: small;
417
424
  }