@pelcro/react-pelcro-js 3.8.0 → 3.8.1-beta.1

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
@@ -7930,8 +7930,6 @@ const getEntitlementsFromElem = elem => {
7930
7930
  return elem.dataset.pelcroEntitlements.split(",").map(entitlement => entitlement.trim()).filter(entitlement => entitlement);
7931
7931
  };
7932
7932
  const getPaymentCardIcon$1 = name => {
7933
- var _icons$name$toLowerCa;
7934
-
7935
7933
  const icons = {
7936
7934
  visa: /*#__PURE__*/React__default['default'].createElement("svg", {
7937
7935
  className: "plc-w-16",
@@ -7970,7 +7968,7 @@ const getPaymentCardIcon$1 = name => {
7970
7968
  d: "M22.255 20l-2.113 4.683L18.039 20h-2.695v6.726L12.341 20h-2.274L7 26.981h1.815l.671-1.558h3.432l.682 1.558h3.465v-5.185l2.299 5.185h1.563l2.351-5.095v5.095H25V20H22.255zM10.135 23.915l1.026-2.44 1.066 2.44H10.135zM37.883 23.413L41 20.018h-2.217l-1.994 2.164L34.86 20H28v6.982h6.635l2.092-2.311L38.767 27h2.21L37.883 23.413zM33.728 25.516h-4.011v-1.381h3.838v-1.323h-3.838v-1.308l4.234.012 1.693 1.897L33.728 25.516z"
7971
7969
  }))
7972
7970
  };
7973
- return (_icons$name$toLowerCa = icons[name.toLowerCase()]) !== null && _icons$name$toLowerCa !== void 0 ? _icons$name$toLowerCa : /*#__PURE__*/React__default['default'].createElement("svg", {
7971
+ return name ? icons[name.toLowerCase()] : /*#__PURE__*/React__default['default'].createElement("svg", {
7974
7972
  xmlns: "http://www.w3.org/2000/svg",
7975
7973
  className: "plc-w-16",
7976
7974
  fill: "none",
@@ -24854,8 +24852,6 @@ var GroupContext = /*#__PURE__*/React.createContext(null);
24854
24852
  GroupContext.displayName = 'GroupContext';
24855
24853
 
24856
24854
  const getPaymentCardIcon = name => {
24857
- var _icons$name$toLowerCa;
24858
-
24859
24855
  const icons = {
24860
24856
  visa: /*#__PURE__*/React__default['default'].createElement("svg", {
24861
24857
  className: "plc-w-12",
@@ -24882,7 +24878,7 @@ const getPaymentCardIcon = name => {
24882
24878
  d: "M 5 7 C 2.25 7 0 9.25 0 12 L 0 38 C 0 40.75 2.25 43 5 43 L 45 43 C 47.75 43 50 40.75 50 38 L 50 12 C 50 9.25 47.75 7 45 7 Z M 5 9 L 45 9 C 46.667969 9 48 10.332031 48 12 L 48 38 C 48 39.667969 46.667969 41 45 41 L 5 41 C 3.332031 41 2 39.667969 2 38 L 2 12 C 2 10.332031 3.332031 9 5 9 Z M 8.5625 19.90625 L 4.84375 28.40625 L 7.0625 28.40625 L 7.875 26.5 L 12.0625 26.5 L 12.875 28.40625 L 17.09375 28.40625 L 17.09375 22.09375 L 19.90625 28.40625 L 21.8125 28.40625 L 24.65625 22.1875 L 24.65625 28.40625 L 26.75 28.40625 L 26.75 19.90625 L 23.40625 19.90625 L 20.84375 25.625 L 18.28125 19.90625 L 15 19.90625 L 15 28.09375 L 11.34375 19.90625 Z M 29.5 19.90625 L 29.5 28.4375 L 37.5 28.4375 L 40 25.59375 L 42.46875 28.4375 L 45.125 28.4375 L 41.375 24.0625 L 45.125 19.90625 L 42.46875 19.90625 L 40.0625 22.5625 L 37.75 19.90625 Z M 9.90625 21.6875 L 11.21875 24.6875 L 8.65625 24.6875 Z M 31.5625 21.71875 L 36.65625 21.75 L 38.6875 24.0625 L 36.40625 26.625 L 31.5625 26.625 L 31.5625 24.9375 L 36.1875 24.9375 L 36.1875 23.3125 L 31.5625 23.3125 Z"
24883
24879
  }))
24884
24880
  };
24885
- return (_icons$name$toLowerCa = icons[name.toLowerCase()]) !== null && _icons$name$toLowerCa !== void 0 ? _icons$name$toLowerCa : /*#__PURE__*/React__default['default'].createElement("svg", {
24881
+ return name ? icons[name.toLowerCase()] : /*#__PURE__*/React__default['default'].createElement("svg", {
24886
24882
  xmlns: "http://www.w3.org/2000/svg",
24887
24883
  className: "plc-w-12",
24888
24884
  fill: "none",
package/dist/index.esm.js CHANGED
@@ -7900,8 +7900,6 @@ const getEntitlementsFromElem = elem => {
7900
7900
  return elem.dataset.pelcroEntitlements.split(",").map(entitlement => entitlement.trim()).filter(entitlement => entitlement);
7901
7901
  };
7902
7902
  const getPaymentCardIcon$1 = name => {
7903
- var _icons$name$toLowerCa;
7904
-
7905
7903
  const icons = {
7906
7904
  visa: /*#__PURE__*/React__default.createElement("svg", {
7907
7905
  className: "plc-w-16",
@@ -7940,7 +7938,7 @@ const getPaymentCardIcon$1 = name => {
7940
7938
  d: "M22.255 20l-2.113 4.683L18.039 20h-2.695v6.726L12.341 20h-2.274L7 26.981h1.815l.671-1.558h3.432l.682 1.558h3.465v-5.185l2.299 5.185h1.563l2.351-5.095v5.095H25V20H22.255zM10.135 23.915l1.026-2.44 1.066 2.44H10.135zM37.883 23.413L41 20.018h-2.217l-1.994 2.164L34.86 20H28v6.982h6.635l2.092-2.311L38.767 27h2.21L37.883 23.413zM33.728 25.516h-4.011v-1.381h3.838v-1.323h-3.838v-1.308l4.234.012 1.693 1.897L33.728 25.516z"
7941
7939
  }))
7942
7940
  };
7943
- return (_icons$name$toLowerCa = icons[name.toLowerCase()]) !== null && _icons$name$toLowerCa !== void 0 ? _icons$name$toLowerCa : /*#__PURE__*/React__default.createElement("svg", {
7941
+ return name ? icons[name.toLowerCase()] : /*#__PURE__*/React__default.createElement("svg", {
7944
7942
  xmlns: "http://www.w3.org/2000/svg",
7945
7943
  className: "plc-w-16",
7946
7944
  fill: "none",
@@ -24824,8 +24822,6 @@ var GroupContext = /*#__PURE__*/createContext(null);
24824
24822
  GroupContext.displayName = 'GroupContext';
24825
24823
 
24826
24824
  const getPaymentCardIcon = name => {
24827
- var _icons$name$toLowerCa;
24828
-
24829
24825
  const icons = {
24830
24826
  visa: /*#__PURE__*/React__default.createElement("svg", {
24831
24827
  className: "plc-w-12",
@@ -24852,7 +24848,7 @@ const getPaymentCardIcon = name => {
24852
24848
  d: "M 5 7 C 2.25 7 0 9.25 0 12 L 0 38 C 0 40.75 2.25 43 5 43 L 45 43 C 47.75 43 50 40.75 50 38 L 50 12 C 50 9.25 47.75 7 45 7 Z M 5 9 L 45 9 C 46.667969 9 48 10.332031 48 12 L 48 38 C 48 39.667969 46.667969 41 45 41 L 5 41 C 3.332031 41 2 39.667969 2 38 L 2 12 C 2 10.332031 3.332031 9 5 9 Z M 8.5625 19.90625 L 4.84375 28.40625 L 7.0625 28.40625 L 7.875 26.5 L 12.0625 26.5 L 12.875 28.40625 L 17.09375 28.40625 L 17.09375 22.09375 L 19.90625 28.40625 L 21.8125 28.40625 L 24.65625 22.1875 L 24.65625 28.40625 L 26.75 28.40625 L 26.75 19.90625 L 23.40625 19.90625 L 20.84375 25.625 L 18.28125 19.90625 L 15 19.90625 L 15 28.09375 L 11.34375 19.90625 Z M 29.5 19.90625 L 29.5 28.4375 L 37.5 28.4375 L 40 25.59375 L 42.46875 28.4375 L 45.125 28.4375 L 41.375 24.0625 L 45.125 19.90625 L 42.46875 19.90625 L 40.0625 22.5625 L 37.75 19.90625 Z M 9.90625 21.6875 L 11.21875 24.6875 L 8.65625 24.6875 Z M 31.5625 21.71875 L 36.65625 21.75 L 38.6875 24.0625 L 36.40625 26.625 L 31.5625 26.625 L 31.5625 24.9375 L 36.1875 24.9375 L 36.1875 23.3125 L 31.5625 23.3125 Z"
24853
24849
  }))
24854
24850
  };
24855
- return (_icons$name$toLowerCa = icons[name.toLowerCase()]) !== null && _icons$name$toLowerCa !== void 0 ? _icons$name$toLowerCa : /*#__PURE__*/React__default.createElement("svg", {
24851
+ return name ? icons[name.toLowerCase()] : /*#__PURE__*/React__default.createElement("svg", {
24856
24852
  xmlns: "http://www.w3.org/2000/svg",
24857
24853
  className: "plc-w-12",
24858
24854
  fill: "none",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.8.0",
4
+ "version": "3.8.1-beta.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",