@tap-payments/auth-jsconnect 2.10.7-development → 2.10.8-development

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.
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare type AEDSymbolProps = React.SVGProps<SVGSVGElement> & {
3
+ width?: number;
4
+ height?: number;
5
+ };
6
+ declare const AEDSymbol: ({ height, ...svgProps }: AEDSymbolProps) => JSX.Element;
7
+ export default AEDSymbol;
@@ -0,0 +1,28 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ var AEDSymbol = function (_a) {
25
+ var _b = _a.height, height = _b === void 0 ? 10 : _b, svgProps = __rest(_a, ["height"]);
26
+ return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 344.84 299.91' }, svgProps, { children: _jsx("path", { d: 'M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z' }) })) })));
27
+ };
28
+ export default AEDSymbol;
@@ -1,2 +1,2 @@
1
- import SARSymbol from './SARSymbol';
2
- export { SARSymbol };
1
+ import { CURRENCY_ICON } from './utils';
2
+ export { CURRENCY_ICON };
@@ -1,2 +1,2 @@
1
- import SARSymbol from './SARSymbol';
2
- export { SARSymbol };
1
+ import { CURRENCY_ICON } from './utils';
2
+ export { CURRENCY_ICON };
@@ -1,4 +1,6 @@
1
1
  import SARSymbol from './SARSymbol';
2
+ import AEDSymbol from './AEDSymbol';
2
3
  export var CURRENCY_ICON = {
3
- SA: SARSymbol
4
+ SA: SARSymbol,
5
+ AE: AEDSymbol
4
6
  };
@@ -1,6 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { getCurrencyByCountryIso2 } from '../../utils';
3
- import { CURRENCY_ICON } from '../../assets/currencies/utils';
3
+ import { CURRENCY_ICON } from '../../assets/currencies';
4
4
  var TextWithCurrency = function (_a) {
5
5
  var text = _a.text, countryCode = _a.countryCode;
6
6
  if (!countryCode)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.10.7-development",
3
+ "version": "2.10.8-development",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",