quirk-ui 0.0.365 → 0.0.366

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.
@@ -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-J37Ll8tB-DX-BGaMQ.js";
3
+ import { v as u } from "./index-D3Zh1vaJ-DrnyUdVV.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-D3Zh1vaJ.js";
3
+ import { C as a } from "../../../index-BZW6Mm3B.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 "react/jsx-runtime";
2
- import { C as c } from "../../../index-D3Zh1vaJ.js";
2
+ import { C as c } from "../../../index-BZW6Mm3B.js";
3
3
  import "../../../index-CeBA0PT0.js";
4
4
  import "../../../external-link-BOPobeQJ.js";
5
5
  import "../../../play-DYgKiSaf.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
- import { C as y } from "../../../index-D3Zh1vaJ.js";
2
+ import { C as y } from "../../../index-BZW6Mm3B.js";
3
3
  import { ButtonGroup as $ } from "../ButtonGroup/index.js";
4
4
  import { a as x, 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-D3Zh1vaJ.js";
5
+ import { a as xe, C as ae } from "../../../index-BZW6Mm3B.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-D3Zh1vaJ.js";
4
+ import { C as f } from "./index-BZW6Mm3B.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";
@@ -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-J37Ll8tB.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 = {
9
+ import './assets/index-D3Zh1vaJ.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,
@@ -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-J37Ll8tB.css';var O = {
4
+ import './assets/index-D3Zh1vaJ.css';var O = {
5
5
  color: void 0,
6
6
  size: void 0,
7
7
  className: void 0,
package/dist/main.d.ts CHANGED
@@ -380,7 +380,7 @@ declare type ContainerProps = {
380
380
 
381
381
  export declare function ContentBlock({ layout, heading, image, video, metrics, callToAction, disclaimer, styleOptions, }: ContentBlockProps): JSX.Element;
382
382
 
383
- declare interface ContentBlockProps {
383
+ export declare interface ContentBlockProps {
384
384
  layout: {
385
385
  orientation?: "no-image" | "vertical-image-top" | "vertical-image-bottom" | "horizontal-image-right" | "horizontal-image-left";
386
386
  gap?: string;
@@ -636,7 +636,7 @@ declare interface FetchedSingletonBlock {
636
636
  blockSelection: "contentBlock" | "richTextBlock" | "quoteBlock";
637
637
  blockContent: ({
638
638
  _type: "contentBlock";
639
- } & ContentBlockProps & CallToActionSection) | ({
639
+ } & ContentBlockProps & CallToActionSection_2) | ({
640
640
  _type: "richTextBlock";
641
641
  } & RichTextBlockProps) | ({
642
642
  _type: "quoteBlock";
@@ -1340,13 +1340,13 @@ declare interface PageProps {
1340
1340
 
1341
1341
  export declare type PageSection = ({
1342
1342
  _type: "heroBlock";
1343
- } & HeroBlockProps & CallToActionSection_2) | ({
1343
+ } & HeroBlockProps & CallToActionSection) | ({
1344
1344
  _type: "cardGridBlock";
1345
1345
  } & CardGridBlockProps) | ({
1346
1346
  _type: "carouselBlock";
1347
1347
  } & CarouselBlockProps) | ({
1348
1348
  _type: "contentBlock";
1349
- } & ContentBlockProps & CallToActionSection_2) | ({
1349
+ } & ContentBlockProps & CallToActionSection) | ({
1350
1350
  _type: "stickyScrollBlock";
1351
1351
  } & StickyScrollBlockProps) | ({
1352
1352
  _type: "faqBlock";
@@ -1362,7 +1362,7 @@ export declare type PageSection = ({
1362
1362
  _type: "documentListBlock";
1363
1363
  } & DocumentListBlockProps) | ({
1364
1364
  _type: "featuredDocumentsBlock";
1365
- } & FeaturedDocumentsBlockProps & CallToActionSection_2) | ({
1365
+ } & FeaturedDocumentsBlockProps & CallToActionSection) | ({
1366
1366
  _type: "additionalCategoriesBlock";
1367
1367
  } & AdditionalCategoriesProps) | ({
1368
1368
  _type: "wasHelpfulBlock";
@@ -1399,7 +1399,7 @@ declare type ProgressBarProps = {
1399
1399
 
1400
1400
  export declare function QuoteBlock({ quote, author, styleOptions }: QuoteBlockProps): JSX.Element;
1401
1401
 
1402
- declare interface QuoteBlockProps {
1402
+ export declare interface QuoteBlockProps {
1403
1403
  quote: PortableTextBlock[];
1404
1404
  author?: string;
1405
1405
  style?: string;
@@ -1446,7 +1446,7 @@ declare type RangeProps = {
1446
1446
 
1447
1447
  export declare function RichTextBlock({ text, styleOptions }: RichTextBlockProps): JSX.Element;
1448
1448
 
1449
- declare interface RichTextBlockProps {
1449
+ export declare interface RichTextBlockProps {
1450
1450
  text: PortableTextBlock[];
1451
1451
  styleOptions: Styles;
1452
1452
  }
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-D3Zh1vaJ.js";
4
+ import { C as f } from "./index-BZW6Mm3B.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-pHYO4JmP.js";
2
+ import { C as e } from "../../../CategoryFilters-w-DzDbkw.js";
3
3
  import '../../../assets/index.css';/* empty css */
4
- import "../../../index-J37Ll8tB-DX-BGaMQ.js";
4
+ import "../../../index-D3Zh1vaJ-DrnyUdVV.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-D3Zh1vaJ.js";
7
+ import { C as L } from "../../../index-BZW6Mm3B.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-pHYO4JmP.js";
14
+ import { s, C as F } from "../../../CategoryFilters-w-DzDbkw.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-D3Zh1vaJ.js";
5
+ import { C as A } from "../../../index-BZW6Mm3B.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-J37Ll8tB-DX-BGaMQ.js";
4
+ import { v as p } from "../../../index-D3Zh1vaJ-DrnyUdVV.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-D3Zh1vaJ.js";
4
+ import { C as O } from "../../../index-BZW6Mm3B.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  import "../../../core/components/Tabs/index.js";
@@ -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-D3Zh1vaJ.js";
5
+ import { C as l } from "../../../index-BZW6Mm3B.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
@@ -137,7 +137,7 @@ declare interface CategoryProps {
137
137
 
138
138
  export declare function ContentBlock({ layout, heading, image, video, metrics, callToAction, disclaimer, styleOptions, }: ContentBlockProps): JSX.Element;
139
139
 
140
- declare interface ContentBlockProps {
140
+ export declare interface ContentBlockProps {
141
141
  layout: {
142
142
  orientation?: "no-image" | "vertical-image-top" | "vertical-image-bottom" | "horizontal-image-right" | "horizontal-image-left";
143
143
  gap?: string;
@@ -278,7 +278,7 @@ declare interface FetchedSingletonBlock {
278
278
  blockSelection: "contentBlock" | "richTextBlock" | "quoteBlock";
279
279
  blockContent: ({
280
280
  _type: "contentBlock";
281
- } & ContentBlockProps & CallToActionSection) | ({
281
+ } & ContentBlockProps & CallToActionSection_2) | ({
282
282
  _type: "richTextBlock";
283
283
  } & RichTextBlockProps) | ({
284
284
  _type: "quoteBlock";
@@ -399,13 +399,13 @@ declare interface PageProps {
399
399
 
400
400
  export declare type PageSection = ({
401
401
  _type: "heroBlock";
402
- } & HeroBlockProps & CallToActionSection_2) | ({
402
+ } & HeroBlockProps & CallToActionSection) | ({
403
403
  _type: "cardGridBlock";
404
404
  } & CardGridBlockProps) | ({
405
405
  _type: "carouselBlock";
406
406
  } & CarouselBlockProps) | ({
407
407
  _type: "contentBlock";
408
- } & ContentBlockProps & CallToActionSection_2) | ({
408
+ } & ContentBlockProps & CallToActionSection) | ({
409
409
  _type: "stickyScrollBlock";
410
410
  } & StickyScrollBlockProps) | ({
411
411
  _type: "faqBlock";
@@ -421,7 +421,7 @@ export declare type PageSection = ({
421
421
  _type: "documentListBlock";
422
422
  } & DocumentListBlockProps) | ({
423
423
  _type: "featuredDocumentsBlock";
424
- } & FeaturedDocumentsBlockProps & CallToActionSection_2) | ({
424
+ } & FeaturedDocumentsBlockProps & CallToActionSection) | ({
425
425
  _type: "additionalCategoriesBlock";
426
426
  } & AdditionalCategoriesProps) | ({
427
427
  _type: "wasHelpfulBlock";
@@ -431,7 +431,7 @@ export declare type PageSection = ({
431
431
 
432
432
  export declare function QuoteBlock({ quote, author, styleOptions }: QuoteBlockProps): JSX.Element;
433
433
 
434
- declare interface QuoteBlockProps {
434
+ export declare interface QuoteBlockProps {
435
435
  quote: PortableTextBlock[];
436
436
  author?: string;
437
437
  style?: string;
@@ -440,7 +440,7 @@ declare interface QuoteBlockProps {
440
440
 
441
441
  export declare function RichTextBlock({ text, styleOptions }: RichTextBlockProps): JSX.Element;
442
442
 
443
- declare interface RichTextBlockProps {
443
+ export declare interface RichTextBlockProps {
444
444
  text: PortableTextBlock[];
445
445
  styleOptions: Styles;
446
446
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.365",
4
+ "version": "0.0.366",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {