@enyxs/wikex-components 0.11.8 → 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 +36 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3561,48 +3561,48 @@ var dropOut = keyframes([
|
|
|
3561
3561
|
`from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
|
|
3562
3562
|
]);
|
|
3563
3563
|
var HeaderShell = styled.header.withConfig({
|
|
3564
|
-
componentId: "sc-
|
|
3564
|
+
componentId: "sc-5ada3506-0"
|
|
3565
3565
|
})([
|
|
3566
3566
|
`position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
|
|
3567
3567
|
`;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%);}`
|
|
3568
3568
|
], ({ theme }) => theme.colors.background.canvas);
|
|
3569
3569
|
var HeaderInner = styled.div.withConfig({
|
|
3570
|
-
componentId: "sc-
|
|
3570
|
+
componentId: "sc-5ada3506-1"
|
|
3571
3571
|
})([
|
|
3572
3572
|
`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;}`
|
|
3573
3573
|
]);
|
|
3574
3574
|
var BrandGroup = styled.div.withConfig({
|
|
3575
|
-
componentId: "sc-
|
|
3575
|
+
componentId: "sc-5ada3506-2"
|
|
3576
3576
|
})([
|
|
3577
3577
|
`display:flex;flex:0 0 auto;align-items:center;gap:16px;`
|
|
3578
3578
|
]);
|
|
3579
3579
|
var WikiBrand = styled(Link3).withConfig({
|
|
3580
|
-
componentId: "sc-
|
|
3580
|
+
componentId: "sc-5ada3506-3"
|
|
3581
3581
|
})([
|
|
3582
3582
|
`display:inline-flex;flex:0 0 auto;align-items:center;`
|
|
3583
3583
|
]);
|
|
3584
3584
|
var WikiLogo = styled(Image).withConfig({
|
|
3585
|
-
componentId: "sc-
|
|
3585
|
+
componentId: "sc-5ada3506-4"
|
|
3586
3586
|
})([
|
|
3587
|
-
`display:block;width:
|
|
3587
|
+
`display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
|
|
3588
3588
|
]);
|
|
3589
3589
|
var PartnerBrand = styled.a.withConfig({
|
|
3590
|
-
componentId: "sc-
|
|
3590
|
+
componentId: "sc-5ada3506-5"
|
|
3591
3591
|
})([
|
|
3592
3592
|
`display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
|
|
3593
3593
|
]);
|
|
3594
3594
|
var MxvLogo = styled(Image).withConfig({
|
|
3595
|
-
componentId: "sc-
|
|
3595
|
+
componentId: "sc-5ada3506-6"
|
|
3596
3596
|
})([
|
|
3597
3597
|
`display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
|
|
3598
3598
|
]);
|
|
3599
3599
|
var DesktopNavigation = styled.nav.withConfig({
|
|
3600
|
-
componentId: "sc-
|
|
3600
|
+
componentId: "sc-5ada3506-7"
|
|
3601
3601
|
})([
|
|
3602
3602
|
`display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
|
|
3603
3603
|
]);
|
|
3604
3604
|
var NavigationLink = styled(Link3).withConfig({
|
|
3605
|
-
componentId: "sc-
|
|
3605
|
+
componentId: "sc-5ada3506-8"
|
|
3606
3606
|
})([
|
|
3607
3607
|
`position:relative;color:`,
|
|
3608
3608
|
`;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
|
|
@@ -3610,14 +3610,14 @@ var NavigationLink = styled(Link3).withConfig({
|
|
|
3610
3610
|
`;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
|
|
3611
3611
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
3612
3612
|
var ProductsMenuTrigger = styled.button.withConfig({
|
|
3613
|
-
componentId: "sc-
|
|
3613
|
+
componentId: "sc-5ada3506-9"
|
|
3614
3614
|
})([
|
|
3615
3615
|
`display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
|
|
3616
3616
|
`;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:`,
|
|
3617
3617
|
`;}&: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;}}`
|
|
3618
3618
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
3619
3619
|
var ProductsMenuContent = styled(DropdownMenu.Content).withConfig({
|
|
3620
|
-
componentId: "sc-
|
|
3620
|
+
componentId: "sc-5ada3506-10"
|
|
3621
3621
|
})([
|
|
3622
3622
|
`z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
|
|
3623
3623
|
`;border-radius:8px;color:`,
|
|
@@ -3627,42 +3627,42 @@ var ProductsMenuContent = styled(DropdownMenu.Content).withConfig({
|
|
|
3627
3627
|
`;}`
|
|
3628
3628
|
], ({ 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);
|
|
3629
3629
|
var ProductsMenuItem = styled(DropdownMenu.Item).withConfig({
|
|
3630
|
-
componentId: "sc-
|
|
3630
|
+
componentId: "sc-5ada3506-11"
|
|
3631
3631
|
})([
|
|
3632
3632
|
`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:`,
|
|
3633
3633
|
`;background:transparent;outline:none;}`
|
|
3634
3634
|
], ({ theme }) => theme.colors.accent.primary);
|
|
3635
3635
|
var MobileNavigation2 = styled.div.withConfig({
|
|
3636
|
-
componentId: "sc-
|
|
3636
|
+
componentId: "sc-5ada3506-12"
|
|
3637
3637
|
})([
|
|
3638
3638
|
`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;}`
|
|
3639
3639
|
]);
|
|
3640
3640
|
var MobileThemeToggle = styled.div.withConfig({
|
|
3641
|
-
componentId: "sc-
|
|
3641
|
+
componentId: "sc-5ada3506-13"
|
|
3642
3642
|
})([
|
|
3643
3643
|
`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;}}}`
|
|
3644
3644
|
]);
|
|
3645
3645
|
var MobileLanguageToggle = styled.div.withConfig({
|
|
3646
|
-
componentId: "sc-
|
|
3646
|
+
componentId: "sc-5ada3506-14"
|
|
3647
3647
|
})([
|
|
3648
3648
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}`
|
|
3649
3649
|
]);
|
|
3650
3650
|
var MobileMenuTrigger = styled.button.withConfig({
|
|
3651
|
-
componentId: "sc-
|
|
3651
|
+
componentId: "sc-5ada3506-15"
|
|
3652
3652
|
})([
|
|
3653
3653
|
`display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
|
|
3654
3654
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
|
|
3655
3655
|
`;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
|
|
3656
3656
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3657
3657
|
var MobileDrawerOverlay = styled(Dialog.Overlay).withConfig({
|
|
3658
|
-
componentId: "sc-
|
|
3658
|
+
componentId: "sc-5ada3506-16"
|
|
3659
3659
|
})([
|
|
3660
3660
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
|
|
3661
3661
|
` 220ms ease-out;}&[data-state="closed"]{animation:`,
|
|
3662
3662
|
` 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);}`
|
|
3663
3663
|
], fadeIn, fadeOut);
|
|
3664
3664
|
var MobileDrawerContent = styled(Dialog.Content).withConfig({
|
|
3665
|
-
componentId: "sc-
|
|
3665
|
+
componentId: "sc-5ada3506-17"
|
|
3666
3666
|
})([
|
|
3667
3667
|
`position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
|
|
3668
3668
|
`;background:`,
|
|
@@ -3673,29 +3673,29 @@ var MobileDrawerContent = styled(Dialog.Content).withConfig({
|
|
|
3673
3673
|
` 180ms ease-in;}}`
|
|
3674
3674
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
|
|
3675
3675
|
var MobileDrawerHeader = styled.div.withConfig({
|
|
3676
|
-
componentId: "sc-
|
|
3676
|
+
componentId: "sc-5ada3506-18"
|
|
3677
3677
|
})([
|
|
3678
3678
|
`display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
|
|
3679
3679
|
]);
|
|
3680
3680
|
var MobileDrawerTitle = styled(Dialog.Title).withConfig({
|
|
3681
|
-
componentId: "sc-
|
|
3681
|
+
componentId: "sc-5ada3506-19"
|
|
3682
3682
|
})([
|
|
3683
3683
|
`margin:0;font-size:20px;font-weight:700;line-height:28px;`
|
|
3684
3684
|
]);
|
|
3685
3685
|
var MobileDrawerClose = styled(Dialog.Close).withConfig({
|
|
3686
|
-
componentId: "sc-
|
|
3686
|
+
componentId: "sc-5ada3506-20"
|
|
3687
3687
|
})([
|
|
3688
3688
|
`display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
|
|
3689
3689
|
`;background:transparent;cursor:pointer;&:hover{background:`,
|
|
3690
3690
|
`;}`
|
|
3691
3691
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3692
3692
|
var MobileDrawerActions = styled.div.withConfig({
|
|
3693
|
-
componentId: "sc-
|
|
3693
|
+
componentId: "sc-5ada3506-21"
|
|
3694
3694
|
})([
|
|
3695
3695
|
`display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
|
|
3696
3696
|
]);
|
|
3697
3697
|
var MobileMenuPanel = styled.nav.withConfig({
|
|
3698
|
-
componentId: "sc-
|
|
3698
|
+
componentId: "sc-5ada3506-22"
|
|
3699
3699
|
})([
|
|
3700
3700
|
`display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
|
|
3701
3701
|
`;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:`,
|
|
@@ -3704,72 +3704,72 @@ var MobileMenuPanel = styled.nav.withConfig({
|
|
|
3704
3704
|
`;}.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;}}`
|
|
3705
3705
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
|
|
3706
3706
|
var RightActions = styled.div.withConfig({
|
|
3707
|
-
componentId: "sc-
|
|
3707
|
+
componentId: "sc-5ada3506-23"
|
|
3708
3708
|
})([
|
|
3709
3709
|
`display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
|
|
3710
3710
|
]);
|
|
3711
3711
|
var IconButton2 = styled.button.withConfig({
|
|
3712
|
-
componentId: "sc-
|
|
3712
|
+
componentId: "sc-5ada3506-24"
|
|
3713
3713
|
})([
|
|
3714
3714
|
`display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
|
|
3715
3715
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
|
|
3716
3716
|
`;}@media (max-width:480px){display:none;}`
|
|
3717
3717
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3718
3718
|
var LanguageTrigger = styled(IconButton2).withConfig({
|
|
3719
|
-
componentId: "sc-
|
|
3719
|
+
componentId: "sc-5ada3506-25"
|
|
3720
3720
|
})([
|
|
3721
3721
|
`&[data-state="open"]{color:#f9bb3a;background:`,
|
|
3722
3722
|
`;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
|
|
3723
3723
|
], ({ theme }) => theme.colors.background.hover);
|
|
3724
3724
|
var LanguageMenuContent = styled(DropdownMenu.Content).withConfig({
|
|
3725
|
-
componentId: "sc-
|
|
3725
|
+
componentId: "sc-5ada3506-26"
|
|
3726
3726
|
})([
|
|
3727
3727
|
`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:`,
|
|
3728
3728
|
` 140ms ease-out;}&[data-state="closed"]{animation:`,
|
|
3729
3729
|
` 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;}`
|
|
3730
3730
|
], fadeIn, fadeOut);
|
|
3731
3731
|
var LanguageMenuItem = styled(DropdownMenu.RadioItem).withConfig({
|
|
3732
|
-
componentId: "sc-
|
|
3732
|
+
componentId: "sc-5ada3506-27"
|
|
3733
3733
|
})([
|
|
3734
3734
|
`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;}`,
|
|
3735
3735
|
`[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
|
|
3736
3736
|
], LanguageMenuContent);
|
|
3737
3737
|
var LanguageFlag = styled.span.withConfig({
|
|
3738
|
-
componentId: "sc-
|
|
3738
|
+
componentId: "sc-5ada3506-28"
|
|
3739
3739
|
})([
|
|
3740
3740
|
`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;}`
|
|
3741
3741
|
]);
|
|
3742
3742
|
var LanguageItemIndicator = styled(DropdownMenu.ItemIndicator).withConfig({
|
|
3743
|
-
componentId: "sc-
|
|
3743
|
+
componentId: "sc-5ada3506-29"
|
|
3744
3744
|
})([
|
|
3745
3745
|
`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;}`,
|
|
3746
3746
|
`[data-compact="true"] &,`,
|
|
3747
3747
|
`[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
|
|
3748
3748
|
], LanguageMenuContent, LanguageMenuContent);
|
|
3749
3749
|
var ActionDivider = styled.span.withConfig({
|
|
3750
|
-
componentId: "sc-
|
|
3750
|
+
componentId: "sc-5ada3506-30"
|
|
3751
3751
|
})([
|
|
3752
3752
|
`width:1px;height:16px;background:`,
|
|
3753
3753
|
`;@media (max-width:608px){display:none;}`
|
|
3754
3754
|
], ({ theme }) => theme.colors.border.line);
|
|
3755
3755
|
var LoginLink = styled.button.withConfig({
|
|
3756
|
-
componentId: "sc-
|
|
3756
|
+
componentId: "sc-5ada3506-31"
|
|
3757
3757
|
})([
|
|
3758
3758
|
`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:`,
|
|
3759
3759
|
`;}&:disabled{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
|
|
3760
3760
|
], ({ theme }) => theme.colors.background.hover);
|
|
3761
3761
|
var OpenAccountButton = styled(Button_default).withConfig({
|
|
3762
|
-
componentId: "sc-
|
|
3762
|
+
componentId: "sc-5ada3506-32"
|
|
3763
3763
|
})([
|
|
3764
3764
|
`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;}`
|
|
3765
3765
|
]);
|
|
3766
3766
|
var MobileDrawerLoginButton = styled(LoginLink).withConfig({
|
|
3767
|
-
componentId: "sc-
|
|
3767
|
+
componentId: "sc-5ada3506-33"
|
|
3768
3768
|
})([
|
|
3769
3769
|
`display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
|
|
3770
3770
|
]);
|
|
3771
3771
|
var MobileDrawerOpenAccountButton = styled(OpenAccountButton).withConfig({
|
|
3772
|
-
componentId: "sc-
|
|
3772
|
+
componentId: "sc-5ada3506-34"
|
|
3773
3773
|
})([
|
|
3774
3774
|
`display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
|
|
3775
3775
|
]);
|