@seaverse/payment-sdk 0.9.4 → 0.9.5

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @seaverse/payment-sdk
2
2
 
3
- > **Version**: 0.9.4 | **Language**: English
3
+ > **Version**: 0.9.5 | **Language**: English
4
4
 
5
5
  A comprehensive payment solution for SeaVerse platform, providing credit management, payment checkout, subscription management, and order tracking.
6
6
 
@@ -928,6 +928,25 @@ import type {
928
928
 
929
929
  ## 📄 Changelog
930
930
 
931
+ ### v0.9.5 (2026-02-08) - CreditPackCard UI Refinement & Modal Fix
932
+
933
+ **🎨 CreditPackCard UI Overhaul**:
934
+ - **1:1 Design Restoration**: Rebuilt CreditPackCard to pixel-match reference design across all dimensions.
935
+ - Card: `246x252` → `228x auto`, `border-radius: 16px`, compact padding `28px 20px 16px`.
936
+ - Number: `36px` → `32px`, italic weight `600`, tighter letter-spacing.
937
+ - Credits text: `16px` at `0.45` opacity, 8px margin below.
938
+ - Bonus tag: `16px` bold green `#00E699`, `6px` border-radius, compact padding.
939
+ - Button: `48px` height, `14px` border-radius, `18px` font, fixed `16px` margin-top.
940
+ - **Color System Update**: Unified to `#00E699` green palette across glow, bonus text, button gradient, and borders.
941
+ - **Badge Refinement**: Reduced to `72px`, repositioned `top: -16px, right: -12px`, `12deg` rotation, italic "Double" text.
942
+ - **Spacing Optimization**: Eliminated excessive gaps between bonus tag and button; content flows naturally without `flex: 1` or `margin-top: auto` stretch.
943
+
944
+ **🔧 GenericPackageModal Fix**:
945
+ - **Fixed White Background Layer**: Resolved issue where `.payment-modal` white background (`#ffffff`) was visible behind dark-themed cards.
946
+ - Added `backgroundColor: transparent`, `boxShadow: none`, `borderRadius: 0` overrides.
947
+ - Cleared `.payment-modal-content` background to transparent.
948
+ - **SeaartPaymentSDK**: Now uses environment config `clientId` instead of user-provided one for correct payment gateway routing.
949
+
931
950
  ### v0.9.4 (2026-02-07) - Mobile Responsiveness & SDK Refinement
932
951
 
933
952
  **📱 Mobile & Responsive Enhancements**:
@@ -1022,5 +1041,5 @@ Issues and Pull Requests are welcome!
1022
1041
 
1023
1042
  ---
1024
1043
 
1025
- **Last Updated**: 2026-02-07
1026
- **SDK Version**: 0.9.4
1044
+ **Last Updated**: 2026-02-08
1045
+ **SDK Version**: 0.9.5
@@ -2968,7 +2968,7 @@ class SeaartPaymentSDK {
2968
2968
  }
2969
2969
  // 4. 初始化 SDK
2970
2970
  await window.SeaartPaymentComponent.init({
2971
- client_id: config.clientId,
2971
+ client_id: ENVIRONMENT_CONFIGS[config.environment].clientId,
2972
2972
  language: language,
2973
2973
  });
2974
2974
  // 5. 保存配置并标记已初始化
@@ -4489,34 +4489,33 @@ async function fetchAvailablePackages(apiHost, token) {
4489
4489
  * - 悬停微交互和平滑过渡
4490
4490
  */
4491
4491
  /**
4492
- * 设计系统常量 - 完全还原 Restore UI Design
4492
+ * 设计系统常量 - 一比一还原参考图
4493
4493
  */
4494
4494
  const DESIGN_TOKENS = {
4495
- // 卡片尺寸(固定 246x252px)
4495
+ // 卡片尺寸(紧凑布局,4卡并排)
4496
4496
  card: {
4497
- width: '246px',
4498
- height: '252px',
4497
+ width: '228px',
4498
+ height: 'auto',
4499
4499
  borderRadius: '16px',
4500
- padding: '20px',
4500
+ padding: '28px 20px 16px',
4501
4501
  },
4502
4502
  // 颜色系统
4503
4503
  colors: {
4504
4504
  text: {
4505
4505
  primary: '#ffffff',
4506
- secondary: '#aaaaaa',
4507
- bonus: '#00e699',
4506
+ bonus: '#00E699',
4508
4507
  },
4509
4508
  background: {
4510
- card: 'rgba(255, 255, 255, 0.05)',
4511
- cardHighlight: 'linear-gradient(to bottom, rgba(0, 255, 136, 0.1), rgba(255, 255, 255, 0.05))',
4512
- bonus: 'rgba(0, 204, 136, 0.12)',
4513
- button: 'rgba(255, 255, 255, 0.08)',
4514
- buttonHighlight: 'linear-gradient(to right, #00ff88, #00f2fe)',
4509
+ card: 'rgba(255, 255, 255, 0.04)',
4510
+ cardHighlight: 'linear-gradient(180deg, rgba(0, 230, 153, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%)',
4511
+ bonus: 'rgba(0, 230, 153, 0.1)',
4512
+ button: 'rgba(255, 255, 255, 0.06)',
4513
+ buttonHighlight: 'linear-gradient(90deg, #00E699 0%, #00D4AA 100%)',
4515
4514
  },
4516
4515
  border: {
4517
- default: 'rgba(255, 255, 255, 0.06)',
4518
- highlighted: 'rgba(0, 255, 136, 0.3)',
4519
- button: 'rgba(255, 255, 255, 0.12)',
4516
+ default: 'rgba(255, 255, 255, 0.08)',
4517
+ highlighted: 'rgba(0, 230, 153, 0.3)',
4518
+ button: 'rgba(255, 255, 255, 0.1)',
4520
4519
  },
4521
4520
  glow: '#00E699',
4522
4521
  badge: {
@@ -4533,7 +4532,7 @@ const DESIGN_TOKENS = {
4533
4532
  },
4534
4533
  // 徽章
4535
4534
  badge: {
4536
- size: '86px',
4535
+ size: '72px',
4537
4536
  },
4538
4537
  };
4539
4538
  /**
@@ -4591,7 +4590,6 @@ class CreditPackCard {
4591
4590
  display: flex;
4592
4591
  flex-direction: column;
4593
4592
  align-items: center;
4594
- justify-content: space-between;
4595
4593
  width: ${DESIGN_TOKENS.card.width};
4596
4594
  height: ${DESIGN_TOKENS.card.height};
4597
4595
  padding: ${DESIGN_TOKENS.card.padding};
@@ -4600,6 +4598,7 @@ class CreditPackCard {
4600
4598
  overflow: hidden;
4601
4599
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
4602
4600
  cursor: pointer;
4601
+ box-sizing: border-box;
4603
4602
  `;
4604
4603
  // 边框层
4605
4604
  const border = document.createElement('div');
@@ -4619,11 +4618,11 @@ class CreditPackCard {
4619
4618
  const glowContainer = document.createElement('div');
4620
4619
  glowContainer.style.cssText = `
4621
4620
  position: absolute;
4622
- top: -72px;
4621
+ top: -60px;
4623
4622
  left: 50%;
4624
4623
  transform: translateX(-50%);
4625
- width: 194px;
4626
- height: 144px;
4624
+ width: 160px;
4625
+ height: 120px;
4627
4626
  pointer-events: none;
4628
4627
  overflow: visible;
4629
4628
  `;
@@ -4637,73 +4636,61 @@ class CreditPackCard {
4637
4636
  `;
4638
4637
  const glow = document.createElement('div');
4639
4638
  glow.style.cssText = `
4640
- width: 194px;
4641
- height: 144px;
4639
+ width: 160px;
4640
+ height: 120px;
4642
4641
  background: ${DESIGN_TOKENS.colors.glow};
4643
- opacity: 0.2;
4644
- filter: blur(54px);
4642
+ opacity: 0.18;
4643
+ filter: blur(50px);
4645
4644
  border-radius: 50%;
4646
4645
  `;
4647
4646
  glowInner.appendChild(glow);
4648
4647
  glowContainer.appendChild(glowInner);
4649
4648
  card.appendChild(glowContainer);
4650
4649
  }
4651
- // 悬停效果
4652
- let hoverAnimationId = null;
4653
4650
  card.addEventListener('mouseenter', () => {
4654
4651
  card.style.transform = 'translateY(-4px) scale(1.02)';
4655
4652
  border.style.borderColor = isHighlighted
4656
- ? 'rgba(0, 255, 136, 0.5)'
4657
- : 'rgba(255, 255, 255, 0.12)';
4658
- // 暂停呼吸动画
4659
- if (hoverAnimationId) {
4660
- card.style.animationPlayState = 'paused';
4661
- }
4653
+ ? 'rgba(0, 230, 153, 0.5)'
4654
+ : 'rgba(255, 255, 255, 0.15)';
4662
4655
  });
4663
4656
  card.addEventListener('mouseleave', () => {
4664
4657
  card.style.transform = 'translateY(0) scale(1)';
4665
4658
  border.style.borderColor = isHighlighted
4666
4659
  ? DESIGN_TOKENS.colors.border.highlighted
4667
4660
  : DESIGN_TOKENS.colors.border.default;
4668
- // 恢复呼吸动画
4669
- if (hoverAnimationId) {
4670
- card.style.animationPlayState = 'running';
4671
- }
4672
4661
  });
4673
4662
  // 添加呼吸动画(仅高亮卡片)
4674
- if (isHighlighted) {
4675
- const animationId = `pulse-${this.options.id}`;
4676
- hoverAnimationId = animationId;
4677
- const style = document.createElement('style');
4678
- style.textContent = `
4679
- @keyframes ${animationId} {
4680
- 0%, 100% {
4681
- transform: translateY(0) scale(1);
4682
- box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
4683
- }
4684
- 50% {
4685
- transform: translateY(-2px) scale(1.02);
4686
- box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
4687
- }
4688
- }
4689
- .credit-pack-card[data-package-id="${this.options.id}"] {
4690
- animation: ${animationId} 2s ease-in-out infinite;
4691
- }
4692
- `;
4693
- document.head.appendChild(style);
4694
- }
4663
+ // if (isHighlighted) {
4664
+ // const animationId = `pulse-${this.options.id}`;
4665
+ // hoverAnimationId = animationId;
4666
+ // const style = document.createElement('style');
4667
+ // style.textContent = `
4668
+ // @keyframes ${animationId} {
4669
+ // 0%, 100% {
4670
+ // transform: translateY(0) scale(1);
4671
+ // box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
4672
+ // }
4673
+ // 50% {
4674
+ // transform: translateY(-2px) scale(1.02);
4675
+ // box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
4676
+ // }
4677
+ // }
4678
+ // .credit-pack-card[data-package-id="${this.options.id}"] {
4679
+ // animation: ${animationId} 2s ease-in-out infinite;
4680
+ // }
4681
+ // `;
4682
+ // document.head.appendChild(style);
4683
+ // }
4695
4684
  // 内容容器
4696
4685
  const contentContainer = document.createElement('div');
4697
4686
  contentContainer.style.cssText = `
4698
4687
  display: flex;
4699
4688
  flex-direction: column;
4700
4689
  align-items: center;
4701
- justify-content: center;
4702
- gap: 12px;
4703
- margin-top: 16px;
4690
+ justify-content: flex-start;
4691
+ gap: 0;
4704
4692
  z-index: 10;
4705
4693
  width: 100%;
4706
- flex: 1;
4707
4694
  `;
4708
4695
  // 金额(大数字)
4709
4696
  const amountWrapper = document.createElement('div');
@@ -4711,15 +4698,17 @@ class CreditPackCard {
4711
4698
  display: flex;
4712
4699
  flex-direction: column;
4713
4700
  align-items: center;
4701
+ margin-bottom: 2px;
4714
4702
  `;
4715
4703
  const amount = document.createElement('span');
4716
4704
  amount.style.cssText = `
4717
- font-size: 36px;
4718
- font-weight: 700;
4719
- line-height: 36px;
4705
+ font-size: 32px;
4706
+ font-weight: 600;
4707
+ line-height: 1.1;
4720
4708
  font-style: italic;
4721
4709
  color: ${DESIGN_TOKENS.colors.text.primary};
4722
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
4710
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
4711
+ letter-spacing: -0.02em;
4723
4712
  `;
4724
4713
  amount.textContent = this.options.totalCredits.toLocaleString();
4725
4714
  amountWrapper.appendChild(amount);
@@ -4727,8 +4716,8 @@ class CreditPackCard {
4727
4716
  // 积分文本
4728
4717
  const creditsWrapper = document.createElement('div');
4729
4718
  creditsWrapper.style.cssText = `
4730
- padding: 2px 8px;
4731
- border-radius: 4px;
4719
+ margin-bottom: 12px;
4720
+ margin-top: 12px;
4732
4721
  display: flex;
4733
4722
  align-items: center;
4734
4723
  justify-content: center;
@@ -4736,9 +4725,9 @@ class CreditPackCard {
4736
4725
  const creditsText = document.createElement('span');
4737
4726
  creditsText.style.cssText = `
4738
4727
  font-size: 16px;
4739
- font-weight: 500;
4740
- line-height: 24px;
4741
- color: ${DESIGN_TOKENS.colors.text.secondary};
4728
+ font-weight: 400;
4729
+ color: rgba(255, 255, 255, 0.45);
4730
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
4742
4731
  `;
4743
4732
  creditsText.textContent = `${this.options.baseCredits.toLocaleString()} ${texts.credits}`;
4744
4733
  creditsWrapper.appendChild(creditsText);
@@ -4748,27 +4737,26 @@ class CreditPackCard {
4748
4737
  const bonusWrapper = document.createElement('div');
4749
4738
  bonusWrapper.style.cssText = `
4750
4739
  background: ${DESIGN_TOKENS.colors.background.bonus};
4751
- padding: 2px 8px;
4752
- border-radius: 4px;
4753
- display: flex;
4740
+ padding: 4px 6px;
4741
+ border-radius: 6px;
4754
4742
  align-items: center;
4755
4743
  justify-content: center;
4744
+ margin-bottom: 0;
4756
4745
  `;
4757
4746
  const bonusText = document.createElement('span');
4758
4747
  bonusText.style.cssText = `
4759
- font-size: 18px;
4760
- font-weight: 500;
4761
- line-height: 24px;
4748
+ font-size: 16px;
4749
+ font-weight: 700;
4762
4750
  color: ${DESIGN_TOKENS.colors.text.bonus};
4751
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
4763
4752
  `;
4764
4753
  bonusText.textContent = `+${this.options.bonusCredits.toLocaleString()} ${texts.bonus}`;
4765
4754
  bonusWrapper.appendChild(bonusText);
4766
4755
  contentContainer.appendChild(bonusWrapper);
4767
4756
  }
4768
4757
  else {
4769
- // 占位以保持高度一致
4770
4758
  const spacer = document.createElement('div');
4771
- spacer.style.cssText = 'height: 28px;';
4759
+ spacer.style.cssText = 'height: 24px; margin-bottom: 0;';
4772
4760
  contentContainer.appendChild(spacer);
4773
4761
  }
4774
4762
  card.appendChild(contentContainer);
@@ -4784,9 +4772,9 @@ class CreditPackCard {
4784
4772
  border: ${isHighlighted ? 'none' : `1px solid ${DESIGN_TOKENS.colors.border.button}`};
4785
4773
  background: ${isHighlighted ? DESIGN_TOKENS.colors.background.buttonHighlight : DESIGN_TOKENS.colors.background.button};
4786
4774
  color: ${isHighlighted ? '#0a0a0f' : DESIGN_TOKENS.colors.text.primary};
4787
- font-size: 16px;
4788
- font-weight: ${isHighlighted ? '700' : '600'};
4789
- line-height: 20px;
4775
+ font-size: 18px;
4776
+ font-weight: 700;
4777
+ line-height: 1;
4790
4778
  cursor: pointer;
4791
4779
  display: flex;
4792
4780
  align-items: center;
@@ -4794,8 +4782,9 @@ class CreditPackCard {
4794
4782
  overflow: hidden;
4795
4783
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
4796
4784
  z-index: 10;
4797
- margin-top: auto;
4798
- box-shadow: ${isHighlighted ? '0 4px 16px rgba(0, 255, 136, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3)' : 'none'};
4785
+ margin-top: 16px;
4786
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
4787
+ box-shadow: ${isHighlighted ? '0 4px 16px rgba(0, 230, 153, 0.35)' : 'none'};
4799
4788
  `;
4800
4789
  // 按钮内边框(仅非高亮)
4801
4790
  if (!isHighlighted) {
@@ -4816,16 +4805,17 @@ class CreditPackCard {
4816
4805
  // 按钮悬停效果
4817
4806
  button.addEventListener('mouseenter', () => {
4818
4807
  if (isHighlighted) {
4819
- button.style.boxShadow = '0 6px 20px rgba(0, 255, 136, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4)';
4808
+ button.style.boxShadow = '0 6px 20px rgba(0, 230, 153, 0.45)';
4809
+ button.style.transform = 'translateY(-1px)';
4820
4810
  }
4821
4811
  else {
4822
- button.style.background = 'rgba(255, 255, 255, 0.15)';
4812
+ button.style.background = 'rgba(255, 255, 255, 0.1)';
4813
+ button.style.transform = 'translateY(-1px)';
4823
4814
  }
4824
- button.style.transform = 'translateY(-2px)';
4825
4815
  });
4826
4816
  button.addEventListener('mouseleave', () => {
4827
4817
  if (isHighlighted) {
4828
- button.style.boxShadow = '0 4px 16px rgba(0, 255, 136, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3)';
4818
+ button.style.boxShadow = '0 4px 16px rgba(0, 230, 153, 0.35)';
4829
4819
  }
4830
4820
  else {
4831
4821
  button.style.background = DESIGN_TOKENS.colors.background.button;
@@ -4852,18 +4842,19 @@ class CreditPackCard {
4852
4842
  const badge = document.createElement('div');
4853
4843
  badge.style.cssText = `
4854
4844
  position: absolute;
4855
- top: -30px;
4856
- right: -14px;
4845
+ top: -16px;
4846
+ right: -12px;
4857
4847
  width: ${DESIGN_TOKENS.badge.size};
4858
4848
  height: ${DESIGN_TOKENS.badge.size};
4859
4849
  z-index: 30;
4860
4850
  pointer-events: none;
4851
+ transform: rotate(12deg);
4861
4852
  `;
4862
4853
  // SVG 内容
4863
4854
  const svgNS = 'http://www.w3.org/2000/svg';
4864
4855
  const svg = document.createElementNS(svgNS, 'svg');
4865
- svg.setAttribute('width', '86');
4866
- svg.setAttribute('height', '86');
4856
+ svg.setAttribute('width', '72');
4857
+ svg.setAttribute('height', '72');
4867
4858
  svg.setAttribute('viewBox', '0 0 86 86');
4868
4859
  svg.setAttribute('fill', 'none');
4869
4860
  svg.style.cssText = 'width: 100%; height: 100%;';
@@ -4879,47 +4870,25 @@ class CreditPackCard {
4879
4870
  starStroke.setAttribute('stroke-opacity', '0.08');
4880
4871
  svg.appendChild(starStroke);
4881
4872
  // 文字(中文或英文)
4882
- if (isZh) {
4883
- // 中文复杂路径 - 简化显示
4884
- const text1 = document.createElementNS(svgNS, 'text');
4885
- text1.setAttribute('x', '43');
4886
- text1.setAttribute('y', '35');
4887
- text1.setAttribute('text-anchor', 'middle');
4888
- text1.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4889
- text1.setAttribute('font-size', '12');
4890
- text1.setAttribute('font-weight', '700');
4891
- text1.textContent = 'On 1st';
4892
- svg.appendChild(text1);
4893
- const text2 = document.createElementNS(svgNS, 'text');
4894
- text2.setAttribute('x', '43');
4895
- text2.setAttribute('y', '51');
4896
- text2.setAttribute('text-anchor', 'middle');
4897
- text2.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4898
- text2.setAttribute('font-size', '13');
4899
- text2.setAttribute('font-weight', '700');
4900
- text2.textContent = 'Double';
4901
- svg.appendChild(text2);
4902
- }
4903
- else {
4904
- const text1 = document.createElementNS(svgNS, 'text');
4905
- text1.setAttribute('x', '43');
4906
- text1.setAttribute('y', '35');
4907
- text1.setAttribute('text-anchor', 'middle');
4908
- text1.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4909
- text1.setAttribute('font-size', '10');
4910
- text1.setAttribute('font-weight', '700');
4911
- text1.textContent = 'On 1st';
4912
- svg.appendChild(text1);
4913
- const text2 = document.createElementNS(svgNS, 'text');
4914
- text2.setAttribute('x', '43');
4915
- text2.setAttribute('y', '51');
4916
- text2.setAttribute('text-anchor', 'middle');
4917
- text2.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4918
- text2.setAttribute('font-size', '12');
4919
- text2.setAttribute('font-weight', '700');
4920
- text2.textContent = 'Double';
4921
- svg.appendChild(text2);
4922
- }
4873
+ const text1 = document.createElementNS(svgNS, 'text');
4874
+ text1.setAttribute('x', '43');
4875
+ text1.setAttribute('y', '38');
4876
+ text1.setAttribute('text-anchor', 'middle');
4877
+ text1.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4878
+ text1.setAttribute('font-size', '14');
4879
+ text1.setAttribute('font-weight', '800');
4880
+ text1.setAttribute('font-style', 'italic');
4881
+ text1.textContent = 'Double';
4882
+ svg.appendChild(text1);
4883
+ const text2 = document.createElementNS(svgNS, 'text');
4884
+ text2.setAttribute('x', '43');
4885
+ text2.setAttribute('y', '53');
4886
+ text2.setAttribute('text-anchor', 'middle');
4887
+ text2.setAttribute('fill', DESIGN_TOKENS.colors.badge.text);
4888
+ text2.setAttribute('font-size', '10');
4889
+ text2.setAttribute('font-weight', '700');
4890
+ text2.textContent = 'ON 1ST';
4891
+ svg.appendChild(text2);
4923
4892
  // 渐变定义
4924
4893
  const defs = document.createElementNS(svgNS, 'defs');
4925
4894
  const gradient = document.createElementNS(svgNS, 'linearGradient');
@@ -8538,7 +8507,9 @@ class CreditPackageModal extends BasePackageModal {
8538
8507
  }
8539
8508
  .credit-pack-card {
8540
8509
  width: 100% !important;
8541
- height: 260px !important;
8510
+ height: 300px !important;
8511
+ padding: 28px 20px 20px !important;
8512
+ border-radius: 20px !important;
8542
8513
  }
8543
8514
  .payment-modal {
8544
8515
  width: 95vw !important;
@@ -8802,20 +8773,23 @@ class GenericPackageModal extends BasePackageModal {
8802
8773
  * Apply modal styling (hook method override)
8803
8774
  */
8804
8775
  applyModalStyling() {
8805
- // Modify modal style - make card fully fill
8776
+ // Modify modal style - make card fully fill, remove white background
8806
8777
  const modalElement = document.querySelector('.payment-modal');
8807
8778
  if (modalElement) {
8808
8779
  modalElement.style.background = 'transparent';
8780
+ modalElement.style.backgroundColor = 'transparent';
8809
8781
  modalElement.style.border = 'none';
8810
8782
  modalElement.style.padding = '0';
8811
- modalElement.style.borderRadius = '16px';
8812
- modalElement.style.overflow = 'hidden';
8783
+ modalElement.style.borderRadius = '0';
8784
+ modalElement.style.overflow = 'visible';
8785
+ modalElement.style.boxShadow = 'none';
8813
8786
  }
8814
8787
  // Modify content container style - remove padding
8815
8788
  const contentElement = document.querySelector('.payment-modal-content');
8816
8789
  if (contentElement) {
8817
8790
  contentElement.style.padding = '0';
8818
8791
  contentElement.style.margin = '0';
8792
+ contentElement.style.background = 'transparent';
8819
8793
  }
8820
8794
  // Listen for close button event from card
8821
8795
  const container = this.getContentContainer();
@@ -9210,7 +9184,7 @@ class GenericPackageModal extends BasePackageModal {
9210
9184
  /**
9211
9185
  * SDK version
9212
9186
  */
9213
- const VERSION$2 = '0.9.2';
9187
+ const VERSION$2 = '0.9.5';
9214
9188
 
9215
9189
  var __defProp = Object.defineProperty;
9216
9190
  var __defProps = Object.defineProperties;