@enyxs/wikex-components 0.11.0 → 0.11.1

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
@@ -7724,35 +7724,35 @@ import Image5 from "next/image.js";
7724
7724
  import Link4 from "next/link.js";
7725
7725
  import { css, styled as styled16 } from "styled-components";
7726
7726
  var blogCardSurface = css([
7727
- `display:flex;position:relative;width:100%;overflow:hidden;align-items:stretch;border-radius:8px;background:`,
7728
- `;box-shadow:4px 4px 10px rgb(0 0 0 / 4%);transition:transform 180ms ease,box-shadow 180ms ease;&:hover{transform:translateY(-2px);box-shadow:6px 8px 18px rgb(0 0 0 / 9%);img{transform:scale(1.035);}}&[data-orientation="vertical"]{overflow:visible;flex-direction:column;}&:focus-visible{outline:2px solid `,
7727
+ `display:flex;position:relative;width:100%;overflow:visible;align-items:stretch;border-radius:8px;background:`,
7728
+ `;box-shadow:4px 4px 10px rgb(0 0 0 / 4%);transition:transform 180ms ease,box-shadow 180ms ease;&:hover{transform:translateY(-2px);box-shadow:6px 8px 18px rgb(0 0 0 / 9%);img{transform:scale(1.035);}}&[data-orientation="vertical"]{flex-direction:column;}&:focus-visible{outline:2px solid `,
7729
7729
  `;outline-offset:3px;}@media (prefers-reduced-motion:reduce){transition:none;img{transition:none;}}`
7730
7730
  ], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
7731
7731
  var BlogCardArticle = styled16.article.withConfig({
7732
- componentId: "sc-470b0a9b-0"
7732
+ componentId: "sc-afe5d65c-0"
7733
7733
  })([
7734
7734
  ``,
7735
7735
  ``
7736
7736
  ], blogCardSurface);
7737
7737
  var BlogCardLink = styled16(Link4).withConfig({
7738
- componentId: "sc-470b0a9b-1"
7738
+ componentId: "sc-afe5d65c-1"
7739
7739
  })([
7740
7740
  ``,
7741
7741
  ` color:inherit;text-decoration:none;`
7742
7742
  ], blogCardSurface);
7743
7743
  var BlogCardImagePanel = styled16.div.withConfig({
7744
- componentId: "sc-470b0a9b-2"
7744
+ componentId: "sc-afe5d65c-2"
7745
7745
  })([
7746
7746
  `position:relative;width:288px;height:162px;flex:0 0 auto;overflow:hidden;border:1px solid `,
7747
7747
  `;border-radius:8px 0 0 8px;&[data-size="md"]{width:224px;height:126px;}&[data-size="sm"]{width:160px;height:90px;}&[data-orientation="vertical"]{width:100%;height:auto;aspect-ratio:16 / 9;border-radius:8px 8px 0 0;}@media (max-width:767px){&:not([data-orientation="vertical"]){width:160px;height:90px;}}`
7748
7748
  ], ({ theme }) => theme.colors.border.line);
7749
7749
  var BlogCardImage = styled16(Image5).withConfig({
7750
- componentId: "sc-470b0a9b-3"
7750
+ componentId: "sc-afe5d65c-3"
7751
7751
  })([
7752
7752
  `object-fit:cover;pointer-events:none;transition:transform 240ms ease;`
7753
7753
  ]);
7754
7754
  var BlogCardContent = styled16.div.withConfig({
7755
- componentId: "sc-470b0a9b-4"
7755
+ componentId: "sc-afe5d65c-4"
7756
7756
  })([
7757
7757
  `display:flex;min-width:0;flex:1 1 0;flex-direction:column;gap:4px;justify-content:start;padding:16px 24px;border-radius:0 8px 8px 0;background:`,
7758
7758
  `;&[data-size="md"]{padding:14px 20px !important;}&[data-size="sm"]{padding:12px 16px !important;}`,
@@ -7760,7 +7760,7 @@ var BlogCardContent = styled16.div.withConfig({
7760
7760
  `[data-orientation="vertical"] &{padding:16px 24px 24px;border-radius:0 0 8px 8px;}`
7761
7761
  ], ({ theme }) => theme.colors.background.card, BlogCardArticle, BlogCardLink);
7762
7762
  var BlogCardBadge = styled16.span.withConfig({
7763
- componentId: "sc-470b0a9b-5"
7763
+ componentId: "sc-afe5d65c-5"
7764
7764
  })([
7765
7765
  `position:absolute;z-index:1;top:-12px;left:0;display:inline-flex;isolation:isolate;padding:8px 24px;align-items:center;color:`,
7766
7766
  `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:600;line-height:18px;white-space:nowrap;&[data-size="sm"]{padding:8px 24px;font-size:12px;line-height:16px;}&::before{position:absolute;z-index:-1;top:0;left:-16px;right:-7px;bottom:-8px;background:`,
@@ -7768,13 +7768,13 @@ var BlogCardBadge = styled16.span.withConfig({
7768
7768
  `;content:"";mask:url("/icons/blog-card-ribbon-tail.svg") center / contain no-repeat;-webkit-mask:url("/icons/blog-card-ribbon-tail.svg") center / contain no-repeat;}&[data-size="sm"]::before{left:-8px;}&[data-size="sm"]::after{bottom:-8px;left:-8px;width:8px;height:8px;}`
7769
7769
  ], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.deep);
7770
7770
  var BlogCardDate = styled16.p.withConfig({
7771
- componentId: "sc-470b0a9b-6"
7771
+ componentId: "sc-afe5d65c-6"
7772
7772
  })([
7773
7773
  `width:100%;margin:0;overflow:hidden;color:`,
7774
7774
  `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;white-space:nowrap;`
7775
7775
  ], ({ theme }) => theme.colors.text.secondary);
7776
7776
  var BlogCardTitle = styled16.h3.withConfig({
7777
- componentId: "sc-470b0a9b-7"
7777
+ componentId: "sc-afe5d65c-7"
7778
7778
  })([
7779
7779
  `display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
7780
7780
  `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;`,
@@ -7782,7 +7782,7 @@ var BlogCardTitle = styled16.h3.withConfig({
7782
7782
  `[data-size="sm"] &{font-size:16px;line-height:22px;}@media (max-width:767px){font-size:16px;line-height:22px;}`
7783
7783
  ], ({ theme }) => theme.colors.text.primary, BlogCardContent, BlogCardContent);
7784
7784
  var BlogCardDescription = styled16.p.withConfig({
7785
- componentId: "sc-470b0a9b-8"
7785
+ componentId: "sc-afe5d65c-8"
7786
7786
  })([
7787
7787
  `display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
7788
7788
  `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;`,