quirk-ui 0.0.372 → 0.0.374
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/{CategoryFilters-DrHyKs_u.js → CategoryFilters-o4Nh-kj7.js} +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index15.css.d.ts +5 -5
- package/dist/core/components/CallToAction/CallToAction.test.js +1 -1
- package/dist/core/components/CallToAction/index.js +1 -1
- package/dist/core/components/Footer/index.js +1 -1
- package/dist/core/components/NavBar/index.js +1 -1
- package/dist/core.js +1 -1
- package/dist/{index-DrVg5PLi-DrDwqWp5.js → index-DYQkvBi4-BU42YIP-.js} +1 -1
- package/dist/{index-CqCF-mLv.js → index-xnHGGMQI.js} +1 -1
- package/dist/main.d.ts +10 -28
- package/dist/main.js +25 -23
- package/dist/next/blocks/AdditionalCategoriesBlock/index.js +6 -6
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.js +2 -2
- package/dist/next/blocks/DocumentListBlock/index.js +2 -2
- package/dist/next/blocks/FeaturedDocumentsBlock/index.js +1 -1
- package/dist/next/blocks/TabsBlock/index.js +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.js +1 -1
- package/dist/next/cards/BlogArticleCard/index.js +4 -4
- package/dist/next/cards/ProductCard/index.js +20 -20
- package/dist/next/cards/SpotlightCard/index.js +1 -1
- package/dist/next/ui/CallToActions/index.js +1 -1
- package/dist/{link-BNz2ZrWk.js → next/ui/LocaleLink/index.js} +406 -400
- package/dist/next.d.ts +10 -28
- package/dist/next.js +17 -15
- package/dist/styles.css +1 -1
- package/dist/styles.css.d.ts +5 -5
- package/package.json +1 -1
- /package/dist/assets/{index-DrVg5PLi.css → index-DYQkvBi4.css} +0 -0
- /package/dist/assets/{index-DrVg5PLi.css.d.ts → index-DYQkvBi4.css.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import './assets/index.css';import './assets/CategoryFilters.css';/* empty css */
|
|
3
|
-
import { v as u } from "./index-
|
|
3
|
+
import { v as u } from "./index-DYQkvBi4-BU42YIP-.js";
|
|
4
4
|
import { X as m } from "./x-CnsEH4Ox.js";
|
|
5
5
|
const f = "_documentList_17zlj_1", H = "_container_17zlj_9", L = "_heading_17zlj_20", S = "_listContainer_17zlj_26", F = "_listWrapper_17zlj_37", b = "_list_17zlj_26", g = "_listHeader_17zlj_58", k = "_listSearch_17zlj_71", v = "_clearSearch_17zlj_98", C = "_listHeaderFilters_17zlj_117", w = "_listResults_17zlj_128", y = "_listSort_17zlj_132", x = "_filterToggle_17zlj_155", N = "_filterHeader_17zlj_170", I = "_loadMore_17zlj_191", M = "_filterList_17zlj_195", R = "_listFilters_17zlj_202", T = "_applyFilters_17zlj_210", W = "_show_17zlj_239", $ = "_hide_17zlj_248", A = "_buttonIsLoading_17zlj_299", s = {
|
|
6
6
|
documentList: f,
|
package/dist/assets/index15.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cardLink_peol3_1{text-decoration:none}._card_peol3_1{background-color:var(--color-primary-10);padding:var(--spacing-xl);height:100px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;position:relative;transition:background-color .3s ease-in-out}._card_peol3_1 ._title_peol3_17 span{font-weight:var(--font-weight-bold)}._cardLink_peol3_1:hover ._card_peol3_1{background-color:var(--color-primary-100)}._cardLink_peol3_1:hover ._title_peol3_17{color:#fff}._cardLink_peol3_1:hover ._title_peol3_17 span{color:#fff!important}._title_peol3_17{margin:0;font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);text-decoration:none;line-height:var(--line-height-tight);flex:1;transition:color .3s ease-in-out}._title_peol3_17 span{transition:color .3s ease-in-out}._imageWrapper_peol3_52{position:relative;height:100%;width:100px;display:flex;align-items:center;justify-content:center}._imageWrapper_peol3_52 img{position:absolute;width:80px;height:auto}@media (max-width: 767px){._imageWrapper_peol3_52{width:70px}._imageWrapper_peol3_52 img{width:70px}}._icon_peol3_75{display:inline-flex;align-items:center;justify-content:center;background-color:#fff;color:var(--color-primary-100);min-width:35px;min-height:35px;border-radius:var(--radius-full)}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
|
-
readonly "
|
|
3
|
-
readonly "
|
|
4
|
-
readonly "
|
|
5
|
-
readonly "
|
|
6
|
-
readonly "
|
|
2
|
+
readonly "_cardLink_peol3_1": string;
|
|
3
|
+
readonly "_card_peol3_1": string;
|
|
4
|
+
readonly "_icon_peol3_75": string;
|
|
5
|
+
readonly "_imageWrapper_peol3_52": string;
|
|
6
|
+
readonly "_title_peol3_17": string;
|
|
7
7
|
};
|
|
8
8
|
export = styles;
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { d as i, i as o, r, s as l, g as t } from "../../../vi.ClIskdbk-D39wA6Kr.js";
|
|
3
|
-
import { C as a } from "../../../index-
|
|
3
|
+
import { C as a } from "../../../index-xnHGGMQI.js";
|
|
4
4
|
import "../../../index-DPGXWTtt.js";
|
|
5
5
|
i("CallToAction", () => {
|
|
6
6
|
o("renders as a button when 'as' is set to 'button'", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as y } from "../../../index-
|
|
2
|
+
import { C as y } from "../../../index-xnHGGMQI.js";
|
|
3
3
|
import { ButtonGroup as k } from "../ButtonGroup/index.js";
|
|
4
4
|
import { a as $, b as F, c as I, d as w, e as A } from "../../../index-CeBA0PT0.js";
|
|
5
5
|
import { E } from "../../../external-link-BOPobeQJ.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as r, Fragment as ee } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as h, useEffect as T, useRef as R, useCallback as A } from "react";
|
|
3
3
|
import { s as e, N as Ce } from "../../../NavLink-BE_Z3sd3.js";
|
|
4
4
|
import { Modal as ne } from "../Modal/index.js";
|
|
5
|
-
import { a as xe, C as ae } from "../../../index-
|
|
5
|
+
import { a as xe, C as ae } from "../../../index-xnHGGMQI.js";
|
|
6
6
|
import { ButtonGroup as le } from "../ButtonGroup/index.js";
|
|
7
7
|
import { E as F } from "../../../external-link-BOPobeQJ.js";
|
|
8
8
|
import { X as Me } from "../../../x-CnsEH4Ox.js";
|
package/dist/core.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Badge as i } from "./core/components/Badge/index.js";
|
|
|
6
6
|
import { Box as l } from "./core/components/Box/index.js";
|
|
7
7
|
import { Breadcrumbs as d } from "./core/components/Breadcrumbs/index.js";
|
|
8
8
|
import { ButtonGroup as u } from "./core/components/ButtonGroup/index.js";
|
|
9
|
-
import { C } from "./index-
|
|
9
|
+
import { C } from "./index-xnHGGMQI.js";
|
|
10
10
|
import { Card as T } from "./core/components/Card/index.js";
|
|
11
11
|
import { Carousel as g } from "./core/components/Carousel/index.js";
|
|
12
12
|
import { Checkbox as F } from "./core/components/Checkbox/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as k, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { b as l, e as P } from "./chevron-down-DSUzBz9F-D-Ho8Mhr.js";
|
|
4
|
-
import './assets/index-
|
|
4
|
+
import './assets/index-DYQkvBi4.css';var O = {
|
|
5
5
|
color: void 0,
|
|
6
6
|
size: void 0,
|
|
7
7
|
className: void 0,
|
|
@@ -6,7 +6,7 @@ import { P as x } from "./play-DYgKiSaf.js";
|
|
|
6
6
|
import { C as $ } from "./chevron-down-DSUzBz9F.js";
|
|
7
7
|
import { A as L } from "./arrow-right-QEwnX3Sk.js";
|
|
8
8
|
import { A as M } from "./arrow-left-BIJvHwNQ.js";
|
|
9
|
-
import './assets/index-
|
|
9
|
+
import './assets/index-DYQkvBi4.css';/**
|
|
10
10
|
* @license lucide-react v0.488.0 - ISC
|
|
11
11
|
*
|
|
12
12
|
* This source code is licensed under the ISC license.
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { LinkProps } from 'next/link';
|
|
3
4
|
import { PortableTextBlock } from '@portabletext/types';
|
|
4
5
|
import { ReactNode } from 'react';
|
|
5
6
|
|
|
@@ -1206,6 +1207,8 @@ declare type LocaleBridgeValue = {
|
|
|
1206
1207
|
isDefault?: boolean;
|
|
1207
1208
|
};
|
|
1208
1209
|
|
|
1210
|
+
export declare function LocaleLink({ href, children, className, ...rest }: Props): JSX.Element;
|
|
1211
|
+
|
|
1209
1212
|
declare type Margin = keyof typeof marginClassMap;
|
|
1210
1213
|
|
|
1211
1214
|
declare const marginClassMap: {
|
|
@@ -1422,6 +1425,13 @@ declare type ProgressBarProps = {
|
|
|
1422
1425
|
className?: string;
|
|
1423
1426
|
};
|
|
1424
1427
|
|
|
1428
|
+
declare type Props = LinkProps & {
|
|
1429
|
+
children: React.ReactNode;
|
|
1430
|
+
className?: string;
|
|
1431
|
+
locale?: string;
|
|
1432
|
+
defaultLocale?: string;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1425
1435
|
export declare function QuoteBlock({ quote, author, styleOptions }: QuoteBlockProps): JSX.Element;
|
|
1426
1436
|
|
|
1427
1437
|
export declare interface QuoteBlockProps {
|
|
@@ -1517,34 +1527,6 @@ export declare type SingletonBlockProps = {
|
|
|
1517
1527
|
singleton: FetchedSingletonBlock;
|
|
1518
1528
|
};
|
|
1519
1529
|
|
|
1520
|
-
export declare interface SiteSettings {
|
|
1521
|
-
_id: string;
|
|
1522
|
-
_type: "site";
|
|
1523
|
-
title: string;
|
|
1524
|
-
identifier: {
|
|
1525
|
-
current: string;
|
|
1526
|
-
};
|
|
1527
|
-
domain?: string;
|
|
1528
|
-
defaultLocale?: string;
|
|
1529
|
-
logo?: SanityImage;
|
|
1530
|
-
siteIcon?: {
|
|
1531
|
-
favicon?: SanityImage;
|
|
1532
|
-
appleTouchIcon?: SanityImage;
|
|
1533
|
-
maskIcon?: SanityImage;
|
|
1534
|
-
};
|
|
1535
|
-
defaultSEO?: {
|
|
1536
|
-
title?: string;
|
|
1537
|
-
description?: string;
|
|
1538
|
-
image?: SanityImage;
|
|
1539
|
-
};
|
|
1540
|
-
socialLinks?: {
|
|
1541
|
-
platform: "Twitter" | "Facebook" | "Instagram" | "LinkedIn" | "YouTube" | "TikTok" | "GitHub";
|
|
1542
|
-
url: string;
|
|
1543
|
-
}[];
|
|
1544
|
-
defaultNavigation: NavigationData;
|
|
1545
|
-
defaultFooter?: NavigationData;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
1530
|
declare type Size = keyof typeof sizeClassMap;
|
|
1549
1531
|
|
|
1550
1532
|
declare type Size_2 = keyof typeof sizeClassMap_2;
|
package/dist/main.js
CHANGED
|
@@ -6,13 +6,13 @@ import { Badge as i } from "./core/components/Badge/index.js";
|
|
|
6
6
|
import { Box as l } from "./core/components/Box/index.js";
|
|
7
7
|
import { Breadcrumbs as B } from "./core/components/Breadcrumbs/index.js";
|
|
8
8
|
import { ButtonGroup as k } from "./core/components/ButtonGroup/index.js";
|
|
9
|
-
import { C as u } from "./index-
|
|
9
|
+
import { C as u } from "./index-xnHGGMQI.js";
|
|
10
10
|
import { Card as S } from "./core/components/Card/index.js";
|
|
11
11
|
import { Carousel as b } from "./core/components/Carousel/index.js";
|
|
12
12
|
import { Checkbox as A } from "./core/components/Checkbox/index.js";
|
|
13
13
|
import { Container as v } from "./core/components/Container/index.js";
|
|
14
|
-
import { DatePicker as
|
|
15
|
-
import { Divider as
|
|
14
|
+
import { DatePicker as D } from "./core/components/DatePicker/index.js";
|
|
15
|
+
import { Divider as P } from "./core/components/Divider/index.js";
|
|
16
16
|
import { Drawer as G } from "./core/components/Drawer/index.js";
|
|
17
17
|
import { Fieldset as R } from "./core/components/Fieldset/index.js";
|
|
18
18
|
import { FileUpload as I } from "./core/components/FileUpload/index.js";
|
|
@@ -37,9 +37,9 @@ import { Select as Co } from "./core/components/Select/index.js";
|
|
|
37
37
|
import { Skeleton as To } from "./core/components/Skeleton/index.js";
|
|
38
38
|
import { Spacer as go } from "./core/components/Spacer/index.js";
|
|
39
39
|
import { Spinner as Fo } from "./core/components/Spinner/index.js";
|
|
40
|
-
import { Stack as
|
|
41
|
-
import { Switch as
|
|
42
|
-
import { Table as
|
|
40
|
+
import { Stack as Lo } from "./core/components/Stack/index.js";
|
|
41
|
+
import { Switch as Ho } from "./core/components/Switch/index.js";
|
|
42
|
+
import { Table as ho } from "./core/components/Table/index.js";
|
|
43
43
|
import { Tabs as No } from "./core/components/Tabs/index.js";
|
|
44
44
|
import { Text as wo } from "./core/components/Text/index.js";
|
|
45
45
|
import { Textarea as Mo } from "./core/components/Textarea/index.js";
|
|
@@ -55,12 +55,13 @@ import { FaqBlock as or } from "./next/blocks/FaqBlock/index.js";
|
|
|
55
55
|
import { FeaturedDocumentsBlock as er } from "./next/blocks/FeaturedDocumentsBlock/index.js";
|
|
56
56
|
import { HeroBlock as pr } from "./next/blocks/HeroBlock/index.js";
|
|
57
57
|
import { HeroProvider as xr, useHeroContext as fr } from "./next/blocks/HeroBlock/HeroContext.js";
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
58
|
+
import { LocaleLink as ir } from "./next/ui/LocaleLink/index.js";
|
|
59
|
+
import { QuoteBlock as lr } from "./next/blocks/QuoteBlock/index.js";
|
|
60
|
+
import { RichTextBlock as Br } from "./next/blocks/RichTextBlock/index.js";
|
|
61
|
+
import { StickyScrollBlock as kr } from "./next/blocks/StickyScrollBlock/index.js";
|
|
62
|
+
import { TabsBlock as ur } from "./next/blocks/TabsBlock/index.js";
|
|
63
|
+
import { WasHelpfulBlock as Sr } from "./next/blocks/WasHelpfulBlock/index.js";
|
|
64
|
+
import { LocaleBridgeProvider as br } from "./next/contexts/LocaleBridge.js";
|
|
64
65
|
export {
|
|
65
66
|
t as Accordion,
|
|
66
67
|
jo as AccordionBlock,
|
|
@@ -79,8 +80,8 @@ export {
|
|
|
79
80
|
A as Checkbox,
|
|
80
81
|
v as Container,
|
|
81
82
|
Yo as ContentBlock,
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
D as DatePicker,
|
|
84
|
+
P as Divider,
|
|
84
85
|
_o as DocumentListBlock,
|
|
85
86
|
G as Drawer,
|
|
86
87
|
or as FaqBlock,
|
|
@@ -98,31 +99,32 @@ export {
|
|
|
98
99
|
X as Input,
|
|
99
100
|
Z as Label,
|
|
100
101
|
$ as List,
|
|
101
|
-
|
|
102
|
+
br as LocaleBridgeProvider,
|
|
103
|
+
ir as LocaleLink,
|
|
102
104
|
ro as Modal,
|
|
103
105
|
to as MultiSelect,
|
|
104
106
|
mo as Navbar,
|
|
105
107
|
fo as Notification,
|
|
106
108
|
io as NotificationContainer,
|
|
107
109
|
lo as ProgressBar,
|
|
108
|
-
|
|
110
|
+
lr as QuoteBlock,
|
|
109
111
|
Bo as Radio,
|
|
110
112
|
so as Range,
|
|
111
|
-
|
|
113
|
+
Br as RichTextBlock,
|
|
112
114
|
Co as Select,
|
|
113
115
|
To as Skeleton,
|
|
114
116
|
go as Spacer,
|
|
115
117
|
Fo as Spinner,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
Lo as Stack,
|
|
119
|
+
kr as StickyScrollBlock,
|
|
120
|
+
Ho as Switch,
|
|
121
|
+
ho as Table,
|
|
120
122
|
No as Tabs,
|
|
121
|
-
|
|
123
|
+
ur as TabsBlock,
|
|
122
124
|
wo as Text,
|
|
123
125
|
Mo as Textarea,
|
|
124
126
|
Uo as ThemeProvider,
|
|
125
127
|
yo as Tooltip,
|
|
126
|
-
|
|
128
|
+
Sr as WasHelpfulBlock,
|
|
127
129
|
fr as useHeroContext
|
|
128
130
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import '../../../assets/index4.css';const
|
|
4
|
-
additionalCategories:
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { LocaleLink as r } from "../../ui/LocaleLink/index.js";
|
|
3
|
+
import '../../../assets/index4.css';const s = "_additionalCategories_1630y_1", o = "_container_1630y_6", c = "_categories_1630y_12", d = "_list_1630y_23", _ = "_category_1630y_31", n = {
|
|
4
|
+
additionalCategories: s,
|
|
5
5
|
container: o,
|
|
6
6
|
categories: c,
|
|
7
7
|
list: d,
|
|
@@ -16,11 +16,11 @@ function y({
|
|
|
16
16
|
"section",
|
|
17
17
|
{
|
|
18
18
|
className: `${n.additionalCategories} ${e == "article" ? "blog" : ""}`,
|
|
19
|
-
children: /* @__PURE__ */ t("article", { className: n.container, children: /* @__PURE__ */
|
|
19
|
+
children: /* @__PURE__ */ t("article", { className: n.container, children: /* @__PURE__ */ a("div", { className: n.categories, children: [
|
|
20
20
|
/* @__PURE__ */ t("p", { children: "In this article:" }),
|
|
21
21
|
/* @__PURE__ */ t("div", { className: n.list, children: (i == null ? void 0 : i.length) && i.map(
|
|
22
22
|
(l) => l.slug.current.includes("keyword") && /* @__PURE__ */ t(
|
|
23
|
-
|
|
23
|
+
r,
|
|
24
24
|
{
|
|
25
25
|
href: `/blog?category=${l.slug.current}`,
|
|
26
26
|
className: n.category,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { C as e } from "../../../CategoryFilters-
|
|
2
|
+
import { C as e } from "../../../CategoryFilters-o4Nh-kj7.js";
|
|
3
3
|
import '../../../assets/index.css';/* empty css */
|
|
4
|
-
import "../../../index-
|
|
4
|
+
import "../../../index-DYQkvBi4-BU42YIP-.js";
|
|
5
5
|
import "../../../x-CnsEH4Ox.js";
|
|
6
6
|
export {
|
|
7
7
|
e as CategoryFilters
|
|
@@ -4,14 +4,14 @@ import { RichText as H } from "../../ui/PortableTextRenderer/index.js";
|
|
|
4
4
|
import { useStyleClasses as J } from "../../hooks/useStyleClasses.js";
|
|
5
5
|
import { useLocaleBridge as K } from "../../contexts/LocaleBridge.js";
|
|
6
6
|
import '../../../assets/colors.css';import '../../../assets/index.css';/* empty css */
|
|
7
|
-
import { C as L } from "../../../index-
|
|
7
|
+
import { C as L } from "../../../index-xnHGGMQI.js";
|
|
8
8
|
import { Input as Q } from "../../../core/components/Input/index.js";
|
|
9
9
|
import "react-dom";
|
|
10
10
|
import { Select as V } from "../../../core/components/Select/index.js";
|
|
11
11
|
import "../../../core/components/Tabs/index.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { BlogArticleCard as Y } from "../../cards/BlogArticleCard/index.js";
|
|
14
|
-
import { s, C as F } from "../../../CategoryFilters-
|
|
14
|
+
import { s, C as F } from "../../../CategoryFilters-o4Nh-kj7.js";
|
|
15
15
|
import { X as ee } from "../../../x-CnsEH4Ox.js";
|
|
16
16
|
const te = [
|
|
17
17
|
{ label: "Newest", value: "date-desc" },
|
|
@@ -7,7 +7,7 @@ import "../../../core/components/Tabs/index.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { BlogArticleCard as $ } from "../../cards/BlogArticleCard/index.js";
|
|
9
9
|
import { RichText as d } from "../../ui/PortableTextRenderer/index.js";
|
|
10
|
-
import {
|
|
10
|
+
import { LocaleLink as q } from "../../ui/LocaleLink/index.js";
|
|
11
11
|
import { useStyleClasses as E } from "../../hooks/useStyleClasses.js";
|
|
12
12
|
import { A as G } from "../../../arrow-right-QEwnX3Sk.js";
|
|
13
13
|
const H = "_featuredDocuments_cm5e5_1", J = "_container_cm5e5_7", K = "_carousel_cm5e5_17", Q = "_heading_cm5e5_25", V = "_flex_cm5e5_45", W = "_title_cm5e5_75", X = "_disclaimer_cm5e5_94", Z = "_document_cm5e5_102", y = "_documents_cm5e5_114", T = "_col1_cm5e5_118", A = "_col2_cm5e5_143", ee = "_col3_cm5e5_157", te = "_col4_cm5e5_171", se = "_featuredTop_cm5e5_185", re = "_featuredLeft_cm5e5_230", oe = "_twoColumn_cm5e5_281", e = {
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as X, useEffect as Y } from "react";
|
|
3
3
|
import { useStyleClasses as Z } from "../../hooks/useStyleClasses.js";
|
|
4
4
|
import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index11.css';/* empty css */
|
|
5
|
-
import { C as A } from "../../../index-
|
|
5
|
+
import { C as A } from "../../../index-xnHGGMQI.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import { Tabs as f } from "../../../core/components/Tabs/index.js";
|
|
8
8
|
/* empty css */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as m } from "react";
|
|
3
3
|
import '../../../assets/index.css';import '../../../assets/index67.css';/* empty css */
|
|
4
|
-
import { v as p } from "../../../index-
|
|
4
|
+
import { v as p } from "../../../index-DYQkvBi4-BU42YIP-.js";
|
|
5
5
|
const g = "_buttonGroup_15lw8_1", b = "_left_15lw8_16", w = "_center_15lw8_20", y = "_right_15lw8_29", v = "_vertical_15lw8_33", N = "_horizontal_15lw8_37", n = {
|
|
6
6
|
buttonGroup: g,
|
|
7
7
|
left: b,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import h from "next/image";
|
|
3
|
-
import {
|
|
3
|
+
import { LocaleLink as g } from "../../ui/LocaleLink/index.js";
|
|
4
4
|
import { c as d } from "../../../createLucideIcon-C8GTh_Qx.js";
|
|
5
5
|
import '../../../assets/index64.css';/**
|
|
6
6
|
* @license lucide-react v0.488.0 - ISC
|
|
@@ -32,8 +32,8 @@ function U({
|
|
|
32
32
|
//layout,
|
|
33
33
|
limit: l
|
|
34
34
|
}) {
|
|
35
|
-
var
|
|
36
|
-
const _ = `/blog/articles/${e.slug.current}`, o = (
|
|
35
|
+
var c, s, m;
|
|
36
|
+
const _ = `/blog/articles/${e.slug.current}`, o = (c = e.categories) != null && c.length ? e.categories[0] : null;
|
|
37
37
|
return /* @__PURE__ */ n(
|
|
38
38
|
g,
|
|
39
39
|
{
|
|
@@ -46,7 +46,7 @@ function U({
|
|
|
46
46
|
h,
|
|
47
47
|
{
|
|
48
48
|
src: e.featuredImage.imageUrl ?? "",
|
|
49
|
-
alt: ((
|
|
49
|
+
alt: ((s = e.featuredImage) == null ? void 0 : s.asset.altText) || ((m = e == null ? void 0 : e.featuredImage) == null ? void 0 : m.asset.description) || "Content image",
|
|
50
50
|
width: 600,
|
|
51
51
|
height: 400,
|
|
52
52
|
priority: !0
|
|
@@ -4,34 +4,34 @@ import { RichText as c } from "../../ui/PortableTextRenderer/index.js";
|
|
|
4
4
|
import L from "next/image";
|
|
5
5
|
import { resolveLinkURL as x } from "../../utils/resolveLinkUrl.js";
|
|
6
6
|
import { A as y } from "../../../arrow-right-QEwnX3Sk.js";
|
|
7
|
-
import '../../../assets/index15.css';const U = "
|
|
7
|
+
import '../../../assets/index15.css';const U = "_cardLink_peol3_1", b = "_card_peol3_1", N = "_title_peol3_17", w = "_imageWrapper_peol3_52", R = "_icon_peol3_75", t = {
|
|
8
8
|
cardLink: U,
|
|
9
9
|
card: b,
|
|
10
|
-
title:
|
|
11
|
-
imageWrapper:
|
|
12
|
-
icon:
|
|
10
|
+
title: N,
|
|
11
|
+
imageWrapper: w,
|
|
12
|
+
icon: R
|
|
13
13
|
};
|
|
14
|
-
function
|
|
14
|
+
function O({
|
|
15
15
|
title: n,
|
|
16
16
|
//description,
|
|
17
17
|
image: r,
|
|
18
18
|
//icon,
|
|
19
19
|
callToAction: e,
|
|
20
|
-
onHover:
|
|
20
|
+
onHover: i,
|
|
21
21
|
onLeave: o
|
|
22
22
|
}) {
|
|
23
|
-
var
|
|
24
|
-
const [_,
|
|
23
|
+
var a, d;
|
|
24
|
+
const [_, l] = h(void 0);
|
|
25
25
|
v(() => {
|
|
26
|
-
async function
|
|
26
|
+
async function m() {
|
|
27
27
|
if ((e == null ? void 0 : e.type) === "link" || (e == null ? void 0 : e.type) === "download") {
|
|
28
|
-
const
|
|
29
|
-
|
|
28
|
+
const k = await x(e);
|
|
29
|
+
l(k);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
m();
|
|
33
33
|
}, [e]);
|
|
34
|
-
const
|
|
34
|
+
const f = () => r && r.imageUrl ? /* @__PURE__ */ s("div", { className: t.imageWrapper, children: /* @__PURE__ */ s(
|
|
35
35
|
L,
|
|
36
36
|
{
|
|
37
37
|
src: r.imageUrl,
|
|
@@ -40,9 +40,9 @@ function M({
|
|
|
40
40
|
height: 658,
|
|
41
41
|
priority: !0
|
|
42
42
|
}
|
|
43
|
-
) }) : null,
|
|
43
|
+
) }) : null, p = /* @__PURE__ */ u("div", { className: t.card, onMouseEnter: i, onMouseLeave: o, children: [
|
|
44
44
|
n && /* @__PURE__ */ s(c, { className: t.title, blocks: n }),
|
|
45
|
-
|
|
45
|
+
f(),
|
|
46
46
|
e && /* @__PURE__ */ s("div", { className: t.icon, children: /* @__PURE__ */ s(y, {}) })
|
|
47
47
|
] });
|
|
48
48
|
return e ? /* @__PURE__ */ s(
|
|
@@ -51,12 +51,12 @@ function M({
|
|
|
51
51
|
className: t.cardLink,
|
|
52
52
|
"aria-label": e.ariaLabel || e.label,
|
|
53
53
|
href: _,
|
|
54
|
-
target: ((
|
|
55
|
-
rel: ((
|
|
56
|
-
children:
|
|
54
|
+
target: ((a = e.linkOptions) == null ? void 0 : a.linkType) === "external" ? "_blank" : "_self",
|
|
55
|
+
rel: ((d = e.linkOptions) == null ? void 0 : d.linkType) === "external" ? "noopener noreferrer" : "",
|
|
56
|
+
children: p
|
|
57
57
|
}
|
|
58
|
-
) :
|
|
58
|
+
) : p;
|
|
59
59
|
}
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
O as ProductCard
|
|
62
62
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import v from "next/image";
|
|
3
3
|
import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index2.css';/* empty css */
|
|
4
4
|
import "react";
|
|
5
|
-
import { C as O } from "../../../index-
|
|
5
|
+
import { C as O } from "../../../index-xnHGGMQI.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "../../../core/components/Tabs/index.js";
|
|
8
8
|
/* empty css */
|
|
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as c, useEffect as b } from "react";
|
|
3
3
|
import '../../../assets/colors.css';import '../../../assets/index.css';/* empty css */
|
|
4
4
|
import { ButtonGroup as h } from "../../../core/components/ButtonGroup/index.js";
|
|
5
|
-
import { C as l } from "../../../index-
|
|
5
|
+
import { C as l } from "../../../index-xnHGGMQI.js";
|
|
6
6
|
import { Modal as p } from "../../../core/components/Modal/index.js";
|
|
7
7
|
import "../../../core/components/Tabs/index.js";
|
|
8
8
|
/* empty css */
|