tabexseriescomponents 0.0.5 → 0.0.6

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/dist/index.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
4
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
+ var React = require('react');
5
5
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var reactRouterDom = require('react-router-dom');
@@ -18,8 +18,8 @@ var hi = require('react-icons/hi');
18
18
 
19
19
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
20
 
21
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
21
  var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
22
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
23
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
24
24
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
25
25
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -453,6 +453,8 @@ var Header8 = function Header8(props) {
453
453
  routingcountext('home');
454
454
  }
455
455
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
456
+ urlEndpoint: 'https://ik.imagekit.io/kcrbhhnh0',
457
+ publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
456
458
  path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
457
459
  style: {
458
460
  maxWidth: '100%',
@@ -838,23 +840,12 @@ var Header8 = function Header8(props) {
838
840
  }))));
839
841
  };
840
842
 
841
- var App = function App() {
843
+ var returnLibrary = function returnLibrary() {
842
844
  return {
843
845
  AwesomeButton: AwesomeButton,
844
- Header8: Header8
845
- }; // </>
846
- // you can add here other components that you want to export
847
- };
848
-
849
- var App$1 = App();
850
-
851
- var returnLibrary = function returnLibrary() {
852
- return /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKContext, {
853
- publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
854
- urlEndpoint: "https://ik.imagekit.io/kcrbhhnh0",
855
- transformationPosition: "path" // authenticationEndpoint="http://www.tab.com/auth"
846
+ Header8: Header8 // you can add here other components that you want to export
856
847
 
857
- }, /*#__PURE__*/React__default["default"].createElement(App$1, null));
848
+ };
858
849
  };
859
850
 
860
851
  var index = returnLibrary();
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import React, { useState, useEffect } from 'react';
2
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
+ import React, { useState, useEffect } from 'react';
3
3
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import { Link } from 'react-router-dom';
@@ -10,7 +10,7 @@ import { CgShoppingBag } from 'react-icons/cg';
10
10
  import { BiUser, BiLogOutCircle } from 'react-icons/bi';
11
11
  import { FiShoppingBag, FiShoppingCart } from 'react-icons/fi';
12
12
  import { MdOutlineShoppingCart, MdOutlinePolicy } from 'react-icons/md';
13
- import { IKImage, IKContext } from 'imagekitio-react';
13
+ import { IKImage } from 'imagekitio-react';
14
14
  import { BsTelephone, BsSearch, BsBag, BsHandbag } from 'react-icons/bs';
15
15
  import { HiMenuAlt4 } from 'react-icons/hi';
16
16
 
@@ -443,6 +443,8 @@ var Header8 = function Header8(props) {
443
443
  routingcountext('home');
444
444
  }
445
445
  }, /*#__PURE__*/React.createElement(IKImage, {
446
+ urlEndpoint: 'https://ik.imagekit.io/kcrbhhnh0',
447
+ publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
446
448
  path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
447
449
  style: {
448
450
  maxWidth: '100%',
@@ -828,23 +830,12 @@ var Header8 = function Header8(props) {
828
830
  }))));
829
831
  };
830
832
 
831
- var App = function App() {
833
+ var returnLibrary = function returnLibrary() {
832
834
  return {
833
835
  AwesomeButton: AwesomeButton,
834
- Header8: Header8
835
- }; // </>
836
- // you can add here other components that you want to export
837
- };
836
+ Header8: Header8 // you can add here other components that you want to export
838
837
 
839
- var App$1 = App();
840
-
841
- var returnLibrary = function returnLibrary() {
842
- return /*#__PURE__*/React.createElement(IKContext, {
843
- publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
844
- urlEndpoint: "https://ik.imagekit.io/kcrbhhnh0",
845
- transformationPosition: "path" // authenticationEndpoint="http://www.tab.com/auth"
846
-
847
- }, /*#__PURE__*/React.createElement(App$1, null));
838
+ };
848
839
  };
849
840
 
850
841
  var index = returnLibrary();
package/dist/index.umd.js CHANGED
@@ -1,13 +1,13 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/defineProperty'), require('react-router-dom'), require('glamor'), require('react-bootstrap/Dropdown'), require('react-icons/ai'), require('react-icons/cg'), require('react-icons/bi'), require('react-icons/fi'), require('react-icons/md'), require('imagekitio-react'), require('react-icons/bs'), require('react-icons/hi')) :
3
- typeof define === 'function' && define.amd ? define(['react', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/defineProperty', 'react-router-dom', 'glamor', 'react-bootstrap/Dropdown', 'react-icons/ai', 'react-icons/cg', 'react-icons/bi', 'react-icons/fi', 'react-icons/md', 'imagekitio-react', 'react-icons/bs', 'react-icons/hi'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["react-awesome-buttons"] = factory(global.React, global._slicedToArray, global._toConsumableArray, global._defineProperty, global.reactRouterDom, global.glamor, global.Dropdown, global.ai, global.cg, global.bi, global.fi, global.md, global.imagekitioReact, global.bs, global.hi));
5
- })(this, (function (React, _slicedToArray, _toConsumableArray, _defineProperty, reactRouterDom, glamor, Dropdown, ai, cg, bi, fi, md, imagekitioReact, bs, hi) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/defineProperty'), require('react-router-dom'), require('glamor'), require('react-bootstrap/Dropdown'), require('react-icons/ai'), require('react-icons/cg'), require('react-icons/bi'), require('react-icons/fi'), require('react-icons/md'), require('imagekitio-react'), require('react-icons/bs'), require('react-icons/hi')) :
3
+ typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/defineProperty', 'react-router-dom', 'glamor', 'react-bootstrap/Dropdown', 'react-icons/ai', 'react-icons/cg', 'react-icons/bi', 'react-icons/fi', 'react-icons/md', 'imagekitio-react', 'react-icons/bs', 'react-icons/hi'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["react-awesome-buttons"] = factory(global._slicedToArray, global.React, global._toConsumableArray, global._defineProperty, global.reactRouterDom, global.glamor, global.Dropdown, global.ai, global.cg, global.bi, global.fi, global.md, global.imagekitioReact, global.bs, global.hi));
5
+ })(this, (function (_slicedToArray, React, _toConsumableArray, _defineProperty, reactRouterDom, glamor, Dropdown, ai, cg, bi, fi, md, imagekitioReact, bs, hi) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
9
  var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
11
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
12
12
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
13
13
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -441,6 +441,8 @@
441
441
  routingcountext('home');
442
442
  }
443
443
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
444
+ urlEndpoint: 'https://ik.imagekit.io/kcrbhhnh0',
445
+ publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
444
446
  path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
445
447
  style: {
446
448
  maxWidth: '100%',
@@ -826,23 +828,12 @@
826
828
  }))));
827
829
  };
828
830
 
829
- var App = function App() {
831
+ var returnLibrary = function returnLibrary() {
830
832
  return {
831
833
  AwesomeButton: AwesomeButton,
832
- Header8: Header8
833
- }; // </>
834
- // you can add here other components that you want to export
835
- };
834
+ Header8: Header8 // you can add here other components that you want to export
836
835
 
837
- var App$1 = App();
838
-
839
- var returnLibrary = function returnLibrary() {
840
- return /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKContext, {
841
- publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
842
- urlEndpoint: "https://ik.imagekit.io/kcrbhhnh0",
843
- transformationPosition: "path" // authenticationEndpoint="http://www.tab.com/auth"
844
-
845
- }, /*#__PURE__*/React__default["default"].createElement(App$1, null));
836
+ };
846
837
  };
847
838
 
848
839
  var index = returnLibrary();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {