quirk-ui 0.0.367 → 0.0.369
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-BwJEiSaQ.js → CategoryFilters-C5uo-2F-.js} +1 -1
- 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-BZW6Mm3B-CDK-_Ci0.js → index-Au4awc02-Dh9_Lvt1.js} +1 -1
- package/dist/{index-Bz8gVXVv.js → index-DukGLuy8.js} +1 -1
- package/dist/main.d.ts +51 -0
- package/dist/main.js +1 -1
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.js +2 -2
- package/dist/next/blocks/DocumentListBlock/index.js +2 -2
- package/dist/next/blocks/TabsBlock/index.js +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.js +1 -1
- package/dist/next/cards/SpotlightCard/index.js +1 -1
- package/dist/next/types/navigation.js +1 -0
- package/dist/next/types/site.js +1 -0
- package/dist/next/ui/CallToActions/index.js +1 -1
- package/dist/next.d.ts +100 -0
- package/package.json +1 -1
- /package/dist/assets/{index-BZW6Mm3B.css → index-Au4awc02.css} +0 -0
- /package/dist/assets/{index-BZW6Mm3B.css.d.ts → index-Au4awc02.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-Au4awc02-Dh9_Lvt1.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,
|
|
@@ -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-DukGLuy8.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-DukGLuy8.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-DukGLuy8.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { ButtonGroup as t } from "./core/components/ButtonGroup/index.js";
|
|
3
3
|
import { FloatingActionButton as m } from "./core/components/FloatingActionButton/index.js";
|
|
4
|
-
import { C as f } from "./index-
|
|
4
|
+
import { C as f } from "./index-DukGLuy8.js";
|
|
5
5
|
import { IconButton as i } from "./core/components/IconButton/index.js";
|
|
6
6
|
import { Heading as l } from "./core/components/Heading/index.js";
|
|
7
7
|
import { Text as d } from "./core/components/Text/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-Au4awc02.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-Au4awc02.css';const N = "_callToAction_1wtpc_1", C = "_blurred_1wtpc_26", R = "_primary_1wtpc_27", T = "_secondary_1wtpc_28", E = "_primaryInverted_1wtpc_29", q = "_secondaryInverted_1wtpc_30", F = "_blurredInverted_1wtpc_32", z = "_link_1wtpc_46", j = "_linkInverted_1wtpc_47", P = "_underline_1wtpc_48", V = "_underlineInverted_1wtpc_49", D = "_content_1wtpc_59", G = "_icon_1wtpc_193", B = "_iconLeft_1wtpc_213", H = "_iconRight_1wtpc_217", n = {
|
|
10
10
|
callToAction: N,
|
|
11
11
|
blurred: C,
|
|
12
12
|
primary: R,
|
package/dist/main.d.ts
CHANGED
|
@@ -1276,6 +1276,29 @@ export declare type NavGroup = {
|
|
|
1276
1276
|
spotlight?: default_2.ReactNode;
|
|
1277
1277
|
};
|
|
1278
1278
|
|
|
1279
|
+
export declare interface NavigationData {
|
|
1280
|
+
_id: string;
|
|
1281
|
+
_type: "navigation";
|
|
1282
|
+
title: string;
|
|
1283
|
+
slug: {
|
|
1284
|
+
current: string;
|
|
1285
|
+
};
|
|
1286
|
+
navigationType: "default" | "advanced";
|
|
1287
|
+
variant: "standard" | "transparent" | "default";
|
|
1288
|
+
showSearch?: boolean;
|
|
1289
|
+
showLocaleSelect?: boolean;
|
|
1290
|
+
navigationItems?: NavItem[];
|
|
1291
|
+
navigationGroups?: NavGroup[];
|
|
1292
|
+
alignment?: "left" | "center" | "right";
|
|
1293
|
+
utilityItems?: UtilityItem[];
|
|
1294
|
+
logo?: SanityImage;
|
|
1295
|
+
logoLink?: {
|
|
1296
|
+
current: string;
|
|
1297
|
+
};
|
|
1298
|
+
primaryInfo?: PortableTextBlock[];
|
|
1299
|
+
secondaryInfo?: PortableTextBlock[];
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1279
1302
|
export declare type NavItem = {
|
|
1280
1303
|
_key?: string;
|
|
1281
1304
|
label: string;
|
|
@@ -1492,6 +1515,34 @@ export declare type SingletonBlockProps = {
|
|
|
1492
1515
|
singleton: FetchedSingletonBlock;
|
|
1493
1516
|
};
|
|
1494
1517
|
|
|
1518
|
+
export declare interface SiteSettings {
|
|
1519
|
+
_id: string;
|
|
1520
|
+
_type: "site";
|
|
1521
|
+
title: string;
|
|
1522
|
+
identifier: {
|
|
1523
|
+
current: string;
|
|
1524
|
+
};
|
|
1525
|
+
domain?: string;
|
|
1526
|
+
defaultLocale?: string;
|
|
1527
|
+
logo?: SanityImage;
|
|
1528
|
+
siteIcon?: {
|
|
1529
|
+
favicon?: SanityImage;
|
|
1530
|
+
appleTouchIcon?: SanityImage;
|
|
1531
|
+
maskIcon?: SanityImage;
|
|
1532
|
+
};
|
|
1533
|
+
defaultSEO?: {
|
|
1534
|
+
title?: string;
|
|
1535
|
+
description?: string;
|
|
1536
|
+
image?: SanityImage;
|
|
1537
|
+
};
|
|
1538
|
+
socialLinks?: {
|
|
1539
|
+
platform: "Twitter" | "Facebook" | "Instagram" | "LinkedIn" | "YouTube" | "TikTok" | "GitHub";
|
|
1540
|
+
url: string;
|
|
1541
|
+
}[];
|
|
1542
|
+
defaultNavigation: NavigationData;
|
|
1543
|
+
defaultFooter?: NavigationData;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1495
1546
|
declare type Size = keyof typeof sizeClassMap;
|
|
1496
1547
|
|
|
1497
1548
|
declare type Size_2 = keyof typeof sizeClassMap_2;
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { ButtonGroup as t } from "./core/components/ButtonGroup/index.js";
|
|
3
3
|
import { FloatingActionButton as m } from "./core/components/FloatingActionButton/index.js";
|
|
4
|
-
import { C as f } from "./index-
|
|
4
|
+
import { C as f } from "./index-DukGLuy8.js";
|
|
5
5
|
import { IconButton as i } from "./core/components/IconButton/index.js";
|
|
6
6
|
import { Heading as l } from "./core/components/Heading/index.js";
|
|
7
7
|
import { Text as B } from "./core/components/Text/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { C as e } from "../../../CategoryFilters-
|
|
2
|
+
import { C as e } from "../../../CategoryFilters-C5uo-2F-.js";
|
|
3
3
|
import '../../../assets/index.css';/* empty css */
|
|
4
|
-
import "../../../index-
|
|
4
|
+
import "../../../index-Au4awc02-Dh9_Lvt1.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-DukGLuy8.js";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "../../../core/components/Tabs/index.js";
|
|
10
10
|
import { Input as Q } from "../../../core/components/Input/index.js";
|
|
11
11
|
import { Select as V } from "../../../core/components/Select/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-C5uo-2F-.js";
|
|
15
15
|
import { X as ee } from "../../../x-CnsEH4Ox.js";
|
|
16
16
|
const te = [
|
|
17
17
|
{ label: "Newest", value: "date-desc" },
|
|
@@ -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-DukGLuy8.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-Au4awc02-Dh9_Lvt1.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,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import { C as O } from "../../../index-
|
|
4
|
+
import { C as O } from "../../../index-DukGLuy8.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "../../../core/components/Tabs/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -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-DukGLuy8.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 */
|
package/dist/next.d.ts
CHANGED
|
@@ -392,6 +392,50 @@ declare type MetricType = {
|
|
|
392
392
|
metricDescription?: PortableTextBlock[];
|
|
393
393
|
};
|
|
394
394
|
|
|
395
|
+
declare type NavGroup = {
|
|
396
|
+
_key?: string;
|
|
397
|
+
title: string;
|
|
398
|
+
primaryItems?: NavItem[];
|
|
399
|
+
secondaryItems?: NavItem[];
|
|
400
|
+
spotlight?: default_2.ReactNode;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
export declare interface NavigationData {
|
|
404
|
+
_id: string;
|
|
405
|
+
_type: "navigation";
|
|
406
|
+
title: string;
|
|
407
|
+
slug: {
|
|
408
|
+
current: string;
|
|
409
|
+
};
|
|
410
|
+
navigationType: "default" | "advanced";
|
|
411
|
+
variant: "standard" | "transparent" | "default";
|
|
412
|
+
showSearch?: boolean;
|
|
413
|
+
showLocaleSelect?: boolean;
|
|
414
|
+
navigationItems?: NavItem[];
|
|
415
|
+
navigationGroups?: NavGroup[];
|
|
416
|
+
alignment?: "left" | "center" | "right";
|
|
417
|
+
utilityItems?: UtilityItem[];
|
|
418
|
+
logo?: SanityImage;
|
|
419
|
+
logoLink?: {
|
|
420
|
+
current: string;
|
|
421
|
+
};
|
|
422
|
+
primaryInfo?: PortableTextBlock[];
|
|
423
|
+
secondaryInfo?: PortableTextBlock[];
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
declare type NavItem = {
|
|
427
|
+
_key?: string;
|
|
428
|
+
label: string;
|
|
429
|
+
subtitle?: string;
|
|
430
|
+
description?: default_2.ReactNode;
|
|
431
|
+
href?: string;
|
|
432
|
+
sublinks?: NavItem[];
|
|
433
|
+
isExternal?: boolean;
|
|
434
|
+
onClick?: () => void;
|
|
435
|
+
icon?: string;
|
|
436
|
+
iconAlignment?: "left" | "right" | undefined;
|
|
437
|
+
};
|
|
438
|
+
|
|
395
439
|
declare interface PageProps {
|
|
396
440
|
_id: string;
|
|
397
441
|
helpfulYesCount: number;
|
|
@@ -472,6 +516,34 @@ export declare type SingletonBlockProps = {
|
|
|
472
516
|
singleton: FetchedSingletonBlock;
|
|
473
517
|
};
|
|
474
518
|
|
|
519
|
+
export declare interface SiteSettings {
|
|
520
|
+
_id: string;
|
|
521
|
+
_type: "site";
|
|
522
|
+
title: string;
|
|
523
|
+
identifier: {
|
|
524
|
+
current: string;
|
|
525
|
+
};
|
|
526
|
+
domain?: string;
|
|
527
|
+
defaultLocale?: string;
|
|
528
|
+
logo?: SanityImage;
|
|
529
|
+
siteIcon?: {
|
|
530
|
+
favicon?: SanityImage;
|
|
531
|
+
appleTouchIcon?: SanityImage;
|
|
532
|
+
maskIcon?: SanityImage;
|
|
533
|
+
};
|
|
534
|
+
defaultSEO?: {
|
|
535
|
+
title?: string;
|
|
536
|
+
description?: string;
|
|
537
|
+
image?: SanityImage;
|
|
538
|
+
};
|
|
539
|
+
socialLinks?: {
|
|
540
|
+
platform: "Twitter" | "Facebook" | "Instagram" | "LinkedIn" | "YouTube" | "TikTok" | "GitHub";
|
|
541
|
+
url: string;
|
|
542
|
+
}[];
|
|
543
|
+
defaultNavigation: NavigationData;
|
|
544
|
+
defaultFooter?: NavigationData;
|
|
545
|
+
}
|
|
546
|
+
|
|
475
547
|
export declare function StickyScrollBlock({ heading, items, showNumbers, }: StickyScrollBlockProps): JSX.Element;
|
|
476
548
|
|
|
477
549
|
declare interface StickyScrollBlockProps {
|
|
@@ -535,6 +607,34 @@ declare interface TabsBlockProps {
|
|
|
535
607
|
|
|
536
608
|
export declare function useHeroContext(): HeroContextType;
|
|
537
609
|
|
|
610
|
+
declare type UtilityItem = {
|
|
611
|
+
_key?: string;
|
|
612
|
+
label: string;
|
|
613
|
+
ariaLabel: string;
|
|
614
|
+
href?: string;
|
|
615
|
+
variant?: Variant;
|
|
616
|
+
displayType?: "text" | "image";
|
|
617
|
+
imageSrc?: string;
|
|
618
|
+
imageAlt?: string;
|
|
619
|
+
icon?: string;
|
|
620
|
+
iconAlignment?: "left" | "right" | undefined;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
declare type Variant = keyof typeof variantClassMap;
|
|
624
|
+
|
|
625
|
+
declare const variantClassMap: {
|
|
626
|
+
readonly primary: string;
|
|
627
|
+
readonly primaryInverted: string;
|
|
628
|
+
readonly secondary: string;
|
|
629
|
+
readonly secondaryInverted: string;
|
|
630
|
+
readonly link: string;
|
|
631
|
+
readonly linkInverted: string;
|
|
632
|
+
readonly underline: string;
|
|
633
|
+
readonly underlineInverted: string;
|
|
634
|
+
readonly blurred: string;
|
|
635
|
+
readonly blurredInverted: string;
|
|
636
|
+
};
|
|
637
|
+
|
|
538
638
|
export declare function WasHelpfulBlock({ page, type }: WasHelpfulProps): JSX.Element;
|
|
539
639
|
|
|
540
640
|
declare interface WasHelpfulProps {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|