@dialpad/dialtone-vue 3.46.2 → 3.49.0

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.
@@ -1350,6 +1350,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1350
1350
 
1351
1351
 
1352
1352
 
1353
+
1353
1354
  /**
1354
1355
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
1355
1356
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -1368,6 +1369,15 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1368
1369
  elementType: {
1369
1370
  type: String,
1370
1371
  default: 'div'
1372
+ },
1373
+
1374
+ /**
1375
+ * The icon size to render the emojis at: 100 to 800
1376
+ */
1377
+ size: {
1378
+ type: String,
1379
+ default: '500',
1380
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
1371
1381
  }
1372
1382
  },
1373
1383
 
@@ -1393,6 +1403,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1393
1403
  if (replaceList.includes(item)) {
1394
1404
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.h)(emoji, { ...this.$attrs,
1395
1405
  class: 'd-mx4 d-d-inline-block',
1406
+ size: this.size,
1396
1407
  code: item
1397
1408
  });
1398
1409
  }
package/dist/emoji.umd.js CHANGED
@@ -1360,6 +1360,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1360
1360
 
1361
1361
 
1362
1362
 
1363
+
1363
1364
  /**
1364
1365
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
1365
1366
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -1378,6 +1379,15 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1378
1379
  elementType: {
1379
1380
  type: String,
1380
1381
  default: 'div'
1382
+ },
1383
+
1384
+ /**
1385
+ * The icon size to render the emojis at: 100 to 800
1386
+ */
1387
+ size: {
1388
+ type: String,
1389
+ default: '500',
1390
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
1381
1391
  }
1382
1392
  },
1383
1393
 
@@ -1403,6 +1413,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
1403
1413
  if (replaceList.includes(item)) {
1404
1414
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.h)(emoji, { ...this.$attrs,
1405
1415
  class: 'd-mx4 d-d-inline-block',
1416
+ size: this.size,
1406
1417
  code: item
1407
1418
  });
1408
1419
  }