tabexseriescomponents 0.2.1284 → 0.2.1286

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
@@ -74664,6 +74664,9 @@ var MapsSection = function MapsSection(props) {
74664
74664
  }))));
74665
74665
  };
74666
74666
 
74667
+ // import { FetchingContext } from '../../Contexts/FetchingContext';
74668
+ // import { FetchingContext } from '../../../FetchingContext/FetchingContext';
74669
+
74667
74670
  // const gifts = [
74668
74671
  // { label: '10% OFF', color: colorTheme.wheelSegments[0] },
74669
74672
  // { label: 'Free Shipping', color: colorTheme.wheelSegments[1] },
@@ -74788,19 +74791,23 @@ var WheelSpin = function WheelSpin(props) {
74788
74791
  className: "popup-overlay",
74789
74792
  onClick: handleClose
74790
74793
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74791
- className: "content-card",
74794
+ className: "spin-wheel-content-card",
74792
74795
  onClick: function onClick(event) {
74793
74796
  return event.stopPropagation();
74794
74797
  }
74795
74798
  }, /*#__PURE__*/React__default["default"].createElement("button", {
74796
- className: "close-button",
74799
+ className: "spin-wheel-close-button",
74797
74800
  onClick: handleClose,
74798
74801
  disabled: isSpinning,
74799
74802
  type: "button"
74800
- }, "\xD7"), !showCelebration ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("h2", null, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React__default["default"].createElement("p", null, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React__default["default"].createElement("div", {
74803
+ }, "\xD7"), !showCelebration ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("h2", {
74804
+ "class": "spin-wheel-h2"
74805
+ }, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React__default["default"].createElement("p", {
74806
+ "class": "spin-wheel-p"
74807
+ }, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React__default["default"].createElement("div", {
74801
74808
  className: "wheel-stage"
74802
74809
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74803
- className: "pointer"
74810
+ className: "spin-wheel-pointer"
74804
74811
  }), /*#__PURE__*/React__default["default"].createElement("div", {
74805
74812
  className: "wheel",
74806
74813
  style: {
@@ -74809,7 +74816,7 @@ var WheelSpin = function WheelSpin(props) {
74809
74816
  }
74810
74817
  }, gifts.map(function (gift, index) {
74811
74818
  return /*#__PURE__*/React__default["default"].createElement("div", {
74812
- className: "label",
74819
+ className: "spin-wheel-label",
74813
74820
  key: gift.description_en,
74814
74821
  style: {
74815
74822
  transform: "rotate(".concat(index * segmentAngle + segmentAngle / 2, "deg)")
@@ -74838,8 +74845,10 @@ var WheelSpin = function WheelSpin(props) {
74838
74845
  className: "confetti confetti-four"
74839
74846
  }), /*#__PURE__*/React__default["default"].createElement("div", {
74840
74847
  className: "success-badge"
74841
- }, "Congratulations"), /*#__PURE__*/React__default["default"].createElement("h2", null, "You unlocked a special reward"), /*#__PURE__*/React__default["default"].createElement("p", {
74842
- className: "celebration-copy"
74848
+ }, "Congratulations"), /*#__PURE__*/React__default["default"].createElement("h2", {
74849
+ "class": "spin-wheel-h2"
74850
+ }, "You unlocked a special reward"), /*#__PURE__*/React__default["default"].createElement("p", {
74851
+ className: "celebration-copy spin-wheel-p"
74843
74852
  }, "Your lucky spin landed on", /*#__PURE__*/React__default["default"].createElement("strong", null, " ", selectedGift.description_en)), /*#__PURE__*/React__default["default"].createElement("div", {
74844
74853
  className: "prize-highlight"
74845
74854
  }, /*#__PURE__*/React__default["default"].createElement("span", null, selectedGift.description_en)), /*#__PURE__*/React__default["default"].createElement("button", {
package/dist/index.esm.js CHANGED
@@ -74613,6 +74613,9 @@ var MapsSection = function MapsSection(props) {
74613
74613
  }))));
74614
74614
  };
74615
74615
 
74616
+ // import { FetchingContext } from '../../Contexts/FetchingContext';
74617
+ // import { FetchingContext } from '../../../FetchingContext/FetchingContext';
74618
+
74616
74619
  // const gifts = [
74617
74620
  // { label: '10% OFF', color: colorTheme.wheelSegments[0] },
74618
74621
  // { label: 'Free Shipping', color: colorTheme.wheelSegments[1] },
@@ -74737,19 +74740,23 @@ var WheelSpin = function WheelSpin(props) {
74737
74740
  className: "popup-overlay",
74738
74741
  onClick: handleClose
74739
74742
  }, /*#__PURE__*/React.createElement("div", {
74740
- className: "content-card",
74743
+ className: "spin-wheel-content-card",
74741
74744
  onClick: function onClick(event) {
74742
74745
  return event.stopPropagation();
74743
74746
  }
74744
74747
  }, /*#__PURE__*/React.createElement("button", {
74745
- className: "close-button",
74748
+ className: "spin-wheel-close-button",
74746
74749
  onClick: handleClose,
74747
74750
  disabled: isSpinning,
74748
74751
  type: "button"
74749
- }, "\xD7"), !showCelebration ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h2", null, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React.createElement("p", null, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React.createElement("div", {
74752
+ }, "\xD7"), !showCelebration ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h2", {
74753
+ "class": "spin-wheel-h2"
74754
+ }, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React.createElement("p", {
74755
+ "class": "spin-wheel-p"
74756
+ }, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React.createElement("div", {
74750
74757
  className: "wheel-stage"
74751
74758
  }, /*#__PURE__*/React.createElement("div", {
74752
- className: "pointer"
74759
+ className: "spin-wheel-pointer"
74753
74760
  }), /*#__PURE__*/React.createElement("div", {
74754
74761
  className: "wheel",
74755
74762
  style: {
@@ -74758,7 +74765,7 @@ var WheelSpin = function WheelSpin(props) {
74758
74765
  }
74759
74766
  }, gifts.map(function (gift, index) {
74760
74767
  return /*#__PURE__*/React.createElement("div", {
74761
- className: "label",
74768
+ className: "spin-wheel-label",
74762
74769
  key: gift.description_en,
74763
74770
  style: {
74764
74771
  transform: "rotate(".concat(index * segmentAngle + segmentAngle / 2, "deg)")
@@ -74787,8 +74794,10 @@ var WheelSpin = function WheelSpin(props) {
74787
74794
  className: "confetti confetti-four"
74788
74795
  }), /*#__PURE__*/React.createElement("div", {
74789
74796
  className: "success-badge"
74790
- }, "Congratulations"), /*#__PURE__*/React.createElement("h2", null, "You unlocked a special reward"), /*#__PURE__*/React.createElement("p", {
74791
- className: "celebration-copy"
74797
+ }, "Congratulations"), /*#__PURE__*/React.createElement("h2", {
74798
+ "class": "spin-wheel-h2"
74799
+ }, "You unlocked a special reward"), /*#__PURE__*/React.createElement("p", {
74800
+ className: "celebration-copy spin-wheel-p"
74792
74801
  }, "Your lucky spin landed on", /*#__PURE__*/React.createElement("strong", null, " ", selectedGift.description_en)), /*#__PURE__*/React.createElement("div", {
74793
74802
  className: "prize-highlight"
74794
74803
  }, /*#__PURE__*/React.createElement("span", null, selectedGift.description_en)), /*#__PURE__*/React.createElement("button", {
package/dist/index.umd.js CHANGED
@@ -74470,6 +74470,9 @@
74470
74470
  }))));
74471
74471
  };
74472
74472
 
74473
+ // import { FetchingContext } from '../../Contexts/FetchingContext';
74474
+ // import { FetchingContext } from '../../../FetchingContext/FetchingContext';
74475
+
74473
74476
  // const gifts = [
74474
74477
  // { label: '10% OFF', color: colorTheme.wheelSegments[0] },
74475
74478
  // { label: 'Free Shipping', color: colorTheme.wheelSegments[1] },
@@ -74594,19 +74597,23 @@
74594
74597
  className: "popup-overlay",
74595
74598
  onClick: handleClose
74596
74599
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74597
- className: "content-card",
74600
+ className: "spin-wheel-content-card",
74598
74601
  onClick: function onClick(event) {
74599
74602
  return event.stopPropagation();
74600
74603
  }
74601
74604
  }, /*#__PURE__*/React__default["default"].createElement("button", {
74602
- className: "close-button",
74605
+ className: "spin-wheel-close-button",
74603
74606
  onClick: handleClose,
74604
74607
  disabled: isSpinning,
74605
74608
  type: "button"
74606
- }, "\xD7"), !showCelebration ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("h2", null, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React__default["default"].createElement("p", null, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React__default["default"].createElement("div", {
74609
+ }, "\xD7"), !showCelebration ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("h2", {
74610
+ "class": "spin-wheel-h2"
74611
+ }, "Spin the wheel and unlock your surprise gift"), /*#__PURE__*/React__default["default"].createElement("p", {
74612
+ "class": "spin-wheel-p"
74613
+ }, "Tap the button, watch the wheel rotate, and get a random reward."), /*#__PURE__*/React__default["default"].createElement("div", {
74607
74614
  className: "wheel-stage"
74608
74615
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74609
- className: "pointer"
74616
+ className: "spin-wheel-pointer"
74610
74617
  }), /*#__PURE__*/React__default["default"].createElement("div", {
74611
74618
  className: "wheel",
74612
74619
  style: {
@@ -74615,7 +74622,7 @@
74615
74622
  }
74616
74623
  }, gifts.map(function (gift, index) {
74617
74624
  return /*#__PURE__*/React__default["default"].createElement("div", {
74618
- className: "label",
74625
+ className: "spin-wheel-label",
74619
74626
  key: gift.description_en,
74620
74627
  style: {
74621
74628
  transform: "rotate(".concat(index * segmentAngle + segmentAngle / 2, "deg)")
@@ -74644,8 +74651,10 @@
74644
74651
  className: "confetti confetti-four"
74645
74652
  }), /*#__PURE__*/React__default["default"].createElement("div", {
74646
74653
  className: "success-badge"
74647
- }, "Congratulations"), /*#__PURE__*/React__default["default"].createElement("h2", null, "You unlocked a special reward"), /*#__PURE__*/React__default["default"].createElement("p", {
74648
- className: "celebration-copy"
74654
+ }, "Congratulations"), /*#__PURE__*/React__default["default"].createElement("h2", {
74655
+ "class": "spin-wheel-h2"
74656
+ }, "You unlocked a special reward"), /*#__PURE__*/React__default["default"].createElement("p", {
74657
+ className: "celebration-copy spin-wheel-p"
74649
74658
  }, "Your lucky spin landed on", /*#__PURE__*/React__default["default"].createElement("strong", null, " ", selectedGift.description_en)), /*#__PURE__*/React__default["default"].createElement("div", {
74650
74659
  className: "prize-highlight"
74651
74660
  }, /*#__PURE__*/React__default["default"].createElement("span", null, selectedGift.description_en)), /*#__PURE__*/React__default["default"].createElement("button", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1284",
3
+ "version": "0.2.1286",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",