@enyxs/wikex-components 0.11.9 → 0.11.10

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
@@ -3599,48 +3599,48 @@ var dropOut = (0, import_styled_components.keyframes)([
3599
3599
  `from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
3600
3600
  ]);
3601
3601
  var HeaderShell = import_styled_components.default.header.withConfig({
3602
- componentId: "sc-37b4df5e-0"
3602
+ componentId: "sc-5ada3506-0"
3603
3603
  })([
3604
3604
  `position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
3605
3605
  `;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%);}`
3606
3606
  ], ({ theme }) => theme.colors.background.canvas);
3607
3607
  var HeaderInner = import_styled_components.default.div.withConfig({
3608
- componentId: "sc-37b4df5e-1"
3608
+ componentId: "sc-5ada3506-1"
3609
3609
  })([
3610
3610
  `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;}`
3611
3611
  ]);
3612
3612
  var BrandGroup = import_styled_components.default.div.withConfig({
3613
- componentId: "sc-37b4df5e-2"
3613
+ componentId: "sc-5ada3506-2"
3614
3614
  })([
3615
3615
  `display:flex;flex:0 0 auto;align-items:center;gap:16px;`
3616
3616
  ]);
3617
3617
  var WikiBrand = (0, import_styled_components.default)(import_link.default).withConfig({
3618
- componentId: "sc-37b4df5e-3"
3618
+ componentId: "sc-5ada3506-3"
3619
3619
  })([
3620
3620
  `display:inline-flex;flex:0 0 auto;align-items:center;`
3621
3621
  ]);
3622
3622
  var WikiLogo = (0, import_styled_components.default)(import_image.default).withConfig({
3623
- componentId: "sc-37b4df5e-4"
3623
+ componentId: "sc-5ada3506-4"
3624
3624
  })([
3625
- `display:block;width:80px;height:auto;@media (max-width:620px){width:84px;}`
3625
+ `display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
3626
3626
  ]);
3627
3627
  var PartnerBrand = import_styled_components.default.a.withConfig({
3628
- componentId: "sc-37b4df5e-5"
3628
+ componentId: "sc-5ada3506-5"
3629
3629
  })([
3630
3630
  `display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
3631
3631
  ]);
3632
3632
  var MxvLogo = (0, import_styled_components.default)(import_image.default).withConfig({
3633
- componentId: "sc-37b4df5e-6"
3633
+ componentId: "sc-5ada3506-6"
3634
3634
  })([
3635
3635
  `display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
3636
3636
  ]);
3637
3637
  var DesktopNavigation = import_styled_components.default.nav.withConfig({
3638
- componentId: "sc-37b4df5e-7"
3638
+ componentId: "sc-5ada3506-7"
3639
3639
  })([
3640
3640
  `display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
3641
3641
  ]);
3642
3642
  var NavigationLink = (0, import_styled_components.default)(import_link.default).withConfig({
3643
- componentId: "sc-37b4df5e-8"
3643
+ componentId: "sc-5ada3506-8"
3644
3644
  })([
3645
3645
  `position:relative;color:`,
3646
3646
  `;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
@@ -3648,14 +3648,14 @@ var NavigationLink = (0, import_styled_components.default)(import_link.default).
3648
3648
  `;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
3649
3649
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
3650
3650
  var ProductsMenuTrigger = import_styled_components.default.button.withConfig({
3651
- componentId: "sc-37b4df5e-9"
3651
+ componentId: "sc-5ada3506-9"
3652
3652
  })([
3653
3653
  `display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
3654
3654
  `;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:`,
3655
3655
  `;}&: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;}}`
3656
3656
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
3657
3657
  var ProductsMenuContent = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Content).withConfig({
3658
- componentId: "sc-37b4df5e-10"
3658
+ componentId: "sc-5ada3506-10"
3659
3659
  })([
3660
3660
  `z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
3661
3661
  `;border-radius:8px;color:`,
@@ -3665,42 +3665,42 @@ var ProductsMenuContent = (0, import_styled_components.default)(import_radix_ui.
3665
3665
  `;}`
3666
3666
  ], ({ 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);
3667
3667
  var ProductsMenuItem = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Item).withConfig({
3668
- componentId: "sc-37b4df5e-11"
3668
+ componentId: "sc-5ada3506-11"
3669
3669
  })([
3670
3670
  `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:`,
3671
3671
  `;background:transparent;outline:none;}`
3672
3672
  ], ({ theme }) => theme.colors.accent.primary);
3673
3673
  var MobileNavigation2 = import_styled_components.default.div.withConfig({
3674
- componentId: "sc-37b4df5e-12"
3674
+ componentId: "sc-5ada3506-12"
3675
3675
  })([
3676
3676
  `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;}`
3677
3677
  ]);
3678
3678
  var MobileThemeToggle = import_styled_components.default.div.withConfig({
3679
- componentId: "sc-37b4df5e-13"
3679
+ componentId: "sc-5ada3506-13"
3680
3680
  })([
3681
3681
  `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;}}}`
3682
3682
  ]);
3683
3683
  var MobileLanguageToggle = import_styled_components.default.div.withConfig({
3684
- componentId: "sc-37b4df5e-14"
3684
+ componentId: "sc-5ada3506-14"
3685
3685
  })([
3686
3686
  `display:none;align-items:center;@media (max-width:767px){display:flex;}`
3687
3687
  ]);
3688
3688
  var MobileMenuTrigger = import_styled_components.default.button.withConfig({
3689
- componentId: "sc-37b4df5e-15"
3689
+ componentId: "sc-5ada3506-15"
3690
3690
  })([
3691
3691
  `display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
3692
3692
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
3693
3693
  `;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
3694
3694
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
3695
3695
  var MobileDrawerOverlay = (0, import_styled_components.default)(import_radix_ui.Dialog.Overlay).withConfig({
3696
- componentId: "sc-37b4df5e-16"
3696
+ componentId: "sc-5ada3506-16"
3697
3697
  })([
3698
3698
  `position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
3699
3699
  ` 220ms ease-out;}&[data-state="closed"]{animation:`,
3700
3700
  ` 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);}`
3701
3701
  ], fadeIn, fadeOut);
3702
3702
  var MobileDrawerContent = (0, import_styled_components.default)(import_radix_ui.Dialog.Content).withConfig({
3703
- componentId: "sc-37b4df5e-17"
3703
+ componentId: "sc-5ada3506-17"
3704
3704
  })([
3705
3705
  `position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
3706
3706
  `;background:`,
@@ -3711,29 +3711,29 @@ var MobileDrawerContent = (0, import_styled_components.default)(import_radix_ui.
3711
3711
  ` 180ms ease-in;}}`
3712
3712
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
3713
3713
  var MobileDrawerHeader = import_styled_components.default.div.withConfig({
3714
- componentId: "sc-37b4df5e-18"
3714
+ componentId: "sc-5ada3506-18"
3715
3715
  })([
3716
3716
  `display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
3717
3717
  ]);
3718
3718
  var MobileDrawerTitle = (0, import_styled_components.default)(import_radix_ui.Dialog.Title).withConfig({
3719
- componentId: "sc-37b4df5e-19"
3719
+ componentId: "sc-5ada3506-19"
3720
3720
  })([
3721
3721
  `margin:0;font-size:20px;font-weight:700;line-height:28px;`
3722
3722
  ]);
3723
3723
  var MobileDrawerClose = (0, import_styled_components.default)(import_radix_ui.Dialog.Close).withConfig({
3724
- componentId: "sc-37b4df5e-20"
3724
+ componentId: "sc-5ada3506-20"
3725
3725
  })([
3726
3726
  `display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
3727
3727
  `;background:transparent;cursor:pointer;&:hover{background:`,
3728
3728
  `;}`
3729
3729
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
3730
3730
  var MobileDrawerActions = import_styled_components.default.div.withConfig({
3731
- componentId: "sc-37b4df5e-21"
3731
+ componentId: "sc-5ada3506-21"
3732
3732
  })([
3733
3733
  `display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
3734
3734
  ]);
3735
3735
  var MobileMenuPanel = import_styled_components.default.nav.withConfig({
3736
- componentId: "sc-37b4df5e-22"
3736
+ componentId: "sc-5ada3506-22"
3737
3737
  })([
3738
3738
  `display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
3739
3739
  `;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:`,
@@ -3742,72 +3742,72 @@ var MobileMenuPanel = import_styled_components.default.nav.withConfig({
3742
3742
  `;}.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;}}`
3743
3743
  ], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
3744
3744
  var RightActions = import_styled_components.default.div.withConfig({
3745
- componentId: "sc-37b4df5e-23"
3745
+ componentId: "sc-5ada3506-23"
3746
3746
  })([
3747
3747
  `display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
3748
3748
  ]);
3749
3749
  var IconButton2 = import_styled_components.default.button.withConfig({
3750
- componentId: "sc-37b4df5e-24"
3750
+ componentId: "sc-5ada3506-24"
3751
3751
  })([
3752
3752
  `display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
3753
3753
  `;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
3754
3754
  `;}@media (max-width:480px){display:none;}`
3755
3755
  ], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
3756
3756
  var LanguageTrigger = (0, import_styled_components.default)(IconButton2).withConfig({
3757
- componentId: "sc-37b4df5e-25"
3757
+ componentId: "sc-5ada3506-25"
3758
3758
  })([
3759
3759
  `&[data-state="open"]{color:#f9bb3a;background:`,
3760
3760
  `;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
3761
3761
  ], ({ theme }) => theme.colors.background.hover);
3762
3762
  var LanguageMenuContent = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Content).withConfig({
3763
- componentId: "sc-37b4df5e-26"
3763
+ componentId: "sc-5ada3506-26"
3764
3764
  })([
3765
3765
  `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:`,
3766
3766
  ` 140ms ease-out;}&[data-state="closed"]{animation:`,
3767
3767
  ` 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;}`
3768
3768
  ], fadeIn, fadeOut);
3769
3769
  var LanguageMenuItem = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.RadioItem).withConfig({
3770
- componentId: "sc-37b4df5e-27"
3770
+ componentId: "sc-5ada3506-27"
3771
3771
  })([
3772
3772
  `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;}`,
3773
3773
  `[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
3774
3774
  ], LanguageMenuContent);
3775
3775
  var LanguageFlag = import_styled_components.default.span.withConfig({
3776
- componentId: "sc-37b4df5e-28"
3776
+ componentId: "sc-5ada3506-28"
3777
3777
  })([
3778
3778
  `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;}`
3779
3779
  ]);
3780
3780
  var LanguageItemIndicator = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.ItemIndicator).withConfig({
3781
- componentId: "sc-37b4df5e-29"
3781
+ componentId: "sc-5ada3506-29"
3782
3782
  })([
3783
3783
  `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;}`,
3784
3784
  `[data-compact="true"] &,`,
3785
3785
  `[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
3786
3786
  ], LanguageMenuContent, LanguageMenuContent);
3787
3787
  var ActionDivider = import_styled_components.default.span.withConfig({
3788
- componentId: "sc-37b4df5e-30"
3788
+ componentId: "sc-5ada3506-30"
3789
3789
  })([
3790
3790
  `width:1px;height:16px;background:`,
3791
3791
  `;@media (max-width:608px){display:none;}`
3792
3792
  ], ({ theme }) => theme.colors.border.line);
3793
3793
  var LoginLink = import_styled_components.default.button.withConfig({
3794
- componentId: "sc-37b4df5e-31"
3794
+ componentId: "sc-5ada3506-31"
3795
3795
  })([
3796
3796
  `display:inline-flex;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(:disabled):hover{background:`,
3797
3797
  `;}&:disabled{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
3798
3798
  ], ({ theme }) => theme.colors.background.hover);
3799
3799
  var OpenAccountButton = (0, import_styled_components.default)(Button_default).withConfig({
3800
- componentId: "sc-37b4df5e-32"
3800
+ componentId: "sc-5ada3506-32"
3801
3801
  })([
3802
3802
  `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;}`
3803
3803
  ]);
3804
3804
  var MobileDrawerLoginButton = (0, import_styled_components.default)(LoginLink).withConfig({
3805
- componentId: "sc-37b4df5e-33"
3805
+ componentId: "sc-5ada3506-33"
3806
3806
  })([
3807
3807
  `display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
3808
3808
  ]);
3809
3809
  var MobileDrawerOpenAccountButton = (0, import_styled_components.default)(OpenAccountButton).withConfig({
3810
- componentId: "sc-37b4df5e-34"
3810
+ componentId: "sc-5ada3506-34"
3811
3811
  })([
3812
3812
  `display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
3813
3813
  ]);