tabexseriescomponents 0.0.532 → 0.0.534

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
@@ -1550,7 +1550,7 @@ var Variantoptions = function Variantoptions(props) {
1550
1550
  },
1551
1551
  style: {
1552
1552
  background: optionvaluesitem.valuename,
1553
- border: isoptionvalueselected == 1 ? '2px solid green' : '1px solid #ccc'
1553
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
1554
1554
 
1555
1555
  // borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
1556
1556
  // opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
@@ -1570,13 +1570,14 @@ var Variantoptions = function Variantoptions(props) {
1570
1570
  }
1571
1571
  },
1572
1572
  style: {
1573
+ // activeproductcolor
1573
1574
  cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1574
1575
  backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1575
1576
  minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1576
1577
  height: sectionproperties.variantcontainer_height + 'px',
1577
1578
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1578
1579
  position: 'relative',
1579
- border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1580
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1580
1581
  }
1581
1582
  }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1582
1583
  "class": "m-0 p-0 bg-danger bgdanger-hover",
@@ -1593,7 +1594,7 @@ var Variantoptions = function Variantoptions(props) {
1593
1594
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1594
1595
  className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1595
1596
  style: {
1596
- color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color,
1597
+ color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1597
1598
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
1598
1599
  fontWeight: 500
1599
1600
  }
@@ -56142,7 +56143,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56142
56143
  "class": "d-flex align-items-center"
56143
56144
  }, /*#__PURE__*/React__default["default"].createElement("p", {
56144
56145
  "class": ' m-0 p-0 '
56145
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56146
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56146
56147
  "class": sectionstyles.btnStyles,
56147
56148
  onClick: function onClick() {
56148
56149
  if (sectionproperties.btntype == 'WhatsApp') {
@@ -56224,7 +56225,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56224
56225
  "class": "d-flex align-items-center"
56225
56226
  }, /*#__PURE__*/React__default["default"].createElement("p", {
56226
56227
  "class": ' m-0 p-0 '
56227
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56228
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56228
56229
  "class": sectionstyles.btnStyles,
56229
56230
  onClick: function onClick() {
56230
56231
  if (sectionproperties.btntype == 'WhatsApp') {
package/dist/index.esm.js CHANGED
@@ -1501,7 +1501,7 @@ var Variantoptions = function Variantoptions(props) {
1501
1501
  },
1502
1502
  style: {
1503
1503
  background: optionvaluesitem.valuename,
1504
- border: isoptionvalueselected == 1 ? '2px solid green' : '1px solid #ccc'
1504
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
1505
1505
 
1506
1506
  // borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
1507
1507
  // opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
@@ -1521,13 +1521,14 @@ var Variantoptions = function Variantoptions(props) {
1521
1521
  }
1522
1522
  },
1523
1523
  style: {
1524
+ // activeproductcolor
1524
1525
  cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1525
1526
  backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1526
1527
  minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1527
1528
  height: sectionproperties.variantcontainer_height + 'px',
1528
1529
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1529
1530
  position: 'relative',
1530
- border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1531
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1531
1532
  }
1532
1533
  }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React.createElement("p", {
1533
1534
  "class": "m-0 p-0 bg-danger bgdanger-hover",
@@ -1544,7 +1545,7 @@ var Variantoptions = function Variantoptions(props) {
1544
1545
  }, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
1545
1546
  className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1546
1547
  style: {
1547
- color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color,
1548
+ color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1548
1549
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
1549
1550
  fontWeight: 500
1550
1551
  }
@@ -56093,7 +56094,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56093
56094
  "class": "d-flex align-items-center"
56094
56095
  }, /*#__PURE__*/React.createElement("p", {
56095
56096
  "class": ' m-0 p-0 '
56096
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React.createElement("button", {
56097
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React.createElement("button", {
56097
56098
  "class": sectionstyles.btnStyles,
56098
56099
  onClick: function onClick() {
56099
56100
  if (sectionproperties.btntype == 'WhatsApp') {
@@ -56175,7 +56176,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56175
56176
  "class": "d-flex align-items-center"
56176
56177
  }, /*#__PURE__*/React.createElement("p", {
56177
56178
  "class": ' m-0 p-0 '
56178
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React.createElement("button", {
56179
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React.createElement("button", {
56179
56180
  "class": sectionstyles.btnStyles,
56180
56181
  onClick: function onClick() {
56181
56182
  if (sectionproperties.btntype == 'WhatsApp') {
package/dist/index.umd.js CHANGED
@@ -1376,7 +1376,7 @@
1376
1376
  },
1377
1377
  style: {
1378
1378
  background: optionvaluesitem.valuename,
1379
- border: isoptionvalueselected == 1 ? '2px solid green' : '1px solid #ccc'
1379
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc'
1380
1380
 
1381
1381
  // borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
1382
1382
  // opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
@@ -1396,13 +1396,14 @@
1396
1396
  }
1397
1397
  },
1398
1398
  style: {
1399
+ // activeproductcolor
1399
1400
  cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1400
1401
  backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1401
1402
  minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1402
1403
  height: sectionproperties.variantcontainer_height + 'px',
1403
1404
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1404
1405
  position: 'relative',
1405
- border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1406
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1406
1407
  }
1407
1408
  }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1408
1409
  "class": "m-0 p-0 bg-danger bgdanger-hover",
@@ -1419,7 +1420,7 @@
1419
1420
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1420
1421
  className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1421
1422
  style: {
1422
- color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color,
1423
+ color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1423
1424
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
1424
1425
  fontWeight: 500
1425
1426
  }
@@ -55968,7 +55969,7 @@
55968
55969
  "class": "d-flex align-items-center"
55969
55970
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55970
55971
  "class": ' m-0 p-0 '
55971
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
55972
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
55972
55973
  "class": sectionstyles.btnStyles,
55973
55974
  onClick: function onClick() {
55974
55975
  if (sectionproperties.btntype == 'WhatsApp') {
@@ -56050,7 +56051,7 @@
56050
56051
  "class": "d-flex align-items-center"
56051
56052
  }, /*#__PURE__*/React__default["default"].createElement("p", {
56052
56053
  "class": ' m-0 p-0 '
56053
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype == 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56054
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.btntype != 'Phone Number' && sectionproperties.btntype != 'Another Phone Number' && /*#__PURE__*/React__default["default"].createElement("button", {
56054
56055
  "class": sectionstyles.btnStyles,
56055
56056
  onClick: function onClick() {
56056
56057
  if (sectionproperties.btntype == 'WhatsApp') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.532",
3
+ "version": "0.0.534",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {