@sb1/ffe-feedback-react 2.0.45 → 3.0.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.
Files changed (69) hide show
  1. package/README.md +0 -5
  2. package/es/Animation.js +18 -0
  3. package/es/Feedback.js +61 -0
  4. package/es/FeedbackExpanded.js +35 -0
  5. package/es/FeedbackThumbs.js +13 -0
  6. package/es/highFiveAnimation.js +24158 -0
  7. package/es/i18n/en.js +16 -16
  8. package/es/i18n/nb.js +16 -16
  9. package/es/i18n/nn.js +16 -16
  10. package/es/i18n/texts.js +8 -0
  11. package/es/icons/ThumbDown.js +14 -0
  12. package/es/icons/ThumbDownFill.js +14 -0
  13. package/es/icons/ThumbUp.js +14 -0
  14. package/es/icons/index.js +4 -4
  15. package/es/icons/thumbUpFill.js +14 -0
  16. package/es/index.js +1 -4
  17. package/lib/Animation.js +48 -0
  18. package/lib/Feedback.js +91 -0
  19. package/lib/FeedbackExpanded.js +62 -0
  20. package/lib/FeedbackThumbs.js +20 -0
  21. package/lib/highFiveAnimation.js +24160 -0
  22. package/lib/i18n/en.js +18 -21
  23. package/lib/i18n/nb.js +18 -21
  24. package/lib/i18n/nn.js +18 -21
  25. package/lib/i18n/texts.js +11 -0
  26. package/lib/icons/ThumbDown.js +21 -0
  27. package/lib/icons/ThumbDownFill.js +21 -0
  28. package/lib/icons/ThumbUp.js +21 -0
  29. package/lib/icons/index.js +10 -33
  30. package/lib/icons/thumbUpFill.js +21 -0
  31. package/lib/index.js +4 -15
  32. package/package.json +6 -8
  33. package/types/Animation.d.ts +2 -0
  34. package/types/Feedback.d.ts +15 -0
  35. package/types/FeedbackExpanded.d.ts +12 -0
  36. package/types/FeedbackThumbs.d.ts +9 -0
  37. package/types/highFiveAnimation.d.ts +4085 -0
  38. package/types/i18n/en.d.ts +16 -0
  39. package/types/i18n/nb.d.ts +16 -0
  40. package/types/i18n/nn.d.ts +16 -0
  41. package/types/i18n/texts.d.ts +50 -0
  42. package/types/icons/ThumbDown.d.ts +2 -0
  43. package/types/icons/ThumbDownFill.d.ts +2 -0
  44. package/types/icons/ThumbUp.d.ts +2 -0
  45. package/types/icons/index.d.ts +4 -0
  46. package/types/icons/thumbUpFill.d.ts +2 -0
  47. package/types/index.d.ts +2 -29
  48. package/es/animation.js +0 -22
  49. package/es/feedback-expanded.js +0 -82
  50. package/es/feedback-thumbs.js +0 -45
  51. package/es/feedback.js +0 -120
  52. package/es/high-five-animation.js +0 -1
  53. package/es/i18n/i18n.js +0 -8
  54. package/es/icons/thumb-down-fill.js +0 -14
  55. package/es/icons/thumb-down.js +0 -14
  56. package/es/icons/thumb-up-fill.js +0 -14
  57. package/es/icons/thumb-up.js +0 -14
  58. package/es/index.d.js +0 -3
  59. package/lib/animation.js +0 -32
  60. package/lib/feedback-expanded.js +0 -92
  61. package/lib/feedback-thumbs.js +0 -52
  62. package/lib/feedback.js +0 -129
  63. package/lib/high-five-animation.js +0 -1
  64. package/lib/i18n/i18n.js +0 -15
  65. package/lib/icons/thumb-down-fill.js +0 -23
  66. package/lib/icons/thumb-down.js +0 -23
  67. package/lib/icons/thumb-up-fill.js +0 -23
  68. package/lib/icons/thumb-up.js +0 -23
  69. package/lib/index.d.js +0 -16
package/lib/i18n/i18n.js DELETED
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _en = _interopRequireDefault(require("./en"));
8
- var _nn = _interopRequireDefault(require("./nn"));
9
- var _nb = _interopRequireDefault(require("./nb"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- var _default = exports.default = {
12
- nb: _nb.default,
13
- nn: _nn.default,
14
- en: _en.default
15
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var React = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
- var ThumbDownFill = function ThumbDownFill(props) {
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- "aria-hidden": true,
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 48,
17
- height: 48,
18
- viewBox: "0 -960 960 960"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- d: "M239-840h467v512L428-40l-33-26q-11-8-14.5-18t-3.5-23v-10l45-211H100q-23 0-41.5-18.5T40-388v-82q0-11 2.5-25.5T50-521l116-268q9-21 29.5-36t43.5-15m527 512v-512h114v512z"
21
- }));
22
- };
23
- var _default = exports.default = ThumbDownFill;
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var React = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
- var ThumbDown = function ThumbDown(props) {
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- "aria-hidden": true,
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 48,
17
- height: 48,
18
- viewBox: "0 -960 960 960"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- d: "M105-328q-24 0-42-18t-18-42v-81.839Q45-477 43.5-484.5T45-499l126-290q8.878-21.25 29.595-36.125T244-840h444v512L463-90q-13.6 14-32.187 16.5T395-81q-17-10-25.5-27.5t-4.2-36.5L404-328zm523-25v-427H231L105-481v93h373l-53 249zm193-487q24.75 0 42.375 17.625T881-780v392q0 24.75-17.625 42.375T821-328H688v-60h133v-392H688v-60zm-193 60v427z"
21
- }));
22
- };
23
- var _default = exports.default = ThumbDown;
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var React = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
- var ThumbUpFill = function ThumbUpFill(props) {
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- "aria-hidden": true,
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 48,
17
- height: 48,
18
- viewBox: "0 -960 960 960"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- d: "M860-632q23 0 41.5 18.5T920-572v82q0 11-2.5 25.5T910-439L794-171q-9 21-29.5 36T721-120H314q-25 0-42.5-17.5T254-180v-428q0-11 4.5-22t12.5-19l207-218q14-14 33.5-17t36.5 7 25.5 28 4.5 37l-38 180zM137-120q-23 0-40-17t-17-40v-398q0-23 17-40t40-17 40 17 17 40v398q0 23-17 40t-40 17"
21
- }));
22
- };
23
- var _default = exports.default = ThumbUpFill;
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var React = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
- var ThumbUp = function ThumbUp(props) {
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- "aria-hidden": true,
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 48,
17
- height: 48,
18
- viewBox: "0 -960 960 960"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- d: "M855-632q24 0 42 18t18 42v81.839q0 7.161 1.5 14.661T915-461L789-171q-8.878 21.25-29.595 36.125T716-120H272v-512l225-238q13.6-14 32.187-16.5T565-879q17 10 25.5 27.5t4.2 36.5L556-632zm-523 25v427h397l126-299v-93H482l53-249zM139-120q-24.75 0-42.375-17.625T79-180v-392q0-24.75 17.625-42.375T139-632h133v60H139v392h133v60zm193-60v-427z"
21
- }));
22
- };
23
- var _default = exports.default = ThumbUp;
package/lib/index.d.js DELETED
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- Object.defineProperty(exports, "Thumbs", {
8
- enumerable: true,
9
- get: function get() {
10
- return _feedbackThumbs.Thumbs;
11
- }
12
- });
13
- var React = _interopRequireWildcard(require("react"));
14
- var _feedbackThumbs = require("../src/feedback-thumbs");
15
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }