@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.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7749,35 +7749,35 @@ var import_image5 = __toESM(require("next/image.js"));
|
|
|
7749
7749
|
var import_link2 = __toESM(require("next/link.js"));
|
|
7750
7750
|
var import_styled_components16 = require("styled-components");
|
|
7751
7751
|
var blogCardSurface = (0, import_styled_components16.css)([
|
|
7752
|
-
`display:flex;position:relative;width:100%;overflow:
|
|
7753
|
-
`;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"]{
|
|
7752
|
+
`display:flex;position:relative;width:100%;overflow:visible;align-items:stretch;border-radius:8px;background:`,
|
|
7753
|
+
`;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 `,
|
|
7754
7754
|
`;outline-offset:3px;}@media (prefers-reduced-motion:reduce){transition:none;img{transition:none;}}`
|
|
7755
7755
|
], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
|
|
7756
7756
|
var BlogCardArticle = import_styled_components16.styled.article.withConfig({
|
|
7757
|
-
componentId: "sc-
|
|
7757
|
+
componentId: "sc-afe5d65c-0"
|
|
7758
7758
|
})([
|
|
7759
7759
|
``,
|
|
7760
7760
|
``
|
|
7761
7761
|
], blogCardSurface);
|
|
7762
7762
|
var BlogCardLink = (0, import_styled_components16.styled)(import_link2.default).withConfig({
|
|
7763
|
-
componentId: "sc-
|
|
7763
|
+
componentId: "sc-afe5d65c-1"
|
|
7764
7764
|
})([
|
|
7765
7765
|
``,
|
|
7766
7766
|
` color:inherit;text-decoration:none;`
|
|
7767
7767
|
], blogCardSurface);
|
|
7768
7768
|
var BlogCardImagePanel = import_styled_components16.styled.div.withConfig({
|
|
7769
|
-
componentId: "sc-
|
|
7769
|
+
componentId: "sc-afe5d65c-2"
|
|
7770
7770
|
})([
|
|
7771
7771
|
`position:relative;width:288px;height:162px;flex:0 0 auto;overflow:hidden;border:1px solid `,
|
|
7772
7772
|
`;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;}}`
|
|
7773
7773
|
], ({ theme }) => theme.colors.border.line);
|
|
7774
7774
|
var BlogCardImage = (0, import_styled_components16.styled)(import_image5.default).withConfig({
|
|
7775
|
-
componentId: "sc-
|
|
7775
|
+
componentId: "sc-afe5d65c-3"
|
|
7776
7776
|
})([
|
|
7777
7777
|
`object-fit:cover;pointer-events:none;transition:transform 240ms ease;`
|
|
7778
7778
|
]);
|
|
7779
7779
|
var BlogCardContent = import_styled_components16.styled.div.withConfig({
|
|
7780
|
-
componentId: "sc-
|
|
7780
|
+
componentId: "sc-afe5d65c-4"
|
|
7781
7781
|
})([
|
|
7782
7782
|
`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:`,
|
|
7783
7783
|
`;&[data-size="md"]{padding:14px 20px !important;}&[data-size="sm"]{padding:12px 16px !important;}`,
|
|
@@ -7785,7 +7785,7 @@ var BlogCardContent = import_styled_components16.styled.div.withConfig({
|
|
|
7785
7785
|
`[data-orientation="vertical"] &{padding:16px 24px 24px;border-radius:0 0 8px 8px;}`
|
|
7786
7786
|
], ({ theme }) => theme.colors.background.card, BlogCardArticle, BlogCardLink);
|
|
7787
7787
|
var BlogCardBadge = import_styled_components16.styled.span.withConfig({
|
|
7788
|
-
componentId: "sc-
|
|
7788
|
+
componentId: "sc-afe5d65c-5"
|
|
7789
7789
|
})([
|
|
7790
7790
|
`position:absolute;z-index:1;top:-12px;left:0;display:inline-flex;isolation:isolate;padding:8px 24px;align-items:center;color:`,
|
|
7791
7791
|
`;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:`,
|
|
@@ -7793,13 +7793,13 @@ var BlogCardBadge = import_styled_components16.styled.span.withConfig({
|
|
|
7793
7793
|
`;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;}`
|
|
7794
7794
|
], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.deep);
|
|
7795
7795
|
var BlogCardDate = import_styled_components16.styled.p.withConfig({
|
|
7796
|
-
componentId: "sc-
|
|
7796
|
+
componentId: "sc-afe5d65c-6"
|
|
7797
7797
|
})([
|
|
7798
7798
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
7799
7799
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;white-space:nowrap;`
|
|
7800
7800
|
], ({ theme }) => theme.colors.text.secondary);
|
|
7801
7801
|
var BlogCardTitle = import_styled_components16.styled.h3.withConfig({
|
|
7802
|
-
componentId: "sc-
|
|
7802
|
+
componentId: "sc-afe5d65c-7"
|
|
7803
7803
|
})([
|
|
7804
7804
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
7805
7805
|
`;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;`,
|
|
@@ -7807,7 +7807,7 @@ var BlogCardTitle = import_styled_components16.styled.h3.withConfig({
|
|
|
7807
7807
|
`[data-size="sm"] &{font-size:16px;line-height:22px;}@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
7808
7808
|
], ({ theme }) => theme.colors.text.primary, BlogCardContent, BlogCardContent);
|
|
7809
7809
|
var BlogCardDescription = import_styled_components16.styled.p.withConfig({
|
|
7810
|
-
componentId: "sc-
|
|
7810
|
+
componentId: "sc-afe5d65c-8"
|
|
7811
7811
|
})([
|
|
7812
7812
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
7813
7813
|
`;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;`,
|