@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.js CHANGED
@@ -5550,48 +5550,48 @@ var dropOut = (0, import_styled_components3.keyframes)([
5550
5550
  `from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
5551
5551
  ]);
5552
5552
  var HeaderShell = import_styled_components3.default.header.withConfig({
5553
- componentId: "sc-4d456d17-0"
5553
+ componentId: "sc-eabee95e-0"
5554
5554
  })([
5555
5555
  `position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
5556
5556
  `;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%);}`
5557
5557
  ], ({ theme }) => theme.colors.background.canvas);
5558
5558
  var HeaderInner = import_styled_components3.default.div.withConfig({
5559
- componentId: "sc-4d456d17-1"
5559
+ componentId: "sc-eabee95e-1"
5560
5560
  })([
5561
5561
  `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;}`
5562
5562
  ]);
5563
5563
  var BrandGroup = import_styled_components3.default.div.withConfig({
5564
- componentId: "sc-4d456d17-2"
5564
+ componentId: "sc-eabee95e-2"
5565
5565
  })([
5566
5566
  `display:flex;flex:0 0 auto;align-items:center;gap:16px;`
5567
5567
  ]);
5568
5568
  var WikiBrand = (0, import_styled_components3.default)(import_link.default).withConfig({
5569
- componentId: "sc-4d456d17-3"
5569
+ componentId: "sc-eabee95e-3"
5570
5570
  })([
5571
5571
  `display:inline-flex;flex:0 0 auto;align-items:center;`
5572
5572
  ]);
5573
5573
  var WikiLogo = (0, import_styled_components3.default)(import_image.default).withConfig({
5574
- componentId: "sc-4d456d17-4"
5574
+ componentId: "sc-eabee95e-4"
5575
5575
  })([
5576
5576
  `display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
5577
5577
  ]);
5578
5578
  var PartnerBrand = import_styled_components3.default.a.withConfig({
5579
- componentId: "sc-4d456d17-5"
5579
+ componentId: "sc-eabee95e-5"
5580
5580
  })([
5581
5581
  `display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
5582
5582
  ]);
5583
5583
  var MxvLogo = (0, import_styled_components3.default)(import_image.default).withConfig({
5584
- componentId: "sc-4d456d17-6"
5584
+ componentId: "sc-eabee95e-6"
5585
5585
  })([
5586
5586
  `display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
5587
5587
  ]);
5588
5588
  var DesktopNavigation = import_styled_components3.default.nav.withConfig({
5589
- componentId: "sc-4d456d17-7"
5589
+ componentId: "sc-eabee95e-7"
5590
5590
  })([
5591
5591
  `display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
5592
5592
  ]);
5593
5593
  var NavigationLink = (0, import_styled_components3.default)(import_link.default).withConfig({
5594
- componentId: "sc-4d456d17-8"
5594
+ componentId: "sc-eabee95e-8"
5595
5595
  })([
5596
5596
  `position:relative;color:`,
5597
5597
  `;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
@@ -5599,14 +5599,14 @@ var NavigationLink = (0, import_styled_components3.default)(import_link.default)
5599
5599
  `;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
5600
5600
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
5601
5601
  var ProductsMenuTrigger = import_styled_components3.default.button.withConfig({
5602
- componentId: "sc-4d456d17-9"
5602
+ componentId: "sc-eabee95e-9"
5603
5603
  })([
5604
5604
  `display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
5605
5605
  `;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:`,
5606
5606
  `;}&: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;}}`
5607
5607
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
5608
5608
  var ProductsMenuContent = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Content).withConfig({
5609
- componentId: "sc-4d456d17-10"
5609
+ componentId: "sc-eabee95e-10"
5610
5610
  })([
5611
5611
  `z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
5612
5612
  `;border-radius:8px;color:`,
@@ -5616,42 +5616,42 @@ var ProductsMenuContent = (0, import_styled_components3.default)(import_radix_ui
5616
5616
  `;}`
5617
5617
  ], ({ 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);
5618
5618
  var ProductsMenuItem = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Item).withConfig({
5619
- componentId: "sc-4d456d17-11"
5619
+ componentId: "sc-eabee95e-11"
5620
5620
  })([
5621
5621
  `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:`,
5622
5622
  `;background:transparent;outline:none;}`
5623
5623
  ], ({ theme }) => theme.colors.accent.primary);
5624
5624
  var MobileNavigation2 = import_styled_components3.default.div.withConfig({
5625
- componentId: "sc-4d456d17-12"
5625
+ componentId: "sc-eabee95e-12"
5626
5626
  })([
5627
5627
  `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;}`
5628
5628
  ]);
5629
5629
  var MobileThemeToggle = import_styled_components3.default.div.withConfig({
5630
- componentId: "sc-4d456d17-13"
5630
+ componentId: "sc-eabee95e-13"
5631
5631
  })([
5632
5632
  `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;}}}`
5633
5633
  ]);
5634
5634
  var MobileLanguageToggle = import_styled_components3.default.div.withConfig({
5635
- componentId: "sc-4d456d17-14"
5635
+ componentId: "sc-eabee95e-14"
5636
5636
  })([
5637
5637
  `display:none;align-items:center;@media (max-width:767px){display:flex;}`
5638
5638
  ]);
5639
5639
  var MobileMenuTrigger = import_styled_components3.default.button.withConfig({
5640
- componentId: "sc-4d456d17-15"
5640
+ componentId: "sc-eabee95e-15"
5641
5641
  })([
5642
5642
  `display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
5643
5643
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
5644
5644
  `;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
5645
5645
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5646
5646
  var MobileDrawerOverlay = (0, import_styled_components3.default)(import_radix_ui.Dialog.Overlay).withConfig({
5647
- componentId: "sc-4d456d17-16"
5647
+ componentId: "sc-eabee95e-16"
5648
5648
  })([
5649
5649
  `position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
5650
5650
  ` 220ms ease-out;}&[data-state="closed"]{animation:`,
5651
5651
  ` 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);}`
5652
5652
  ], fadeIn, fadeOut);
5653
5653
  var MobileDrawerContent = (0, import_styled_components3.default)(import_radix_ui.Dialog.Content).withConfig({
5654
- componentId: "sc-4d456d17-17"
5654
+ componentId: "sc-eabee95e-17"
5655
5655
  })([
5656
5656
  `position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
5657
5657
  `;background:`,
@@ -5662,103 +5662,103 @@ var MobileDrawerContent = (0, import_styled_components3.default)(import_radix_ui
5662
5662
  ` 180ms ease-in;}}`
5663
5663
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
5664
5664
  var MobileDrawerHeader = import_styled_components3.default.div.withConfig({
5665
- componentId: "sc-4d456d17-18"
5665
+ componentId: "sc-eabee95e-18"
5666
5666
  })([
5667
5667
  `display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
5668
5668
  ]);
5669
5669
  var MobileDrawerTitle = (0, import_styled_components3.default)(import_radix_ui.Dialog.Title).withConfig({
5670
- componentId: "sc-4d456d17-19"
5670
+ componentId: "sc-eabee95e-19"
5671
5671
  })([
5672
5672
  `margin:0;font-size:20px;font-weight:700;line-height:28px;`
5673
5673
  ]);
5674
5674
  var MobileDrawerClose = (0, import_styled_components3.default)(import_radix_ui.Dialog.Close).withConfig({
5675
- componentId: "sc-4d456d17-20"
5675
+ componentId: "sc-eabee95e-20"
5676
5676
  })([
5677
5677
  `display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
5678
5678
  `;background:transparent;cursor:pointer;&:hover{background:`,
5679
5679
  `;}`
5680
5680
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5681
5681
  var MobileDrawerActions = import_styled_components3.default.div.withConfig({
5682
- componentId: "sc-4d456d17-21"
5682
+ componentId: "sc-eabee95e-21"
5683
5683
  })([
5684
5684
  `display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
5685
5685
  ]);
5686
5686
  var MobileMenuPanel = import_styled_components3.default.nav.withConfig({
5687
- componentId: "sc-4d456d17-22"
5687
+ componentId: "sc-eabee95e-22"
5688
5688
  })([
5689
5689
  `display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
5690
5690
  `;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:`,
5691
5691
  `;background:`,
5692
5692
  `;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:`,
5693
- `;}.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;}}`
5693
+ `;}.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;}}`
5694
5694
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
5695
5695
  var RightActions = import_styled_components3.default.div.withConfig({
5696
- componentId: "sc-4d456d17-23"
5696
+ componentId: "sc-eabee95e-23"
5697
5697
  })([
5698
5698
  `display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
5699
5699
  ]);
5700
5700
  var IconButton2 = import_styled_components3.default.button.withConfig({
5701
- componentId: "sc-4d456d17-24"
5701
+ componentId: "sc-eabee95e-24"
5702
5702
  })([
5703
5703
  `display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
5704
5704
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
5705
5705
  `;}@media (max-width:480px){display:none;}`
5706
5706
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
5707
5707
  var LanguageTrigger = (0, import_styled_components3.default)(IconButton2).withConfig({
5708
- componentId: "sc-4d456d17-25"
5708
+ componentId: "sc-eabee95e-25"
5709
5709
  })([
5710
5710
  `&[data-state="open"]{color:#f9bb3a;background:`,
5711
5711
  `;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
5712
5712
  ], ({ theme }) => theme.colors.background.hover);
5713
5713
  var LanguageMenuContent = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Content).withConfig({
5714
- componentId: "sc-4d456d17-26"
5714
+ componentId: "sc-eabee95e-26"
5715
5715
  })([
5716
5716
  `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:`,
5717
5717
  ` 140ms ease-out;}&[data-state="closed"]{animation:`,
5718
5718
  ` 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;}`
5719
5719
  ], fadeIn, fadeOut);
5720
5720
  var LanguageMenuItem = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.RadioItem).withConfig({
5721
- componentId: "sc-4d456d17-27"
5721
+ componentId: "sc-eabee95e-27"
5722
5722
  })([
5723
5723
  `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;}`,
5724
5724
  `[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
5725
5725
  ], LanguageMenuContent);
5726
5726
  var LanguageFlag = import_styled_components3.default.span.withConfig({
5727
- componentId: "sc-4d456d17-28"
5727
+ componentId: "sc-eabee95e-28"
5728
5728
  })([
5729
5729
  `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;}`
5730
5730
  ]);
5731
5731
  var LanguageItemIndicator = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.ItemIndicator).withConfig({
5732
- componentId: "sc-4d456d17-29"
5732
+ componentId: "sc-eabee95e-29"
5733
5733
  })([
5734
5734
  `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;}`,
5735
5735
  `[data-compact="true"] &,`,
5736
5736
  `[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
5737
5737
  ], LanguageMenuContent, LanguageMenuContent);
5738
5738
  var ActionDivider = import_styled_components3.default.span.withConfig({
5739
- componentId: "sc-4d456d17-30"
5739
+ componentId: "sc-eabee95e-30"
5740
5740
  })([
5741
5741
  `width:1px;height:16px;background:`,
5742
5742
  `;@media (max-width:608px){display:none;}`
5743
5743
  ], ({ theme }) => theme.colors.border.line);
5744
5744
  var LoginLink = import_styled_components3.default.a.withConfig({
5745
- componentId: "sc-4d456d17-31"
5745
+ componentId: "sc-eabee95e-31"
5746
5746
  })([
5747
5747
  `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:`,
5748
5748
  `;}&[aria-disabled="true"]{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
5749
5749
  ], ({ theme }) => theme.colors.background.hover);
5750
5750
  var OpenAccountButton = (0, import_styled_components3.default)(Button_default).withConfig({
5751
- componentId: "sc-4d456d17-32"
5751
+ componentId: "sc-eabee95e-32"
5752
5752
  })([
5753
5753
  `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;}`
5754
5754
  ]);
5755
5755
  var MobileDrawerLoginButton = (0, import_styled_components3.default)(LoginLink).withConfig({
5756
- componentId: "sc-4d456d17-33"
5756
+ componentId: "sc-eabee95e-33"
5757
5757
  })([
5758
5758
  `display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
5759
5759
  ]);
5760
5760
  var MobileDrawerOpenAccountButton = (0, import_styled_components3.default)(OpenAccountButton).withConfig({
5761
- componentId: "sc-4d456d17-34"
5761
+ componentId: "sc-eabee95e-34"
5762
5762
  })([
5763
5763
  `display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
5764
5764
  ]);