@pedidopago/ui 1.7.3 → 1.7.5

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.
Files changed (45) hide show
  1. package/dist/components/EmojiPicker/EmotePickerData/constants.d.ts.map +1 -1
  2. package/dist/components/EmojiPicker/EmotePickerData/constants.js +5 -6
  3. package/dist/shared/assets/emotes.d.ts +5008 -0
  4. package/dist/shared/assets/emotes.d.ts.map +1 -0
  5. package/dist/shared/assets/emotes.js +1 -0
  6. package/package.json +2 -2
  7. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +0 -5
  8. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts.map +0 -1
  9. package/dist/components/Illustration/AlternativeOrderSvg/index.js +0 -105
  10. package/dist/components/Illustration/BoletoSvg/index.d.ts +0 -5
  11. package/dist/components/Illustration/BoletoSvg/index.d.ts.map +0 -1
  12. package/dist/components/Illustration/BoletoSvg/index.js +0 -166
  13. package/dist/components/Illustration/BoxClosedSvg/index.d.ts +0 -5
  14. package/dist/components/Illustration/BoxClosedSvg/index.d.ts.map +0 -1
  15. package/dist/components/Illustration/BoxClosedSvg/index.js +0 -97
  16. package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +0 -5
  17. package/dist/components/Illustration/BoxDeliverySvg/index.d.ts.map +0 -1
  18. package/dist/components/Illustration/BoxDeliverySvg/index.js +0 -109
  19. package/dist/components/Illustration/BoxOpenSvg/index.d.ts +0 -5
  20. package/dist/components/Illustration/BoxOpenSvg/index.d.ts.map +0 -1
  21. package/dist/components/Illustration/BoxOpenSvg/index.js +0 -106
  22. package/dist/components/Illustration/CalendarSvg/index.d.ts +0 -5
  23. package/dist/components/Illustration/CalendarSvg/index.d.ts.map +0 -1
  24. package/dist/components/Illustration/CalendarSvg/index.js +0 -107
  25. package/dist/components/Illustration/CardSvg/index.d.ts +0 -5
  26. package/dist/components/Illustration/CardSvg/index.d.ts.map +0 -1
  27. package/dist/components/Illustration/CardSvg/index.js +0 -108
  28. package/dist/components/Illustration/CollaboratorSvg/index.d.ts +0 -5
  29. package/dist/components/Illustration/CollaboratorSvg/index.d.ts.map +0 -1
  30. package/dist/components/Illustration/CollaboratorSvg/index.js +0 -97
  31. package/dist/components/Illustration/InquirySvg/index.d.ts +0 -5
  32. package/dist/components/Illustration/InquirySvg/index.d.ts.map +0 -1
  33. package/dist/components/Illustration/InquirySvg/index.js +0 -217
  34. package/dist/components/Illustration/OrderSvg/index.d.ts +0 -5
  35. package/dist/components/Illustration/OrderSvg/index.d.ts.map +0 -1
  36. package/dist/components/Illustration/OrderSvg/index.js +0 -133
  37. package/dist/components/Illustration/PixSvg/index.d.ts +0 -5
  38. package/dist/components/Illustration/PixSvg/index.d.ts.map +0 -1
  39. package/dist/components/Illustration/PixSvg/index.js +0 -91
  40. package/dist/components/Illustration/PrescriptionSvg/index.d.ts +0 -5
  41. package/dist/components/Illustration/PrescriptionSvg/index.d.ts.map +0 -1
  42. package/dist/components/Illustration/PrescriptionSvg/index.js +0 -79
  43. package/dist/components/Illustration/TransportSvg/index.d.ts +0 -5
  44. package/dist/components/Illustration/TransportSvg/index.d.ts.map +0 -1
  45. package/dist/components/Illustration/TransportSvg/index.js +0 -100
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/EmotePickerData/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG/C,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAUjD,CAAC;AAEF,eAAO,MAAM,YAAY,cAA0E,CAAC;AAEpG,eAAO,MAAM,SAAS;;;;GAUlB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/EmotePickerData/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAUjD,CAAC;AAEF,eAAO,MAAM,YAAY,cAAuE,CAAC;AAEjG,eAAO,MAAM,SAAS;;;;GAUlB,CAAC"}
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.sortedEmojis = exports.emoteList = exports.emoteCategories = void 0;
7
- var _emotes = _interopRequireDefault(require("../../../shared/assets/emotes.json"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7
+ var _emotes2 = require("../../../shared/assets/emotes");
9
8
  var emoteCategories = [{
10
9
  name: 'Smileys & Emotion',
11
10
  icon: 'smile'
@@ -35,17 +34,17 @@ var emoteCategories = [{
35
34
  icon: 'flag'
36
35
  }];
37
36
  exports.emoteCategories = emoteCategories;
38
- var sortedEmojis = _emotes.default.sort(function (a, b) {
37
+ var sortedEmojis = _emotes2.emotes.sort(function (a, b) {
39
38
  return a.sort_order - b.sort_order;
40
39
  });
41
40
  exports.sortedEmojis = sortedEmojis;
42
41
  var emoteList = sortedEmojis.filter(function (emote, index) {
43
- var _emoteData;
44
- return emote.category !== (_emotes.default === null || _emotes.default === void 0 ? void 0 : (_emoteData = _emotes.default[index - 1]) === null || _emoteData === void 0 ? void 0 : _emoteData.category);
42
+ var _emotes;
43
+ return emote.category !== (_emotes2.emotes === null || _emotes2.emotes === void 0 ? void 0 : (_emotes = _emotes2.emotes[index - 1]) === null || _emotes === void 0 ? void 0 : _emotes.category);
45
44
  }).map(function (emote) {
46
45
  return {
47
46
  category: emote.category,
48
- startAt: _emotes.default.indexOf(emote),
47
+ startAt: _emotes2.emotes.indexOf(emote),
49
48
  emote: emote
50
49
  };
51
50
  });