@enyxs/wikex-components 0.11.33 → 0.11.34

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.mjs CHANGED
@@ -5487,48 +5487,48 @@ var dropOut = keyframes([
5487
5487
  `from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
5488
5488
  ]);
5489
5489
  var HeaderShell = styled3.header.withConfig({
5490
- componentId: "sc-4d456d17-0"
5490
+ componentId: "sc-eabee95e-0"
5491
5491
  })([
5492
5492
  `position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
5493
5493
  `;box-shadow:0 1px 12px rgb(0 0 0 / 4%);:root[data-theme="dark"] &{background:#18181a;}@media (max-width:768px){padding-inline:15px;}@media (max-width:620px){height:62px;padding:16px 16px 12px;box-shadow:0 1px 0 rgb(5 8 15 / 8%);}`
5494
5494
  ], ({ theme }) => theme.colors.background.canvas);
5495
5495
  var HeaderInner = styled3.div.withConfig({
5496
- componentId: "sc-4d456d17-1"
5496
+ componentId: "sc-eabee95e-1"
5497
5497
  })([
5498
5498
  `display:flex;width:100%;max-width:1560px;height:40px;margin:0 auto;align-items:center;gap:32px;@media (max-width:1279px){justify-content:space-between;}@media only screen and (max-width:767px){gap:0;}@media (max-width:620px){height:34px;justify-content:space-between;}`
5499
5499
  ]);
5500
5500
  var BrandGroup = styled3.div.withConfig({
5501
- componentId: "sc-4d456d17-2"
5501
+ componentId: "sc-eabee95e-2"
5502
5502
  })([
5503
5503
  `display:flex;flex:0 0 auto;align-items:center;gap:16px;`
5504
5504
  ]);
5505
5505
  var WikiBrand = styled3(Link3).withConfig({
5506
- componentId: "sc-4d456d17-3"
5506
+ componentId: "sc-eabee95e-3"
5507
5507
  })([
5508
5508
  `display:inline-flex;flex:0 0 auto;align-items:center;`
5509
5509
  ]);
5510
5510
  var WikiLogo = styled3(Image).withConfig({
5511
- componentId: "sc-4d456d17-4"
5511
+ componentId: "sc-eabee95e-4"
5512
5512
  })([
5513
5513
  `display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
5514
5514
  ]);
5515
5515
  var PartnerBrand = styled3.a.withConfig({
5516
- componentId: "sc-4d456d17-5"
5516
+ componentId: "sc-eabee95e-5"
5517
5517
  })([
5518
5518
  `display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
5519
5519
  ]);
5520
5520
  var MxvLogo = styled3(Image).withConfig({
5521
- componentId: "sc-4d456d17-6"
5521
+ componentId: "sc-eabee95e-6"
5522
5522
  })([
5523
5523
  `display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
5524
5524
  ]);
5525
5525
  var DesktopNavigation = styled3.nav.withConfig({
5526
- componentId: "sc-4d456d17-7"
5526
+ componentId: "sc-eabee95e-7"
5527
5527
  })([
5528
5528
  `display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
5529
5529
  ]);
5530
5530
  var NavigationLink = styled3(Link3).withConfig({
5531
- componentId: "sc-4d456d17-8"
5531
+ componentId: "sc-eabee95e-8"
5532
5532
  })([
5533
5533
  `position:relative;color:`,
5534
5534
  `;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
@@ -5536,14 +5536,14 @@ var NavigationLink = styled3(Link3).withConfig({
5536
5536
  `;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
5537
5537
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
5538
5538
  var ProductsMenuTrigger = styled3.button.withConfig({
5539
- componentId: "sc-4d456d17-9"
5539
+ componentId: "sc-eabee95e-9"
5540
5540
  })([
5541
5541
  `display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
5542
5542
  `;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;&[data-state="open"],&[data-active="true"],&:hover,&:focus-visible{color:`,
5543
5543
  `;}&:focus-visible{outline:none;}&::after{content:"";border-inline:3px solid transparent;border-top:4px solid currentColor;transition:transform 160ms ease;}&[data-state="open"]::after{transform:rotate(180deg);}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}@media (prefers-reduced-motion:reduce){&::after{transition:none;}}`
5544
5544
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
5545
5545
  var ProductsMenuContent = styled3(DropdownMenu.Content).withConfig({
5546
- componentId: "sc-4d456d17-10"
5546
+ componentId: "sc-eabee95e-10"
5547
5547
  })([
5548
5548
  `z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
5549
5549
  `;border-radius:8px;color:`,
@@ -5553,42 +5553,42 @@ var ProductsMenuContent = styled3(DropdownMenu.Content).withConfig({
5553
5553
  `;}`
5554
5554
  ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.popup, ({ theme }) => theme.colors.effect.popupShadow, ({ theme }) => theme.colors.border.subtle);
5555
5555
  var ProductsMenuItem = styled3(DropdownMenu.Item).withConfig({
5556
- componentId: "sc-4d456d17-11"
5556
+ componentId: "sc-eabee95e-11"
5557
5557
  })([
5558
5558
  `display:flex;height:44px;align-items:center;padding:12px 8px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:400;line-height:18px;outline:none;color:inherit;text-decoration:none;&[aria-current="page"],&[data-highlighted],&:focus-visible{color:`,
5559
5559
  `;background:transparent;outline:none;}`
5560
5560
  ], ({ theme }) => theme.colors.accent.primary);
5561
5561
  var MobileNavigation2 = styled3.div.withConfig({
5562
- componentId: "sc-4d456d17-12"
5562
+ componentId: "sc-eabee95e-12"
5563
5563
  })([
5564
5564
  `position:relative;display:none;align-items:center;gap:8px;@media (max-width:1279px){display:flex;}@media (max-width:767px){order:3;margin-left:auto;}@media (max-width:620px){gap:2px;}`
5565
5565
  ]);
5566
5566
  var MobileThemeToggle = styled3.div.withConfig({
5567
- componentId: "sc-4d456d17-13"
5567
+ componentId: "sc-eabee95e-13"
5568
5568
  })([
5569
5569
  `display:none;align-items:center;@media (max-width:767px){display:flex;}@media (max-width:620px){&& .theme-toggle--header{border-radius:4px;svg{width:20px;height:20px;}}}`
5570
5570
  ]);
5571
5571
  var MobileLanguageToggle = styled3.div.withConfig({
5572
- componentId: "sc-4d456d17-14"
5572
+ componentId: "sc-eabee95e-14"
5573
5573
  })([
5574
5574
  `display:none;align-items:center;@media (max-width:767px){display:flex;}`
5575
5575
  ]);
5576
5576
  var MobileMenuTrigger = styled3.button.withConfig({
5577
- componentId: "sc-4d456d17-15"
5577
+ componentId: "sc-eabee95e-15"
5578
5578
  })([
5579
5579
  `display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
5580
5580
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
5581
5581
  `;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
5582
5582
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5583
5583
  var MobileDrawerOverlay = styled3(Dialog.Overlay).withConfig({
5584
- componentId: "sc-4d456d17-16"
5584
+ componentId: "sc-eabee95e-16"
5585
5585
  })([
5586
5586
  `position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
5587
5587
  ` 220ms ease-out;}&[data-state="closed"]{animation:`,
5588
5588
  ` 180ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}@media (max-width:767px){top:var(--header-height);background:rgb(5 8 16 / 40%);backdrop-filter:blur(5px);}`
5589
5589
  ], fadeIn, fadeOut);
5590
5590
  var MobileDrawerContent = styled3(Dialog.Content).withConfig({
5591
- componentId: "sc-4d456d17-17"
5591
+ componentId: "sc-eabee95e-17"
5592
5592
  })([
5593
5593
  `position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
5594
5594
  `;background:`,
@@ -5599,103 +5599,103 @@ var MobileDrawerContent = styled3(Dialog.Content).withConfig({
5599
5599
  ` 180ms ease-in;}}`
5600
5600
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
5601
5601
  var MobileDrawerHeader = styled3.div.withConfig({
5602
- componentId: "sc-4d456d17-18"
5602
+ componentId: "sc-eabee95e-18"
5603
5603
  })([
5604
5604
  `display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
5605
5605
  ]);
5606
5606
  var MobileDrawerTitle = styled3(Dialog.Title).withConfig({
5607
- componentId: "sc-4d456d17-19"
5607
+ componentId: "sc-eabee95e-19"
5608
5608
  })([
5609
5609
  `margin:0;font-size:20px;font-weight:700;line-height:28px;`
5610
5610
  ]);
5611
5611
  var MobileDrawerClose = styled3(Dialog.Close).withConfig({
5612
- componentId: "sc-4d456d17-20"
5612
+ componentId: "sc-eabee95e-20"
5613
5613
  })([
5614
5614
  `display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
5615
5615
  `;background:transparent;cursor:pointer;&:hover{background:`,
5616
5616
  `;}`
5617
5617
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5618
5618
  var MobileDrawerActions = styled3.div.withConfig({
5619
- componentId: "sc-4d456d17-21"
5619
+ componentId: "sc-eabee95e-21"
5620
5620
  })([
5621
5621
  `display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
5622
5622
  ]);
5623
5623
  var MobileMenuPanel = styled3.nav.withConfig({
5624
- componentId: "sc-4d456d17-22"
5624
+ componentId: "sc-eabee95e-22"
5625
5625
  })([
5626
5626
  `display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
5627
5627
  `;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;text-align:left;transition:color 160ms ease,background-color 160ms ease;}a:hover,a:focus-visible,button:not(:disabled):hover,button:not(:disabled):focus-visible{color:`,
5628
5628
  `;background:`,
5629
5629
  `;outline:none;}button:disabled{cursor:not-allowed;opacity:0.55;}.mobile-menu-group,.mobile-menu-submenu{display:flex;flex-direction:column;}.mobile-menu-submenu[hidden]{display:none;}a[aria-current="page"],button.mobile-menu-accordion-trigger[data-active="true"],button.mobile-menu-accordion-trigger[aria-expanded="true"]{color:`,
5630
- `;}.mobile-menu-submenu a{padding-left:28px;font-size:13px;font-weight:500;}.mobile-products-chevron{display:inline-flex;transition:transform 160ms ease;}.mobile-menu-accordion-trigger[aria-expanded="true"] .mobile-products-chevron{transform:rotate(180deg);}@media (max-width:767px){gap:0;a,button{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:12px 0;font-weight:700;line-height:18px;}a[data-accent="true"]{color:#f9bb3a;}.mobile-menu-submenu a{min-height:34px;padding:7px 0 7px 20px;font-size:14px;font-weight:500;}.mobile-menu-login{display:none;}svg{width:18px;height:18px;flex:0 0 18px;}}@media (prefers-reduced-motion:reduce){.mobile-products-chevron{transition:none;}}`
5630
+ `;}.mobile-menu-submenu a{padding-left:28px;font-size:13px;font-weight:500;}.mobile-products-chevron{display:inline-flex;transition:transform 160ms ease;}.mobile-menu-accordion-trigger[aria-expanded="true"] .mobile-products-chevron{transform:rotate(180deg);}@media (max-width:767px){gap:0;a,button{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:12px;font-weight:700;line-height:18px;}a[data-accent="true"]{color:#f9bb3a;}.mobile-menu-submenu a{min-height:34px;padding:7px 12px 7px 28px;font-size:14px;font-weight:500;}.mobile-menu-login{display:none;}svg{width:18px;height:18px;flex:0 0 18px;}}@media (prefers-reduced-motion:reduce){.mobile-products-chevron{transition:none;}}`
5631
5631
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
5632
5632
  var RightActions = styled3.div.withConfig({
5633
- componentId: "sc-4d456d17-23"
5633
+ componentId: "sc-eabee95e-23"
5634
5634
  })([
5635
5635
  `display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
5636
5636
  ]);
5637
5637
  var IconButton2 = styled3.button.withConfig({
5638
- componentId: "sc-4d456d17-24"
5638
+ componentId: "sc-eabee95e-24"
5639
5639
  })([
5640
5640
  `display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
5641
5641
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
5642
5642
  `;}@media (max-width:480px){display:none;}`
5643
5643
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5644
5644
  var LanguageTrigger = styled3(IconButton2).withConfig({
5645
- componentId: "sc-4d456d17-25"
5645
+ componentId: "sc-eabee95e-25"
5646
5646
  })([
5647
5647
  `&[data-state="open"]{color:#f9bb3a;background:`,
5648
5648
  `;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
5649
5649
  ], ({ theme }) => theme.colors.background.hover);
5650
5650
  var LanguageMenuContent = styled3(DropdownMenu.Content).withConfig({
5651
- componentId: "sc-4d456d17-26"
5651
+ componentId: "sc-eabee95e-26"
5652
5652
  })([
5653
5653
  `z-index:300;width:180px;padding:8px;border:1px solid #e6e7ea;border-radius:12px;color:#05080f;background:#f9fafb;box-shadow:0 4px 8px rgb(5 8 16 / 5%);outline:none;transform-origin:var(--radix-dropdown-menu-content-transform-origin);&[data-state="open"]{animation:`,
5654
5654
  ` 140ms ease-out;}&[data-state="closed"]{animation:`,
5655
5655
  ` 100ms ease-in;}:root[data-theme="dark"] &{border-color:#48484a;color:#f2f2f7;background:#2c2c2e;box-shadow:0 4px 12px rgb(0 0 0 / 24%);}&[data-compact="true"]{width:148px;padding:6px;}@media (prefers-reduced-motion:reduce){animation:none;}`
5656
5656
  ], fadeIn, fadeOut);
5657
5657
  var LanguageMenuItem = styled3(DropdownMenu.RadioItem).withConfig({
5658
- componentId: "sc-4d456d17-27"
5658
+ componentId: "sc-eabee95e-27"
5659
5659
  })([
5660
5660
  `display:flex;width:100%;height:46px;padding:12px 8px;align-items:center;gap:8px;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;line-height:22px;outline:none;user-select:none;&[data-highlighted]{background:#f1f2f4;}:root[data-theme="dark"] &[data-highlighted]{background:#3a3a3c;}`,
5661
5661
  `[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
5662
5662
  ], LanguageMenuContent);
5663
5663
  var LanguageFlag = styled3.span.withConfig({
5664
- componentId: "sc-4d456d17-28"
5664
+ componentId: "sc-eabee95e-28"
5665
5665
  })([
5666
5666
  `display:inline-flex;width:20px;height:20px;flex:0 0 20px;overflow:hidden;align-items:center;justify-content:center;border-radius:50%;img{width:100%;height:100%;max-width:none;object-fit:cover;}`
5667
5667
  ]);
5668
5668
  var LanguageItemIndicator = styled3(DropdownMenu.ItemIndicator).withConfig({
5669
- componentId: "sc-4d456d17-29"
5669
+ componentId: "sc-eabee95e-29"
5670
5670
  })([
5671
5671
  `display:inline-flex;width:18px;height:18px;margin-left:auto;flex:0 0 18px;align-items:center;justify-content:center;img{display:block;width:18px;height:18px;}`,
5672
5672
  `[data-compact="true"] &,`,
5673
5673
  `[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
5674
5674
  ], LanguageMenuContent, LanguageMenuContent);
5675
5675
  var ActionDivider = styled3.span.withConfig({
5676
- componentId: "sc-4d456d17-30"
5676
+ componentId: "sc-eabee95e-30"
5677
5677
  })([
5678
5678
  `width:1px;height:16px;background:`,
5679
5679
  `;@media (max-width:608px){display:none;}`
5680
5680
  ], ({ theme }) => theme.colors.border.line);
5681
5681
  var LoginLink = styled3.a.withConfig({
5682
- componentId: "sc-4d456d17-31"
5682
+ componentId: "sc-eabee95e-31"
5683
5683
  })([
5684
5684
  `display:inline-flex;text-decoration:none;height:40px;align-items:center;justify-content:center;border:1px solid #d2d5da;border-radius:6px;padding:0 16px;color:#05080f;background:transparent;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:background-color 160ms ease,border-color 160ms ease;:root[data-theme="dark"] &{color:#fafafa;}&:not([aria-disabled="true"]):hover{background:`,
5685
5685
  `;}&[aria-disabled="true"]{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
5686
5686
  ], ({ theme }) => theme.colors.background.hover);
5687
5687
  var OpenAccountButton = styled3(Button_default).withConfig({
5688
- componentId: "sc-4d456d17-32"
5688
+ componentId: "sc-eabee95e-32"
5689
5689
  })([
5690
5690
  `width:120px;height:40px;min-height:40px;border-radius:6px;padding:0;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-family:var(--font-inter),sans-serif;font-size:14px;font-weight:600;line-height:22px;white-space:nowrap;&:hover{&::before{opacity:0.8;}}&::before{content:"";position:absolute;left:50%;bottom:0;margin-left:-49px;width:98px;height:22px;background:#ffe492;filter:blur(10px);pointer-events:none;opacity:0;transition:opacity 0.15s linear;}@media (max-width:767px){display:none;}`
5691
5691
  ]);
5692
5692
  var MobileDrawerLoginButton = styled3(LoginLink).withConfig({
5693
- componentId: "sc-4d456d17-33"
5693
+ componentId: "sc-eabee95e-33"
5694
5694
  })([
5695
5695
  `display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
5696
5696
  ]);
5697
5697
  var MobileDrawerOpenAccountButton = styled3(OpenAccountButton).withConfig({
5698
- componentId: "sc-4d456d17-34"
5698
+ componentId: "sc-eabee95e-34"
5699
5699
  })([
5700
5700
  `display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
5701
5701
  ]);