quirk-ui 0.0.522 → 0.0.523

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/main.d.ts CHANGED
@@ -1,17 +1,26 @@
1
- import { AccordionBlockProps } from './AccordionBlock.types';
2
- import { AdditionalCategoriesProps } from './AdditionalCategoriesBlock.types';
1
+ import { AccordionBlockProps } from './next/blocks/AccordionBlock/AccordionBlock.types';
2
+ import { AccordionBlockProps as AccordionBlockProps_2 } from './AccordionBlock.types';
3
+ import { AdditionalCategoriesBlockProps } from './next/blocks/AdditionalCategoriesBlock/AdditionalCategoriesBlock.types';
4
+ import { AdditionalCategoriesBlockProps as AdditionalCategoriesBlockProps_2 } from './AdditionalCategoriesBlock.types';
3
5
  import { ArticleItem } from './next/types/article';
4
- import { CardGridBlockProps } from './CardGridBlock.types';
5
- import { CarouselBlockProps } from './CarouselBlock.types';
6
+ import { CardGridBlockProps } from './next/blocks/CardGridBlock/CardGridBlock.types';
7
+ import { CardGridBlockProps as CardGridBlockProps_2 } from './CardGridBlock.types';
8
+ import { CarouselBlockProps } from './next/blocks/CarouselBlock/CarouselBlock.types';
9
+ import { CarouselBlockProps as CarouselBlockProps_2 } from './CarouselBlock.types';
6
10
  import { CategoryProps } from './next/types/category';
7
11
  import { ContentBlockProps } from './next/blocks/ContentBlock/ContentBlock.types';
8
12
  import { ContentBlockProps as ContentBlockProps_2 } from './ContentBlock.types';
9
13
  import { default as default_2 } from 'react';
10
- import { DocumentListBlockProps } from './DocumentListBlock.types';
11
- import { FaqBlockProps } from './FaqBlock.types';
12
- import { FeaturedDocumentsBlockProps } from './FeaturedDocumentsBlock.types';
13
- import { HeroBlockProps } from './HeroBlock.types';
14
+ import { DocumentListBlockProps } from './next/blocks/DocumentListBlock/DocumentListBlock.types';
15
+ import { DocumentListBlockProps as DocumentListBlockProps_2 } from './DocumentListBlock.types';
16
+ import { FaqBlockProps } from './next/blocks/FaqBlock/FaqBlock.types';
17
+ import { FaqBlockProps as FaqBlockProps_2 } from './FaqBlock.types';
18
+ import { FeaturedDocumentsBlockProps } from './next/blocks/FeaturedDocumentsBlock/FeaturedDocumentsBlock.types';
19
+ import { FeaturedDocumentsBlockProps as FeaturedDocumentsBlockProps_2 } from './FeaturedDocumentsBlock.types';
20
+ import { HeroBlockProps } from './next/blocks/HeroBlock/HeroBlock.types';
21
+ import { HeroBlockProps as HeroBlockProps_2 } from './HeroBlock.types';
14
22
  import { JSX } from 'react/jsx-runtime';
23
+ import { Link } from './next/types/link';
15
24
  import { LinkProps } from 'next/link';
16
25
  import { NavigationData } from './next/types/navigation';
17
26
  import { PageSection } from './next/types/pageSection';
@@ -26,14 +35,19 @@ import { SingletonBlockProps } from './next/types/singleton';
26
35
  import { SiteSettings } from './next/types/site';
27
36
  import { SpotlightProps } from './next/types/spotlight';
28
37
  import { SpotlightProps as SpotlightProps_2 } from '../../types/spotlight';
29
- import { StickyScrollBlockProps } from './StickyScrollBlock.types';
38
+ import { StickyScrollBlockProps } from './next/blocks/StickyScrollBlock/StickyScrollBlock.types';
39
+ import { StickyScrollBlockProps as StickyScrollBlockProps_2 } from './StickyScrollBlock.types';
30
40
  import { Styles } from './next/types/styles';
31
- import { TabsBlockProps } from './TabsBlock.types';
32
- import { WasHelpfulProps } from './WasHelpful.types';
41
+ import { TabsBlockProps } from './next/blocks/TabsBlock/TabsBlock.types';
42
+ import { TabsBlockProps as TabsBlockProps_2 } from './TabsBlock.types';
43
+ import { WasHelpfulBlockProps } from './next/blocks/WasHelpfulBlock/WasHelpful.types';
44
+ import { WasHelpfulBlockProps as WasHelpfulBlockProps_2 } from './WasHelpful.types';
33
45
 
34
46
  export declare function Accordion({ items, multiple, className, }: AccordionProps): JSX.Element;
35
47
 
36
- export declare function AccordionBlock({ heading, items, className, styleOptions, }: AccordionBlockProps): JSX.Element;
48
+ export declare function AccordionBlock({ heading, items, className, styleOptions, }: AccordionBlockProps_2): JSX.Element;
49
+
50
+ export { AccordionBlockProps }
37
51
 
38
52
  export declare type AccordionItem = {
39
53
  id: string;
@@ -47,7 +61,9 @@ declare type AccordionProps = {
47
61
  className?: string;
48
62
  };
49
63
 
50
- export declare function AdditionalCategoriesBlock({ categories, type, }: AdditionalCategoriesProps): JSX.Element | undefined;
64
+ export declare function AdditionalCategoriesBlock({ categories, type, }: AdditionalCategoriesBlockProps_2): JSX.Element | undefined;
65
+
66
+ export { AdditionalCategoriesBlockProps }
51
67
 
52
68
  export declare function Alert({ message, variant, onClose, className, }: AlertProps): JSX.Element | null;
53
69
 
@@ -223,7 +239,9 @@ export declare type CallToActionProps = BaseProps & ((AnchorProps & {
223
239
 
224
240
  export declare function Card({ title, content, footer, imageSrc, imageAlt, onClick, variant, clickable, className, }: CardProps): JSX.Element;
225
241
 
226
- export declare function CardGridBlock({ heading, grid, callToAction, styleOptions, }: CardGridBlockProps): JSX.Element;
242
+ export declare function CardGridBlock({ heading, grid, callToAction, styleOptions, }: CardGridBlockProps_2): JSX.Element;
243
+
244
+ export { CardGridBlockProps }
227
245
 
228
246
  declare type CardProps = {
229
247
  title?: string;
@@ -239,7 +257,9 @@ declare type CardProps = {
239
257
 
240
258
  export declare function Carousel({ items, itemsPerPage, itemsPerRow, autoplay, autoplayInterval, className, externalRef, siblingRef, isSplit, }: CarouselProps): JSX.Element;
241
259
 
242
- export declare function CarouselBlock({ heading, carouselOptions, items, styleOptions, }: CarouselBlockProps): JSX.Element;
260
+ export declare function CarouselBlock({ heading, carouselOptions, items, styleOptions, }: CarouselBlockProps_2): JSX.Element;
261
+
262
+ export { CarouselBlockProps }
243
263
 
244
264
  declare type CarouselProps = {
245
265
  items: default_2.ReactNode[];
@@ -392,7 +412,9 @@ declare const displayClassMap: {
392
412
 
393
413
  export declare function Divider({ axis, className, ...restProps }: SpacerProps): JSX.Element;
394
414
 
395
- export declare function DocumentListBlock({ heading, layout, includeFilters, excludeFilters, limit, categoryFilters, documentType, styleOptions, initialArticles, initialTotalCount, initialIncludeCategories, }: DocumentListBlockProps): JSX.Element;
415
+ export declare function DocumentListBlock({ heading, layout, includeFilters, excludeFilters, limit, categoryFilters, documentType, styleOptions, initialArticles, initialTotalCount, initialIncludeCategories, }: DocumentListBlockProps_2): JSX.Element;
416
+
417
+ export { DocumentListBlockProps }
396
418
 
397
419
  export declare function Drawer({ isOpen, onClose, position, overlay, ariaLabel, children, className, }: DrawerProps): JSX.Element;
398
420
 
@@ -406,9 +428,13 @@ declare type DrawerProps = {
406
428
  className?: string;
407
429
  };
408
430
 
409
- export declare function FaqBlock({ heading, items, className, styleOptions, }: FaqBlockProps): JSX.Element;
431
+ export declare function FaqBlock({ heading, items, className, styleOptions, }: FaqBlockProps_2): JSX.Element;
432
+
433
+ export { FaqBlockProps }
410
434
 
411
- export declare function FeaturedDocumentsBlock({ heading, selectionMode, layout, limit, articles, manualArticles, documentType, sortBy, callToAction, styleOptions, }: FeaturedDocumentsBlockProps): 0 | JSX.Element | undefined;
435
+ export declare function FeaturedDocumentsBlock({ heading, selectionMode, layout, limit, articles, manualArticles, documentType, sortBy, callToAction, styleOptions, }: FeaturedDocumentsBlockProps_2): 0 | JSX.Element | undefined;
436
+
437
+ export { FeaturedDocumentsBlockProps }
412
438
 
413
439
  export declare function Fieldset({ legend, className, children, ...restProps }: FieldsetProps): JSX.Element;
414
440
 
@@ -779,7 +805,9 @@ declare type HeadingProps = {
779
805
  className?: string;
780
806
  } & default_2.HTMLAttributes<HTMLHeadingElement>;
781
807
 
782
- export declare function HeroBlock({ heading, image, video, callToAction, pageData, styleOptions, }: HeroBlockProps): JSX.Element;
808
+ export declare function HeroBlock({ heading, image, video, callToAction, pageData, styleOptions, }: HeroBlockProps_2): JSX.Element;
809
+
810
+ export { HeroBlockProps }
783
811
 
784
812
  declare type HeroContextType = {
785
813
  isFullbleedHeroAtTop: boolean;
@@ -866,6 +894,8 @@ declare type LabelProps = {
866
894
  className?: string;
867
895
  } & default_2.LabelHTMLAttributes<HTMLLabelElement>;
868
896
 
897
+ export { Link }
898
+
869
899
  export declare function List({ items, ordered, className, onItemClick, }: ListProps): JSX.Element;
870
900
 
871
901
  export declare type ListItem = {
@@ -1278,7 +1308,9 @@ declare const statusClassMap: {
1278
1308
  readonly busy: string;
1279
1309
  };
1280
1310
 
1281
- export declare function StickyScrollBlock({ heading, items, showNumbers, }: StickyScrollBlockProps): JSX.Element;
1311
+ export declare function StickyScrollBlock({ heading, items, showNumbers, }: StickyScrollBlockProps_2): JSX.Element;
1312
+
1313
+ export { StickyScrollBlockProps }
1282
1314
 
1283
1315
  export { Styles }
1284
1316
 
@@ -1332,7 +1364,9 @@ export declare namespace Tabs {
1332
1364
  }) => JSX.Element;
1333
1365
  }
1334
1366
 
1335
- export declare function TabsBlock({ heading, image, items, callToAction, styleOptions, }: TabsBlockProps): JSX.Element | undefined;
1367
+ export declare function TabsBlock({ heading, image, items, callToAction, styleOptions, }: TabsBlockProps_2): JSX.Element | undefined;
1368
+
1369
+ export { TabsBlockProps }
1336
1370
 
1337
1371
  declare type TabsProps = {
1338
1372
  children: ReactNode;
@@ -1501,6 +1535,8 @@ declare const variantClassMap_9: {
1501
1535
  readonly small: string;
1502
1536
  };
1503
1537
 
1504
- export declare function WasHelpfulBlock({ page, type }: WasHelpfulProps): JSX.Element;
1538
+ export declare function WasHelpfulBlock({ page, type }: WasHelpfulBlockProps_2): JSX.Element;
1539
+
1540
+ export { WasHelpfulBlockProps }
1505
1541
 
1506
1542
  export { }
package/dist/next.d.ts CHANGED
@@ -1,17 +1,26 @@
1
- import { AccordionBlockProps } from './AccordionBlock.types';
2
- import { AdditionalCategoriesProps } from './AdditionalCategoriesBlock.types';
1
+ import { AccordionBlockProps } from './next/blocks/AccordionBlock/AccordionBlock.types';
2
+ import { AccordionBlockProps as AccordionBlockProps_2 } from './AccordionBlock.types';
3
+ import { AdditionalCategoriesBlockProps } from './next/blocks/AdditionalCategoriesBlock/AdditionalCategoriesBlock.types';
4
+ import { AdditionalCategoriesBlockProps as AdditionalCategoriesBlockProps_2 } from './AdditionalCategoriesBlock.types';
3
5
  import { ArticleItem } from './next/types/article';
4
- import { CardGridBlockProps } from './CardGridBlock.types';
5
- import { CarouselBlockProps } from './CarouselBlock.types';
6
+ import { CardGridBlockProps } from './next/blocks/CardGridBlock/CardGridBlock.types';
7
+ import { CardGridBlockProps as CardGridBlockProps_2 } from './CardGridBlock.types';
8
+ import { CarouselBlockProps } from './next/blocks/CarouselBlock/CarouselBlock.types';
9
+ import { CarouselBlockProps as CarouselBlockProps_2 } from './CarouselBlock.types';
6
10
  import { CategoryProps } from './next/types/category';
7
11
  import { ContentBlockProps } from './next/blocks/ContentBlock/ContentBlock.types';
8
12
  import { ContentBlockProps as ContentBlockProps_2 } from './ContentBlock.types';
9
13
  import { default as default_2 } from 'react';
10
- import { DocumentListBlockProps } from './DocumentListBlock.types';
11
- import { FaqBlockProps } from './FaqBlock.types';
12
- import { FeaturedDocumentsBlockProps } from './FeaturedDocumentsBlock.types';
13
- import { HeroBlockProps } from './HeroBlock.types';
14
+ import { DocumentListBlockProps } from './next/blocks/DocumentListBlock/DocumentListBlock.types';
15
+ import { DocumentListBlockProps as DocumentListBlockProps_2 } from './DocumentListBlock.types';
16
+ import { FaqBlockProps } from './next/blocks/FaqBlock/FaqBlock.types';
17
+ import { FaqBlockProps as FaqBlockProps_2 } from './FaqBlock.types';
18
+ import { FeaturedDocumentsBlockProps } from './next/blocks/FeaturedDocumentsBlock/FeaturedDocumentsBlock.types';
19
+ import { FeaturedDocumentsBlockProps as FeaturedDocumentsBlockProps_2 } from './FeaturedDocumentsBlock.types';
20
+ import { HeroBlockProps } from './next/blocks/HeroBlock/HeroBlock.types';
21
+ import { HeroBlockProps as HeroBlockProps_2 } from './HeroBlock.types';
14
22
  import { JSX } from 'react/jsx-runtime';
23
+ import { Link } from './next/types/link';
15
24
  import { LinkProps } from 'next/link';
16
25
  import { NavigationData } from './next/types/navigation';
17
26
  import { PageSection } from './next/types/pageSection';
@@ -25,20 +34,31 @@ import { SingletonBlockProps } from './next/types/singleton';
25
34
  import { SiteSettings } from './next/types/site';
26
35
  import { SpotlightProps } from './next/types/spotlight';
27
36
  import { SpotlightProps as SpotlightProps_2 } from '../../types/spotlight';
28
- import { StickyScrollBlockProps } from './StickyScrollBlock.types';
37
+ import { StickyScrollBlockProps } from './next/blocks/StickyScrollBlock/StickyScrollBlock.types';
38
+ import { StickyScrollBlockProps as StickyScrollBlockProps_2 } from './StickyScrollBlock.types';
29
39
  import { Styles } from './next/types/styles';
30
- import { TabsBlockProps } from './TabsBlock.types';
31
- import { WasHelpfulProps } from './WasHelpful.types';
40
+ import { TabsBlockProps } from './next/blocks/TabsBlock/TabsBlock.types';
41
+ import { TabsBlockProps as TabsBlockProps_2 } from './TabsBlock.types';
42
+ import { WasHelpfulBlockProps } from './next/blocks/WasHelpfulBlock/WasHelpful.types';
43
+ import { WasHelpfulBlockProps as WasHelpfulBlockProps_2 } from './WasHelpful.types';
32
44
 
33
- export declare function AccordionBlock({ heading, items, className, styleOptions, }: AccordionBlockProps): JSX.Element;
45
+ export declare function AccordionBlock({ heading, items, className, styleOptions, }: AccordionBlockProps_2): JSX.Element;
34
46
 
35
- export declare function AdditionalCategoriesBlock({ categories, type, }: AdditionalCategoriesProps): JSX.Element | undefined;
47
+ export { AccordionBlockProps }
48
+
49
+ export declare function AdditionalCategoriesBlock({ categories, type, }: AdditionalCategoriesBlockProps_2): JSX.Element | undefined;
50
+
51
+ export { AdditionalCategoriesBlockProps }
36
52
 
37
53
  export { ArticleItem }
38
54
 
39
- export declare function CardGridBlock({ heading, grid, callToAction, styleOptions, }: CardGridBlockProps): JSX.Element;
55
+ export declare function CardGridBlock({ heading, grid, callToAction, styleOptions, }: CardGridBlockProps_2): JSX.Element;
56
+
57
+ export { CardGridBlockProps }
40
58
 
41
- export declare function CarouselBlock({ heading, carouselOptions, items, styleOptions, }: CarouselBlockProps): JSX.Element;
59
+ export declare function CarouselBlock({ heading, carouselOptions, items, styleOptions, }: CarouselBlockProps_2): JSX.Element;
60
+
61
+ export { CarouselBlockProps }
42
62
 
43
63
  export { CategoryProps }
44
64
 
@@ -46,13 +66,21 @@ export declare function ContentBlock({ layout, heading, image, video, metrics, c
46
66
 
47
67
  export { ContentBlockProps }
48
68
 
49
- export declare function DocumentListBlock({ heading, layout, includeFilters, excludeFilters, limit, categoryFilters, documentType, styleOptions, initialArticles, initialTotalCount, initialIncludeCategories, }: DocumentListBlockProps): JSX.Element;
69
+ export declare function DocumentListBlock({ heading, layout, includeFilters, excludeFilters, limit, categoryFilters, documentType, styleOptions, initialArticles, initialTotalCount, initialIncludeCategories, }: DocumentListBlockProps_2): JSX.Element;
70
+
71
+ export { DocumentListBlockProps }
72
+
73
+ export declare function FaqBlock({ heading, items, className, styleOptions, }: FaqBlockProps_2): JSX.Element;
50
74
 
51
- export declare function FaqBlock({ heading, items, className, styleOptions, }: FaqBlockProps): JSX.Element;
75
+ export { FaqBlockProps }
52
76
 
53
- export declare function FeaturedDocumentsBlock({ heading, selectionMode, layout, limit, articles, manualArticles, documentType, sortBy, callToAction, styleOptions, }: FeaturedDocumentsBlockProps): 0 | JSX.Element | undefined;
77
+ export declare function FeaturedDocumentsBlock({ heading, selectionMode, layout, limit, articles, manualArticles, documentType, sortBy, callToAction, styleOptions, }: FeaturedDocumentsBlockProps_2): 0 | JSX.Element | undefined;
54
78
 
55
- export declare function HeroBlock({ heading, image, video, callToAction, pageData, styleOptions, }: HeroBlockProps): JSX.Element;
79
+ export { FeaturedDocumentsBlockProps }
80
+
81
+ export declare function HeroBlock({ heading, image, video, callToAction, pageData, styleOptions, }: HeroBlockProps_2): JSX.Element;
82
+
83
+ export { HeroBlockProps }
56
84
 
57
85
  declare type HeroContextType = {
58
86
  isFullbleedHeroAtTop: boolean;
@@ -63,6 +91,8 @@ export declare function HeroProvider({ children }: {
63
91
  children: React.ReactNode;
64
92
  }): JSX.Element;
65
93
 
94
+ export { Link }
95
+
66
96
  export declare function LocaleBridgeProvider({ children, value, }: {
67
97
  children: default_2.ReactNode;
68
98
  value: LocaleBridgeValue;
@@ -117,16 +147,22 @@ declare interface SpotlightCardProps {
117
147
 
118
148
  export { SpotlightProps }
119
149
 
120
- export declare function StickyScrollBlock({ heading, items, showNumbers, }: StickyScrollBlockProps): JSX.Element;
150
+ export declare function StickyScrollBlock({ heading, items, showNumbers, }: StickyScrollBlockProps_2): JSX.Element;
151
+
152
+ export { StickyScrollBlockProps }
121
153
 
122
154
  export { Styles }
123
155
 
124
- export declare function TabsBlock({ heading, image, items, callToAction, styleOptions, }: TabsBlockProps): JSX.Element | undefined;
156
+ export declare function TabsBlock({ heading, image, items, callToAction, styleOptions, }: TabsBlockProps_2): JSX.Element | undefined;
157
+
158
+ export { TabsBlockProps }
125
159
 
126
160
  export declare function useHeroContext(): HeroContextType;
127
161
 
128
162
  export declare function useLocaleBridge(): LocaleBridgeValue;
129
163
 
130
- export declare function WasHelpfulBlock({ page, type }: WasHelpfulProps): JSX.Element;
164
+ export declare function WasHelpfulBlock({ page, type }: WasHelpfulBlockProps_2): JSX.Element;
165
+
166
+ export { WasHelpfulBlockProps }
131
167
 
132
168
  export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.522",
4
+ "version": "0.0.523",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {