@bigbinary/neetoui 4.4.18 → 4.4.19

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.
package/managers.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";function e(e,t){for(var s=0;s<t.length;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(exports,"__esModule",{value:!0});var t=new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.overlays=[],this.previouslyFocusedElements=[],this.add=this.add.bind(this),this.remove=this.remove.bind(this),this.isTopOverlay=this.isTopOverlay.bind(this),this.hasOverlays=this.hasOverlays.bind(this),this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),this.getTopMostOverlay=this.getTopMostOverlay.bind(this)}var s,i,r;return s=t,(i=[{key:"add",value:function(e,t){this.overlays.push(e),this.previouslyFocusedElements.push(t)}},{key:"remove",value:function(e){this.overlays=this.overlays.filter((function(t){return t!==e}))}},{key:"isTopOverlay",value:function(e){return this.overlays[this.overlays.length-1]===e}},{key:"hasOverlays",value:function(){return this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return this.overlays[this.overlays.length-1]}}])&&e(s.prototype,i),r&&e(s,r),Object.defineProperty(s,"prototype",{writable:!1}),t}());exports.manager=t;
1
+ "use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(e)}function e(e){var l=function(e,l){if("object"!==n(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,l||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===l?String:Number)(e)}(e,"string");return"symbol"===n(l)?l:String(l)}function l(n,l){for(var t=0;t<l.length;t++){var o=l[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,e(o.key),o)}}function t(){var n="/home/runner/work/neeto-ui/neeto-ui/src/managers/OverlayManager.js",e=new Function("return this")(),l="__coverage__",o=e[l]||(e[l]={});o[n]&&"b10a130bc0ca4350f516a8502cb17f2d60c7f052"===o[n].hash||(o[n]={path:"/home/runner/work/neeto-ui/neeto-ui/src/managers/OverlayManager.js",statementMap:{0:{start:{line:3,column:4},end:{line:3,column:23}},1:{start:{line:4,column:4},end:{line:4,column:40}},2:{start:{line:5,column:4},end:{line:5,column:35}},3:{start:{line:6,column:4},end:{line:6,column:41}},4:{start:{line:7,column:4},end:{line:7,column:53}},5:{start:{line:8,column:4},end:{line:8,column:51}},6:{start:{line:9,column:4},end:{line:9,column:73}},7:{start:{line:10,column:4},end:{line:10,column:63}},8:{start:{line:14,column:4},end:{line:14,column:32}},9:{start:{line:15,column:4},end:{line:15,column:56}},10:{start:{line:19,column:4},end:{line:19,column:77}},11:{start:{line:19,column:55},end:{line:19,column:75}},12:{start:{line:23,column:27},end:{line:23,column:66}},13:{start:{line:24,column:4},end:{line:24,column:38}},14:{start:{line:28,column:4},end:{line:28,column:36}},15:{start:{line:32,column:4},end:{line:32,column:48}},16:{start:{line:36,column:4},end:{line:36,column:51}},17:{start:{line:40,column:23},end:{line:40,column:43}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:2,column:2},end:{line:2,column:3}},loc:{start:{line:2,column:16},end:{line:11,column:3}},line:2},1:{name:"(anonymous_1)",decl:{start:{line:13,column:2},end:{line:13,column:3}},loc:{start:{line:13,column:31},end:{line:16,column:3}},line:13},2:{name:"(anonymous_2)",decl:{start:{line:18,column:2},end:{line:18,column:3}},loc:{start:{line:18,column:18},end:{line:20,column:3}},line:18},3:{name:"(anonymous_3)",decl:{start:{line:19,column:41},end:{line:19,column:42}},loc:{start:{line:19,column:55},end:{line:19,column:75}},line:19},4:{name:"(anonymous_4)",decl:{start:{line:22,column:2},end:{line:22,column:3}},loc:{start:{line:22,column:24},end:{line:25,column:3}},line:22},5:{name:"(anonymous_5)",decl:{start:{line:27,column:2},end:{line:27,column:3}},loc:{start:{line:27,column:16},end:{line:29,column:3}},line:27},6:{name:"(anonymous_6)",decl:{start:{line:31,column:2},end:{line:31,column:3}},loc:{start:{line:31,column:27},end:{line:33,column:3}},line:31},7:{name:"(anonymous_7)",decl:{start:{line:35,column:2},end:{line:35,column:3}},loc:{start:{line:35,column:22},end:{line:37,column:3}},line:35}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b10a130bc0ca4350f516a8502cb17f2d60c7f052"});var i=o[n];return t=function(){return i},i}Object.defineProperty(exports,"__esModule",{value:!0}),t();var o=function(){function n(){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),t().f[0]++,t().s[0]++,this.overlays=[],t().s[1]++,this.previouslyFocusedElements=[],t().s[2]++,this.add=this.add.bind(this),t().s[3]++,this.remove=this.remove.bind(this),t().s[4]++,this.isTopOverlay=this.isTopOverlay.bind(this),t().s[5]++,this.hasOverlays=this.hasOverlays.bind(this),t().s[6]++,this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),t().s[7]++,this.getTopMostOverlay=this.getTopMostOverlay.bind(this)}var e,o,i;return e=n,(o=[{key:"add",value:function(n,e){t().f[1]++,t().s[8]++,this.overlays.push(n),t().s[9]++,this.previouslyFocusedElements.push(e)}},{key:"remove",value:function(n){t().f[2]++,t().s[10]++,this.overlays=this.overlays.filter((function(e){return t().f[3]++,t().s[11]++,e!==n}))}},{key:"isTopOverlay",value:function(n){t().f[4]++;var e=(t().s[12]++,this.overlays[this.overlays.length-1]);return t().s[13]++,e===n}},{key:"hasOverlays",value:function(){return t().f[5]++,t().s[14]++,this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return t().f[6]++,t().s[15]++,this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return t().f[7]++,t().s[16]++,this.overlays[this.overlays.length-1]}}])&&l(e.prototype,o),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),n}(),i=(t().s[17]++,new o);function r(){var n="/home/runner/work/neeto-ui/neeto-ui/src/managers/index.js",e=new Function("return this")(),l="__coverage__",t=e[l]||(e[l]={});t[n]&&"e2dd7861ac22bb8137180c99f122b0d8e672c489"===t[n].hash||(t[n]={path:"/home/runner/work/neeto-ui/neeto-ui/src/managers/index.js",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e2dd7861ac22bb8137180c99f122b0d8e672c489"});var o=t[n];return r=function(){return o},o}r(),exports.manager=i;
package/managers.js CHANGED
@@ -1 +1 @@
1
- function e(e,t){for(var s=0;s<t.length;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var t=new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.overlays=[],this.previouslyFocusedElements=[],this.add=this.add.bind(this),this.remove=this.remove.bind(this),this.isTopOverlay=this.isTopOverlay.bind(this),this.hasOverlays=this.hasOverlays.bind(this),this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),this.getTopMostOverlay=this.getTopMostOverlay.bind(this)}var s,i,n;return s=t,(i=[{key:"add",value:function(e,t){this.overlays.push(e),this.previouslyFocusedElements.push(t)}},{key:"remove",value:function(e){this.overlays=this.overlays.filter((function(t){return t!==e}))}},{key:"isTopOverlay",value:function(e){return this.overlays[this.overlays.length-1]===e}},{key:"hasOverlays",value:function(){return this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return this.overlays[this.overlays.length-1]}}])&&e(s.prototype,i),n&&e(s,n),Object.defineProperty(s,"prototype",{writable:!1}),t}());export{t as manager};
1
+ function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(e)}function e(e){var l=function(e,l){if("object"!==n(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,l||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===l?String:Number)(e)}(e,"string");return"symbol"===n(l)?l:String(l)}function l(n,l){for(var t=0;t<l.length;t++){var o=l[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,e(o.key),o)}}function t(){var n="/home/runner/work/neeto-ui/neeto-ui/src/managers/OverlayManager.js",e=new Function("return this")(),l="__coverage__",o=e[l]||(e[l]={});o[n]&&"b10a130bc0ca4350f516a8502cb17f2d60c7f052"===o[n].hash||(o[n]={path:"/home/runner/work/neeto-ui/neeto-ui/src/managers/OverlayManager.js",statementMap:{0:{start:{line:3,column:4},end:{line:3,column:23}},1:{start:{line:4,column:4},end:{line:4,column:40}},2:{start:{line:5,column:4},end:{line:5,column:35}},3:{start:{line:6,column:4},end:{line:6,column:41}},4:{start:{line:7,column:4},end:{line:7,column:53}},5:{start:{line:8,column:4},end:{line:8,column:51}},6:{start:{line:9,column:4},end:{line:9,column:73}},7:{start:{line:10,column:4},end:{line:10,column:63}},8:{start:{line:14,column:4},end:{line:14,column:32}},9:{start:{line:15,column:4},end:{line:15,column:56}},10:{start:{line:19,column:4},end:{line:19,column:77}},11:{start:{line:19,column:55},end:{line:19,column:75}},12:{start:{line:23,column:27},end:{line:23,column:66}},13:{start:{line:24,column:4},end:{line:24,column:38}},14:{start:{line:28,column:4},end:{line:28,column:36}},15:{start:{line:32,column:4},end:{line:32,column:48}},16:{start:{line:36,column:4},end:{line:36,column:51}},17:{start:{line:40,column:23},end:{line:40,column:43}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:2,column:2},end:{line:2,column:3}},loc:{start:{line:2,column:16},end:{line:11,column:3}},line:2},1:{name:"(anonymous_1)",decl:{start:{line:13,column:2},end:{line:13,column:3}},loc:{start:{line:13,column:31},end:{line:16,column:3}},line:13},2:{name:"(anonymous_2)",decl:{start:{line:18,column:2},end:{line:18,column:3}},loc:{start:{line:18,column:18},end:{line:20,column:3}},line:18},3:{name:"(anonymous_3)",decl:{start:{line:19,column:41},end:{line:19,column:42}},loc:{start:{line:19,column:55},end:{line:19,column:75}},line:19},4:{name:"(anonymous_4)",decl:{start:{line:22,column:2},end:{line:22,column:3}},loc:{start:{line:22,column:24},end:{line:25,column:3}},line:22},5:{name:"(anonymous_5)",decl:{start:{line:27,column:2},end:{line:27,column:3}},loc:{start:{line:27,column:16},end:{line:29,column:3}},line:27},6:{name:"(anonymous_6)",decl:{start:{line:31,column:2},end:{line:31,column:3}},loc:{start:{line:31,column:27},end:{line:33,column:3}},line:31},7:{name:"(anonymous_7)",decl:{start:{line:35,column:2},end:{line:35,column:3}},loc:{start:{line:35,column:22},end:{line:37,column:3}},line:35}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b10a130bc0ca4350f516a8502cb17f2d60c7f052"});var i=o[n];return t=function(){return i},i}t();var o=function(){function n(){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),t().f[0]++,t().s[0]++,this.overlays=[],t().s[1]++,this.previouslyFocusedElements=[],t().s[2]++,this.add=this.add.bind(this),t().s[3]++,this.remove=this.remove.bind(this),t().s[4]++,this.isTopOverlay=this.isTopOverlay.bind(this),t().s[5]++,this.hasOverlays=this.hasOverlays.bind(this),t().s[6]++,this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),t().s[7]++,this.getTopMostOverlay=this.getTopMostOverlay.bind(this)}var e,o,i;return e=n,(o=[{key:"add",value:function(n,e){t().f[1]++,t().s[8]++,this.overlays.push(n),t().s[9]++,this.previouslyFocusedElements.push(e)}},{key:"remove",value:function(n){t().f[2]++,t().s[10]++,this.overlays=this.overlays.filter((function(e){return t().f[3]++,t().s[11]++,e!==n}))}},{key:"isTopOverlay",value:function(n){t().f[4]++;var e=(t().s[12]++,this.overlays[this.overlays.length-1]);return t().s[13]++,e===n}},{key:"hasOverlays",value:function(){return t().f[5]++,t().s[14]++,this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return t().f[6]++,t().s[15]++,this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return t().f[7]++,t().s[16]++,this.overlays[this.overlays.length-1]}}])&&l(e.prototype,o),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),n}(),i=(t().s[17]++,new o);function r(){var n="/home/runner/work/neeto-ui/neeto-ui/src/managers/index.js",e=new Function("return this")(),l="__coverage__",t=e[l]||(e[l]={});t[n]&&"e2dd7861ac22bb8137180c99f122b0d8e672c489"===t[n].hash||(t[n]={path:"/home/runner/work/neeto-ui/neeto-ui/src/managers/index.js",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e2dd7861ac22bb8137180c99f122b0d8e672c489"});var o=t[n];return r=function(){return o},o}r();export{i as manager};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui",
3
- "version": "4.4.18",
3
+ "version": "4.4.19",
4
4
  "main": "./index.cjs.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -28,6 +28,11 @@
28
28
  "eslint --fix"
29
29
  ]
30
30
  },
31
+ "engines": {
32
+ "node": ">=18.12",
33
+ "npm": ">=9",
34
+ "yarn": ">=1.22"
35
+ },
31
36
  "exports": {
32
37
  ".": {
33
38
  "import": "./index.js",
@@ -52,12 +57,15 @@
52
57
  }
53
58
  },
54
59
  "devDependencies": {
55
- "@babel/core": "7.11.6",
56
- "@babel/eslint-parser": "^7.18.9",
57
- "@babel/plugin-transform-runtime": "7.17.0",
58
- "@babel/preset-env": "7.14.7",
59
- "@babel/preset-react": "7.14.5",
60
- "@babel/runtime": "7.17.9",
60
+ "@babel/core": "^7.19.1",
61
+ "@babel/eslint-parser": "7.17.0",
62
+ "@babel/plugin-transform-runtime": "^7.19.1",
63
+ "@babel/preset-env": "7.17.10",
64
+ "@babel/preset-react": "7.16.7",
65
+ "@babel/preset-typescript": "^7.18.6",
66
+ "@babel/runtime": "^7.19.0",
67
+ "@bigbinary/eslint-plugin-neeto": "^1.0.26",
68
+ "@bigbinary/neeto-commons-frontend": "^2.0.42",
61
69
  "@bigbinary/neeto-icons": "^1.9.22",
62
70
  "@reach/auto-id": "0.15.0",
63
71
  "@rollup/plugin-alias": "^4.0.3",
@@ -83,18 +91,32 @@
83
91
  "@tippyjs/react": "4.2.5",
84
92
  "antd": "4.24.3",
85
93
  "autoprefixer": "9.0.0",
94
+ "babel-loader": "^8.2.5",
95
+ "babel-plugin-dynamic-import-node": "^2.3.3",
86
96
  "babel-plugin-import": "^1.13.5",
87
- "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
97
+ "babel-plugin-istanbul": "^6.1.1",
98
+ "babel-plugin-js-logger": "1.0.17",
99
+ "babel-plugin-macros": "3.1.0",
100
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
101
+ "babel-preset-react": "6.24.1",
102
+ "babel-preset-typescript": "^7.0.0-alpha.19",
88
103
  "boring-avatars": "^1.7.0",
89
104
  "chromatic": "6.5.1",
90
105
  "classnames": "2.2.6",
91
106
  "css-loader": "4.3.0",
92
107
  "cssnano": "4.1.11",
93
108
  "dayjs": "1.11.1",
94
- "eslint": "7.32.0",
95
- "eslint-config-prettier": "8.3.0",
109
+ "eslint": "8.14.0",
110
+ "eslint-config-prettier": "8.5.0",
111
+ "eslint-plugin-cypress": "2.12.1",
112
+ "eslint-plugin-import": "2.26.0",
113
+ "eslint-plugin-jam3": "0.2.3",
96
114
  "eslint-plugin-json": "3.1.0",
97
- "eslint-plugin-react": "7.24.0",
115
+ "eslint-plugin-prettier": "4.0.0",
116
+ "eslint-plugin-promise": "6.0.0",
117
+ "eslint-plugin-react": "7.29.4",
118
+ "eslint-plugin-react-hooks": "4.5.0",
119
+ "eslint-plugin-unused-imports": "2.0.0",
98
120
  "file-loader": "6.1.1",
99
121
  "formik": "2.2.0",
100
122
  "framer-motion": "4.1.17",
@@ -106,13 +128,14 @@
106
128
  "identity-obj-proxy": "3.0.0",
107
129
  "jest": "27.3.1",
108
130
  "lint-staged": "11.0.0",
109
- "postcss": "7",
110
- "postcss-import": "12.0.1",
111
- "postcss-loader": "4.0.3",
112
- "postcss-preset-env": "6.7.0",
113
- "prettier": "2.2.1",
131
+ "postcss": "^8.4.17",
132
+ "postcss-import": "^15.0.0",
133
+ "postcss-loader": "^7.0.1",
134
+ "postcss-preset-env": "7.8.2",
135
+ "prettier": "2.6.2",
136
+ "prettier-plugin-tailwindcss": "0.1.10",
114
137
  "prop-types": "15.8.1",
115
- "ramda": "0.27.1",
138
+ "ramda": "^0.28.0",
116
139
  "raw-loader": "4.0.2",
117
140
  "react": "17.0.2",
118
141
  "react-colorful": "^5.6.1",