@dialpad/dialtone-vue 2.28.0-beta.1 → 2.28.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.
@@ -18,7 +18,7 @@ __webpack_require__.r(__webpack_exports__);
18
18
 
19
19
  var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
20
20
  // Module
21
- ___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}", ""]);
21
+ ___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}", ""]);
22
22
  // Exports
23
23
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
24
24
 
@@ -758,7 +758,7 @@ function findEmojis(textContent) {
758
758
  const emojis = matches.length ? matches.map(match => match[0]) : [];
759
759
  return new Set(emojis);
760
760
  }
761
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji/emoji.vue?vue&type=template&id=334ba6aa&
761
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji/emoji.vue?vue&type=template&id=a9cdd478&
762
762
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.skeletonSizeClass},[_c('dt-skeleton',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgLoading && _vm.showSkeleton),expression:"imgLoading && showSkeleton"}],class:_vm.skeletonSizeClass,attrs:{"offset":0,"shape-option":{ shape: 'square', contentClass: _vm.skeletonSizeClass, size: 'auto' }}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.imgLoading),expression:"!imgLoading"}],ref:"emojiImg",class:[_vm.size, _vm.imgClass],attrs:{"aria-label":_vm.emojiLabel,"alt":_vm.emojiAlt,"title":_vm.emojiLabel,"src":_vm.emojiSrc},on:{"load":_vm.imageLoaded,"error":_vm.imageErrored}})],1)}
763
763
  var staticRenderFns = []
764
764
 
@@ -778,20 +778,20 @@ const EMOJI_SIZES = {
778
778
  /* harmony default export */ const emoji_constants = ({
779
779
  EMOJI_SIZES
780
780
  });
781
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton.vue?vue&type=template&id=cf13874a&
782
- var skeletonvue_type_template_id_cf13874a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"aria-busy":"true","role":"status","aria-label":_vm.ariaLabel}},[(_vm.listItemOption)?_c('dt-skeleton-list-item',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-list-item',_vm.listItemOption === true ? {} : _vm.listItemOption,false)):(_vm.shapeOption)?_c('dt-skeleton-shape',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-shape',_vm.shapeOption === true ? {} : _vm.shapeOption,false)):(_vm.paragraphOption)?_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphOption === true ? {} : _vm.paragraphOption,false)):_c('dt-skeleton-text',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-text',_vm.textOption || {},false))],1)}
783
- var skeletonvue_type_template_id_cf13874a_staticRenderFns = []
781
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton.vue?vue&type=template&id=6cda56f1&
782
+ var skeletonvue_type_template_id_6cda56f1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"aria-busy":"true","role":"status","aria-label":_vm.ariaLabel}},[(_vm.listItemOption)?_c('dt-skeleton-list-item',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-list-item',_vm.listItemOption === true ? {} : _vm.listItemOption,false)):(_vm.shapeOption)?_c('dt-skeleton-shape',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-shape',_vm.shapeOption === true ? {} : _vm.shapeOption,false)):(_vm.paragraphOption)?_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphOption === true ? {} : _vm.paragraphOption,false)):_c('dt-skeleton-text',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-text',_vm.textOption || {},false))],1)}
783
+ var skeletonvue_type_template_id_6cda56f1_staticRenderFns = []
784
784
 
785
785
 
786
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-shape.vue?vue&type=template&id=9cb05e20&
787
- var skeleton_shapevue_type_template_id_9cb05e20_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"skeleton",class:[
786
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-shape.vue?vue&type=template&id=afabf0b6&
787
+ var skeleton_shapevue_type_template_id_afabf0b6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"skeleton",class:[
788
788
  'skeleton-placeholder',
789
789
  _vm.SKELETON_SHAPES[_vm.shape],
790
790
  {
791
791
  'skeleton-placeholder--animate': _vm.animate,
792
792
  },
793
793
  _vm.contentClass ],style:(_vm.shapeStyles),attrs:{"data-qa":"skeleton-shape"}})}
794
- var skeleton_shapevue_type_template_id_9cb05e20_staticRenderFns = []
794
+ var skeleton_shapevue_type_template_id_afabf0b6_staticRenderFns = []
795
795
 
796
796
 
797
797
  ;// CONCATENATED MODULE: ./components/skeleton/skeleton_constants.js
@@ -825,6 +825,10 @@ const SKELETON_HEADING_HEIGHTS = {
825
825
  });
826
826
  ;// CONCATENATED MODULE: ./common/mixins/skeleton.js
827
827
 
828
+ /**
829
+ * @displayName Skeleton Animation Mixin
830
+ */
831
+
828
832
  /* harmony default export */ const skeleton = ({
829
833
  computed: {
830
834
  skeletonOffset() {
@@ -880,27 +884,58 @@ const SKELETON_HEADING_HEIGHTS = {
880
884
  name: 'DtSkeletonShape',
881
885
  mixins: [skeleton],
882
886
  props: {
887
+ /**
888
+ * Defines the shape of the skeleton, accepts circle or square.
889
+ * @values circle, square
890
+ */
883
891
  shape: {
884
892
  type: String,
885
893
  default: 'circle',
886
894
  validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
887
895
  },
896
+
897
+ /**
898
+ * Size of the shape
899
+ * @values xs, sm, md, lg, xl
900
+ */
888
901
  size: {
889
902
  type: String,
890
903
  default: 'md'
891
904
  },
905
+
906
+ /**
907
+ * Duration time of the animation (ms), set -1 for an infinite animation.
908
+ */
892
909
  animationDuration: {
893
910
  type: Number,
894
911
  default: -1
895
912
  },
913
+
914
+ /**
915
+ * This property has higher priority than "option.animate"
916
+ * @values true, false
917
+ */
896
918
  animate: {
897
919
  type: Boolean,
898
920
  default: true
899
921
  },
922
+
923
+ /**
924
+ * RippleDuration controls how long the delay is for the animation of a
925
+ * placeholder 1000 pixels from the top of the page. Each placeholder
926
+ * from the top down will have a delay duration from 0 to this offset.
927
+ * The delay of each placeholder animation is based on how far down the page
928
+ * the placeholder is rendered. This is a linear relationship. The unit
929
+ * is milliseconds.
930
+ */
900
931
  offset: {
901
932
  type: Number,
902
933
  default: 1
903
934
  },
935
+
936
+ /**
937
+ * Additional class name for the content.
938
+ */
904
939
  contentClass: {
905
940
  type: [String, Object, Array],
906
941
  default: ''
@@ -1038,8 +1073,8 @@ function normalizeComponent (
1038
1073
  ;
1039
1074
  var component = normalizeComponent(
1040
1075
  skeleton_skeleton_shapevue_type_script_lang_js_,
1041
- skeleton_shapevue_type_template_id_9cb05e20_render,
1042
- skeleton_shapevue_type_template_id_9cb05e20_staticRenderFns,
1076
+ skeleton_shapevue_type_template_id_afabf0b6_render,
1077
+ skeleton_shapevue_type_template_id_afabf0b6_staticRenderFns,
1043
1078
  false,
1044
1079
  null,
1045
1080
  null,
@@ -1048,28 +1083,28 @@ var component = normalizeComponent(
1048
1083
  )
1049
1084
 
1050
1085
  /* harmony default export */ const skeleton_shape = (component.exports);
1051
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-list-item.vue?vue&type=template&id=550b8bfc&
1052
- var skeleton_list_itemvue_type_template_id_550b8bfc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
1086
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-list-item.vue?vue&type=template&id=550aef30&
1087
+ var skeleton_list_itemvue_type_template_id_550aef30_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
1053
1088
  'd-d-flex',
1054
1089
  {
1055
1090
  'd-ai-center': _vm.paragraphs.rows === 1,
1056
1091
  },
1057
1092
  _vm.contentClass ],attrs:{"data-qa":"skeleton-list-item"}},[_c('dt-skeleton-shape',{staticClass:"d-mr8",attrs:{"size":_vm.shapeSize,"shape":_vm.shape,"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset,"content-class":_vm.shapeClass}}),_c('div',{staticClass:"d-d-flex d-fd-column d-w100p"},[_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphs,false))],1)],1)}
1058
- var skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns = []
1093
+ var skeleton_list_itemvue_type_template_id_550aef30_staticRenderFns = []
1059
1094
 
1060
1095
 
1061
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=5c1bdf76&
1062
- var skeleton_paragraphvue_type_template_id_5c1bdf76_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
1096
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=74552fc9&
1097
+ var skeleton_paragraphvue_type_template_id_74552fc9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
1063
1098
  'd-w100p',
1064
1099
  _vm.contentClass ],attrs:{"contentClass":"","data-qa":"skeleton-paragraph"}},_vm._l((_vm.integerRows),function(row){return _c('dt-skeleton-text',{key:row,class:[
1065
1100
  {
1066
1101
  'd-mb12': row !== _vm.integerRows,
1067
1102
  } ],attrs:{"data-qa":"skeleton-paragraph-row","content-class":_vm.rowClass,"animate":_vm.animate,"offset":_vm.offset,"animation-duration":_vm.animationDuration,"width":_vm.getSizeParagraphRow(row)}})}),1)}
1068
- var skeleton_paragraphvue_type_template_id_5c1bdf76_staticRenderFns = []
1103
+ var skeleton_paragraphvue_type_template_id_74552fc9_staticRenderFns = []
1069
1104
 
1070
1105
 
1071
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-text.vue?vue&type=template&id=b36ce9f2&
1072
- var skeleton_textvue_type_template_id_b36ce9f2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.type === 'body')?_c('div',{ref:"skeleton",class:[
1106
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-text.vue?vue&type=template&id=0603ca4d&
1107
+ var skeleton_textvue_type_template_id_0603ca4d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.type === 'body')?_c('div',{ref:"skeleton",class:[
1073
1108
  'd-h8',
1074
1109
  'd-bar2',
1075
1110
  'skeleton-placeholder',
@@ -1086,7 +1121,7 @@ var skeleton_textvue_type_template_id_b36ce9f2_render = function () {var _vm=thi
1086
1121
  },
1087
1122
  _vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
1088
1123
  _vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-heading"}}):_vm._e()}
1089
- var skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns = []
1124
+ var skeleton_textvue_type_template_id_0603ca4d_staticRenderFns = []
1090
1125
 
1091
1126
 
1092
1127
  ;// 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/skeleton/skeleton-text.vue?vue&type=script&lang=js&
@@ -1135,32 +1170,67 @@ var skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns = []
1135
1170
  name: 'DtSkeletonText',
1136
1171
  mixins: [skeleton],
1137
1172
  props: {
1173
+ /**
1174
+ * Skeleton type
1175
+ * @values body, heading
1176
+ */
1138
1177
  type: {
1139
1178
  type: String,
1140
1179
  default: 'body',
1141
1180
  validator: type => SKELETON_TEXT_TYPES.includes(type)
1142
1181
  },
1182
+
1183
+ /**
1184
+ * Heading height
1185
+ * @values sm, md, lg
1186
+ */
1143
1187
  headingHeight: {
1144
1188
  type: String,
1145
1189
  default: 'md',
1146
1190
  validator: headingHeight => Object.keys(SKELETON_HEADING_HEIGHTS).includes(headingHeight)
1147
1191
  },
1192
+
1193
+ /**
1194
+ * Width of the skeleton
1195
+ */
1148
1196
  width: {
1149
1197
  type: String,
1150
1198
  default: '100%'
1151
1199
  },
1200
+
1201
+ /**
1202
+ * Duration time of the animation (ms), set -1 for an infinite animation.
1203
+ */
1152
1204
  animationDuration: {
1153
1205
  type: Number,
1154
1206
  default: -1
1155
1207
  },
1208
+
1209
+ /**
1210
+ * This property has higher priority than "option.animate"
1211
+ * @values true, false
1212
+ */
1156
1213
  animate: {
1157
1214
  type: Boolean,
1158
1215
  default: false
1159
1216
  },
1217
+
1218
+ /**
1219
+ * RippleDuration controls how long the delay is for the animation of a
1220
+ * placeholder 1000 pixels from the top of the page. Each placeholder
1221
+ * from the top down will have a delay duration from 0 to this offset.
1222
+ * The delay of each placeholder animation is based on how far down the page
1223
+ * the placeholder is rendered. This is a linear relationship. The unit
1224
+ * is milliseconds.
1225
+ */
1160
1226
  offset: {
1161
1227
  type: Number,
1162
1228
  default: 1
1163
1229
  },
1230
+
1231
+ /**
1232
+ * Additional class name for the content.
1233
+ */
1164
1234
  contentClass: {
1165
1235
  type: String,
1166
1236
  default: ''
@@ -1186,8 +1256,8 @@ var skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns = []
1186
1256
  ;
1187
1257
  var skeleton_text_component = normalizeComponent(
1188
1258
  skeleton_skeleton_textvue_type_script_lang_js_,
1189
- skeleton_textvue_type_template_id_b36ce9f2_render,
1190
- skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns,
1259
+ skeleton_textvue_type_template_id_0603ca4d_render,
1260
+ skeleton_textvue_type_template_id_0603ca4d_staticRenderFns,
1191
1261
  false,
1192
1262
  null,
1193
1263
  null,
@@ -1234,45 +1304,91 @@ const validator = number => number !== '' && !Number.isNaN(Number(number));
1234
1304
  DtSkeletonText: skeleton_text
1235
1305
  },
1236
1306
  props: {
1307
+ /**
1308
+ * Quantity of rows to display
1309
+ */
1237
1310
  rows: {
1238
1311
  type: [Number, String],
1239
1312
  default: 3,
1240
1313
  validator
1241
1314
  },
1315
+
1316
+ /**
1317
+ * This property has higher priority than "option.animate"
1318
+ * @values true, false
1319
+ */
1242
1320
  animate: {
1243
1321
  type: Boolean,
1244
1322
  default: true
1245
1323
  },
1324
+
1325
+ /**
1326
+ * Controls the min width of paragraphs
1327
+ */
1246
1328
  minWidth: {
1247
1329
  type: [Number, String],
1248
1330
  default: 30,
1249
1331
  validator
1250
1332
  },
1333
+
1334
+ /**
1335
+ * Controls the max width of paragraphs
1336
+ */
1251
1337
  maxWidth: {
1252
1338
  type: [Number, String],
1253
1339
  default: 100,
1254
1340
  validator
1255
1341
  },
1342
+
1343
+ /**
1344
+ * Controls the width of paragraphs
1345
+ */
1256
1346
  width: {
1257
1347
  type: [String, Array],
1258
1348
  default: null
1259
1349
  },
1350
+
1351
+ /**
1352
+ * If true, row widths will be random
1353
+ * @values true, false
1354
+ */
1260
1355
  randomWidth: {
1261
1356
  type: Boolean,
1262
1357
  default: false
1263
1358
  },
1359
+
1360
+ /**
1361
+ * RippleDuration controls how long the delay is for the animation of a
1362
+ * placeholder 1000 pixels from the top of the page. Each placeholder
1363
+ * from the top down will have a delay duration from 0 to this offset.
1364
+ * The delay of each placeholder animation is based on how far down the page
1365
+ * the placeholder is rendered. This is a linear relationship. The unit
1366
+ * is milliseconds.
1367
+ */
1264
1368
  offset: {
1265
1369
  type: Number,
1266
1370
  default: 1
1267
1371
  },
1372
+
1373
+ /**
1374
+ * Duration time of the animation (ms), set -1 for an infinite animation.
1375
+ */
1268
1376
  animationDuration: {
1269
1377
  type: Number,
1270
1378
  default: -1
1271
1379
  },
1380
+
1381
+ /**
1382
+ * Additional class name for the content.
1383
+ */
1272
1384
  contentClass: {
1273
1385
  type: String,
1274
1386
  default: ''
1275
1387
  },
1388
+
1389
+ /**
1390
+ * Additional class name for the row.
1391
+ */
1276
1392
  rowClass: {
1277
1393
  type: String,
1278
1394
  default: ''
@@ -1326,8 +1442,8 @@ const validator = number => number !== '' && !Number.isNaN(Number(number));
1326
1442
  ;
1327
1443
  var skeleton_paragraph_component = normalizeComponent(
1328
1444
  skeleton_skeleton_paragraphvue_type_script_lang_js_,
1329
- skeleton_paragraphvue_type_template_id_5c1bdf76_render,
1330
- skeleton_paragraphvue_type_template_id_5c1bdf76_staticRenderFns,
1445
+ skeleton_paragraphvue_type_template_id_74552fc9_render,
1446
+ skeleton_paragraphvue_type_template_id_74552fc9_staticRenderFns,
1331
1447
  false,
1332
1448
  null,
1333
1449
  null,
@@ -1378,15 +1494,29 @@ var skeleton_paragraph_component = normalizeComponent(
1378
1494
  DtSkeletonParagraph: skeleton_paragraph
1379
1495
  },
1380
1496
  props: {
1497
+ /**
1498
+ * Defines the shape of the skeleton, accepts circle or square.
1499
+ * @values circle, square
1500
+ */
1381
1501
  shape: {
1382
1502
  type: String,
1383
1503
  default: 'circle',
1384
1504
  validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
1385
1505
  },
1506
+
1507
+ /**
1508
+ * Size of the shape
1509
+ * @values xs, sm, md, lg, xl
1510
+ */
1386
1511
  shapeSize: {
1387
1512
  type: String,
1388
1513
  default: 'md'
1389
1514
  },
1515
+
1516
+ /**
1517
+ * Object containing quantity of paragraphs to display
1518
+ * and a randomWidth boolean.
1519
+ */
1390
1520
  paragraphs: {
1391
1521
  type: Object,
1392
1522
  default: () => ({
@@ -1394,22 +1524,48 @@ var skeleton_paragraph_component = normalizeComponent(
1394
1524
  randomWidth: true
1395
1525
  })
1396
1526
  },
1527
+
1528
+ /**
1529
+ * Duration time of the animation (ms), set -1 for an infinite animation.
1530
+ */
1397
1531
  animationDuration: {
1398
1532
  type: Number,
1399
1533
  default: -1
1400
1534
  },
1535
+
1536
+ /**
1537
+ * This property has higher priority than "option.animate"
1538
+ * @values true, false
1539
+ */
1401
1540
  animate: {
1402
1541
  type: Boolean,
1403
1542
  default: true
1404
1543
  },
1544
+
1545
+ /**
1546
+ * RippleDuration controls how long the delay is for the animation of a
1547
+ * placeholder 1000 pixels from the top of the page. Each placeholder
1548
+ * from the top down will have a delay duration from 0 to this offset.
1549
+ * The delay of each placeholder animation is based on how far down the page
1550
+ * the placeholder is rendered. This is a linear relationship. The unit
1551
+ * is milliseconds.
1552
+ */
1405
1553
  offset: {
1406
1554
  type: Number,
1407
1555
  default: 1
1408
1556
  },
1557
+
1558
+ /**
1559
+ * Additional class name for the shape.
1560
+ */
1409
1561
  shapeClass: {
1410
1562
  type: String,
1411
1563
  default: ''
1412
1564
  },
1565
+
1566
+ /**
1567
+ * Additional class name for the content.
1568
+ */
1413
1569
  contentClass: {
1414
1570
  type: String,
1415
1571
  default: ''
@@ -1428,8 +1584,8 @@ var skeleton_paragraph_component = normalizeComponent(
1428
1584
  ;
1429
1585
  var skeleton_list_item_component = normalizeComponent(
1430
1586
  skeleton_skeleton_list_itemvue_type_script_lang_js_,
1431
- skeleton_list_itemvue_type_template_id_550b8bfc_render,
1432
- skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns,
1587
+ skeleton_list_itemvue_type_template_id_550aef30_render,
1588
+ skeleton_list_itemvue_type_template_id_550aef30_staticRenderFns,
1433
1589
  false,
1434
1590
  null,
1435
1591
  null,
@@ -1480,6 +1636,13 @@ var skeleton_list_item_component = normalizeComponent(
1480
1636
 
1481
1637
 
1482
1638
 
1639
+ /**
1640
+ * Skeleton loader is a non-interactive placeholder that displays a preview of the UI to visually communicate
1641
+ * that content is in the process of loading. Skeleton is used to provide a low fidelity
1642
+ * representation of the user interface (UI) before content appears on the page.
1643
+ * @see https://dialpad.design/components/skeleton.html
1644
+ */
1645
+
1483
1646
  /* harmony default export */ const skeletonvue_type_script_lang_js_ = ({
1484
1647
  name: 'DtSkeleton',
1485
1648
  components: {
@@ -1489,34 +1652,75 @@ var skeleton_list_item_component = normalizeComponent(
1489
1652
  DtSkeletonParagraph: skeleton_paragraph
1490
1653
  },
1491
1654
  props: {
1655
+ /**
1656
+ * Set this prop to have the skeleton render as multiple lines of text.
1657
+ * Set only one option prop at a time.
1658
+ */
1492
1659
  paragraphOption: {
1493
1660
  type: [Object, Boolean],
1494
1661
  default: null
1495
1662
  },
1663
+
1664
+ /**
1665
+ * Set this prop to have the skeleton render as a list item with an avatar and wrapping text.
1666
+ * Set only one option prop at a time.
1667
+ */
1496
1668
  listItemOption: {
1497
1669
  type: [Object, Boolean],
1498
1670
  default: null
1499
1671
  },
1672
+
1673
+ /**
1674
+ * Set this prop to have the skeleton render as a single line of text.
1675
+ * Set only one option prop at a time.
1676
+ */
1500
1677
  textOption: {
1501
1678
  type: Object,
1502
1679
  default: null
1503
1680
  },
1681
+
1682
+ /**
1683
+ * Set this prop to have the skeleton render as a specific shape.
1684
+ * Set only one option prop at a time.
1685
+ */
1504
1686
  shapeOption: {
1505
1687
  type: [Object, Boolean],
1506
1688
  default: null
1507
1689
  },
1690
+
1691
+ /**
1692
+ * Duration time of the animation (ms), set -1 for an infinite animation.
1693
+ */
1508
1694
  animationDuration: {
1509
1695
  type: Number,
1510
1696
  default: -1
1511
1697
  },
1698
+
1699
+ /**
1700
+ * Descriptive label for the content.
1701
+ */
1512
1702
  ariaLabel: {
1513
1703
  type: String,
1514
1704
  default: ''
1515
1705
  },
1706
+
1707
+ /**
1708
+ * This property has higher priority than "option.animate"
1709
+ * @values true, false
1710
+ */
1516
1711
  animate: {
1517
1712
  type: Boolean,
1518
1713
  default: true
1519
1714
  },
1715
+
1716
+ /**
1717
+ * RippleDuration controls how long the delay is for the animation of a
1718
+ * placeholder 1000 pixels from the top of the page. Each placeholder
1719
+ * from the top down will have a delay duration from 0 to this offset.
1720
+ * The delay of each placeholder animation is based on how far down the page
1721
+ * the placeholder is rendered. This is a linear relationship. The unit
1722
+ * is milliseconds.
1723
+ */
1520
1724
  offset: {
1521
1725
  type: Number,
1522
1726
  default: 1
@@ -1574,8 +1778,8 @@ var skeletonvue_type_style_index_0_lang_less_ = __webpack_require__(315);
1574
1778
 
1575
1779
  var skeleton_component = normalizeComponent(
1576
1780
  skeleton_skeletonvue_type_script_lang_js_,
1577
- skeletonvue_type_template_id_cf13874a_render,
1578
- skeletonvue_type_template_id_cf13874a_staticRenderFns,
1781
+ skeletonvue_type_template_id_6cda56f1_render,
1782
+ skeletonvue_type_template_id_6cda56f1_staticRenderFns,
1579
1783
  false,
1580
1784
  null,
1581
1785
  null,
@@ -1617,6 +1821,11 @@ var skeleton_component = normalizeComponent(
1617
1821
 
1618
1822
 
1619
1823
 
1824
+ /**
1825
+ * Renders an emoji from a shortcode such as :smile: or unicode character such as 😄
1826
+ * @see https://dialpad.design/components/emoji.html
1827
+ */
1828
+
1620
1829
  /* harmony default export */ const emojivue_type_script_lang_js_ = ({
1621
1830
  name: 'DtEmoji',
1622
1831
  components: {
@@ -1624,19 +1833,21 @@ var skeleton_component = normalizeComponent(
1624
1833
  },
1625
1834
  props: {
1626
1835
  /**
1627
- * Supports shortcode ex: :smile: or unicode ex: 😄. Will display the resulting emoji.
1628
- * See https://emojipedia.org/joypixels/ for all supported shortcode/unicode or the docs
1629
- * for setting up custom emojis.
1630
- */
1836
+ * Supports shortcode ex: :smile: or unicode ex: 😄. Will display the resulting emoji.
1837
+ * See <a href="https://emojipedia.org/joypixels/" target="_blank">JoyPixels</a>
1838
+ * for all supported shortcode/unicode or the docs for setting up custom emojis.
1839
+ */
1631
1840
  code: {
1632
1841
  type: String,
1633
1842
  default: null
1634
1843
  },
1635
1844
 
1636
1845
  /**
1637
- * The size of the emoji. Can be any of the svg size utility
1638
- * classes from https://dialpad.design/utilities/svg/size
1639
- */
1846
+ * The size of the emoji. Can be any of the svg size utility classes from
1847
+ * <a href="https://dialpad.design/utilities/svg/size" target="_blank"> Dialpad SVG Size</a>
1848
+ * @values d-svg--size14, d-svg--size16, d-svg--size18, d-svg--size20
1849
+ * d-svg--size24, d-svg--size32, d-svg--size48, d-svg--size64, d-svg--size100p
1850
+ */
1640
1851
  size: {
1641
1852
  type: String,
1642
1853
  default: EMOJI_SIZES.SIZE_20,
@@ -1645,8 +1856,8 @@ var skeleton_component = normalizeComponent(
1645
1856
 
1646
1857
  /**
1647
1858
  * Additional class name for the emoji img element.
1648
- * Can accept all of String, Object, and Array, i.e. has the
1649
- * same api as Vue's built-in handling of the class attribute.
1859
+ * Can accept String, Object, and Array, i.e. has the
1860
+ * same API as Vue's built-in handling of the class attribute.
1650
1861
  */
1651
1862
  imgClass: {
1652
1863
  type: [String, Object, Array],
@@ -1654,7 +1865,7 @@ var skeleton_component = normalizeComponent(
1654
1865
  },
1655
1866
 
1656
1867
  /**
1657
- * Will be read out on a screenreader for this emoji. You must use this prop if you want your emoji to be i18n
1868
+ * Will be read out on a screen reader for this emoji. You must use this prop if you want your emoji to be i18n
1658
1869
  * Compatible as Dialtone Vue will not translate it by itself. If you do not set this prop the aria-label will
1659
1870
  * be set to the english description of the emoji. You can retrieve the description for an emoji yourself via the
1660
1871
  * getEmojiData() function
@@ -1666,6 +1877,7 @@ var skeleton_component = normalizeComponent(
1666
1877
 
1667
1878
  /**
1668
1879
  * Shows a skeleton loader while the emoji asset is loading.
1880
+ * @values true, false
1669
1881
  */
1670
1882
  showSkeleton: {
1671
1883
  type: Boolean,
@@ -1781,6 +1993,11 @@ var emoji_component = normalizeComponent(
1781
1993
  ;// 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&
1782
1994
 
1783
1995
 
1996
+ /**
1997
+ * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
1998
+ * @see https://dialpad.design/components/emoji_text_wrapper.html
1999
+ */
2000
+
1784
2001
  /* harmony default export */ const emoji_text_wrappervue_type_script_lang_js_ = ({
1785
2002
  name: 'DtEmojiTextWrapper',
1786
2003
  components: {
@@ -1789,7 +2006,7 @@ var emoji_component = normalizeComponent(
1789
2006
  inheritAttrs: false,
1790
2007
  props: {
1791
2008
  /**
1792
- * The type of element to use for the wrapper.
2009
+ * Element type (tag name) to use for the wrapper.
1793
2010
  */
1794
2011
  elementType: {
1795
2012
  type: String,