@dialpad/dialtone-vue 2.63.0 → 2.64.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.
@@ -1986,6 +1986,7 @@ var emoji_component = normalizeComponent(
1986
1986
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji_text_wrapper/emoji_text_wrapper.vue?vue&type=script&lang=js&
1987
1987
 
1988
1988
 
1989
+
1989
1990
  /**
1990
1991
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
1991
1992
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -2004,6 +2005,15 @@ var emoji_component = normalizeComponent(
2004
2005
  elementType: {
2005
2006
  type: String,
2006
2007
  default: 'div'
2008
+ },
2009
+
2010
+ /**
2011
+ * The icon size to render the emojis at: 100 to 800
2012
+ */
2013
+ size: {
2014
+ type: String,
2015
+ default: '500',
2016
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
2007
2017
  }
2008
2018
  },
2009
2019
 
@@ -2033,6 +2043,7 @@ var emoji_component = normalizeComponent(
2033
2043
  },
2034
2044
  props: {
2035
2045
  code: item,
2046
+ size: this.size,
2036
2047
  ...this.$attrs
2037
2048
  }
2038
2049
  });
package/dist/emoji.umd.js CHANGED
@@ -1996,6 +1996,7 @@ var emoji_component = normalizeComponent(
1996
1996
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji_text_wrapper/emoji_text_wrapper.vue?vue&type=script&lang=js&
1997
1997
 
1998
1998
 
1999
+
1999
2000
  /**
2000
2001
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
2001
2002
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -2014,6 +2015,15 @@ var emoji_component = normalizeComponent(
2014
2015
  elementType: {
2015
2016
  type: String,
2016
2017
  default: 'div'
2018
+ },
2019
+
2020
+ /**
2021
+ * The icon size to render the emojis at: 100 to 800
2022
+ */
2023
+ size: {
2024
+ type: String,
2025
+ default: '500',
2026
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
2017
2027
  }
2018
2028
  },
2019
2029
 
@@ -2043,6 +2053,7 @@ var emoji_component = normalizeComponent(
2043
2053
  },
2044
2054
  props: {
2045
2055
  code: item,
2056
+ size: this.size,
2046
2057
  ...this.$attrs
2047
2058
  }
2048
2059
  });