quirk-ui 0.1.108 → 0.1.109
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/core.cjs +1 -1
- package/dist/core.d.ts +12 -0
- package/dist/core.mjs +28 -26
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +12 -0
- package/dist/main.mjs +84 -82
- package/package.json +1 -1
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');;/* empty css */const e=require("./core/components/Accordion/index.cjs"),o=require("./AccordionItem-DulgZilf.cjs"),n=require("./core/components/Avatar/index.cjs"),r=require("./core/components/Badge/index.cjs"),c=require("./core/components/Box/index.cjs"),t=require("./core/components/Breadcrumbs/index.cjs"),i=require("./core/components/ButtonGroup/index.cjs"),_=require("./index-D0ylyll7.cjs"),s=require("./core/components/Card/index.cjs"),a=require("./core/components/Carousel/index.cjs"),d=require("./core/components/Checkbox/index.cjs"),u=require("./core/components/Container/index.cjs"),p=require("./core/components/DatePicker/index.cjs"),m=require("./core/components/Divider/index.cjs"),x=require("./core/components/Drawer/index.cjs"),q=require("./core/components/Fieldset/index.cjs"),l=require("./core/components/FileUpload/index.cjs"),S=require("./core/components/FloatingActionButton/index.cjs"),b=require("./core/components/Footer/index.cjs"),B=require("./core/components/Form/index.cjs"),T=require("./core/components/Grid/index.cjs"),g=require("./core/components/Heading/index.cjs"),C=require("./core/components/Input/index.cjs"),F=require("./core/components/Label/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');;/* empty css */const e=require("./core/components/Accordion/index.cjs"),o=require("./AccordionItem-DulgZilf.cjs"),n=require("./core/components/Avatar/index.cjs"),r=require("./core/components/Badge/index.cjs"),c=require("./core/components/Box/index.cjs"),t=require("./core/components/Breadcrumbs/index.cjs"),i=require("./core/components/ButtonGroup/index.cjs"),_=require("./index-D0ylyll7.cjs"),s=require("./core/components/Card/index.cjs"),a=require("./core/components/Carousel/index.cjs"),d=require("./core/components/Checkbox/index.cjs"),u=require("./core/components/Container/index.cjs"),p=require("./core/components/DatePicker/index.cjs"),m=require("./core/components/Divider/index.cjs"),x=require("./core/components/Drawer/index.cjs"),q=require("./core/components/Fieldset/index.cjs"),l=require("./core/components/FileUpload/index.cjs"),S=require("./core/components/FloatingActionButton/index.cjs"),b=require("./core/components/Footer/index.cjs"),B=require("./core/components/Form/index.cjs"),T=require("./core/components/Grid/index.cjs"),g=require("./core/components/Heading/index.cjs"),C=require("./core/components/Input/index.cjs"),F=require("./core/components/Label/index.cjs"),k=require("./core/components/List/index.cjs"),v=require("./core/components/Modal/index.cjs"),A=require("./core/components/NavBar/index.cjs"),h=require("./core/components/Notification/index.cjs"),P=require("./core/components/NotificationContainer/index.cjs"),D=require("./core/components/ProgressBar/index.cjs"),N=require("./core/components/Radio/index.cjs"),f=require("./core/components/Range/index.cjs"),M=require("./core/components/Select/index.cjs"),w=require("./core/components/Sidebar/index.cjs"),G=require("./core/components/Skeleton/index.cjs"),I=require("./core/components/Spacer/index.cjs"),L=require("./core/components/Spinner/index.cjs"),R=require("./core/components/Stack/index.cjs"),y=require("./core/components/Switch/index.cjs"),H=require("./core/components/Table/index.cjs"),Q=require("./core/components/Tabs/index.cjs"),U=require("./core/components/Text/index.cjs"),j=require("./core/components/Textarea/index.cjs"),O=require("./core/components/Tooltip/index.cjs"),z=require("./core/utils/ThemeProvider/index.cjs"),E=require("./core/hooks/useMediaQuery.cjs");exports.Accordion=e.Accordion;exports.AccordionItem=o.AccordionItem;exports.Avatar=n.Avatar;exports.Badge=r.Badge;exports.Box=c.Box;exports.Breadcrumbs=t.Breadcrumbs;exports.ButtonGroup=i.ButtonGroup;exports.Button=_.Button;exports.Card=s.Card;exports.Carousel=a.Carousel;exports.Checkbox=d.Checkbox;exports.Container=u.Container;exports.DatePicker=p.DatePicker;exports.Divider=m.Divider;exports.Drawer=x.Drawer;exports.Fieldset=q.Fieldset;exports.FileUpload=l.FileUpload;exports.FloatingActionButton=S.FloatingActionButton;exports.Footer=b.Footer;exports.Form=B.Form;exports.Grid=T.Grid;exports.Heading=g.Heading;exports.Input=C.Input;exports.Label=F.Label;exports.List=k.List;exports.Modal=v.Modal;exports.Navbar=A.Navbar;exports.Notification=h.Notification;exports.NotificationContainer=P.NotificationContainer;exports.ProgressBar=D.ProgressBar;exports.Radio=N.Radio;exports.Range=f.Range;exports.Select=M.Select;exports.Sidebar=w.Sidebar;exports.Skeleton=G.Skeleton;exports.Spacer=I.Spacer;exports.Spinner=L.Spinner;exports.Stack=R.Stack;exports.Switch=y.Switch;exports.Table=H.Table;exports.Tabs=Q.Tabs;exports.Text=U.Text;exports.Textarea=j.Textarea;exports.Tooltip=O.Tooltip;exports.ThemeProvider=z.ThemeProvider;exports.useMediaQuery=E.useMediaQuery;
|
package/dist/core.d.ts
CHANGED
|
@@ -1614,6 +1614,18 @@ declare type TriggerProps = {
|
|
|
1614
1614
|
className?: string;
|
|
1615
1615
|
};
|
|
1616
1616
|
|
|
1617
|
+
/**
|
|
1618
|
+
* Returns whether the given media query currently matches.
|
|
1619
|
+
*
|
|
1620
|
+
* Fixes over the original:
|
|
1621
|
+
* - Initial state is seeded from the query directly (lazy initialiser) so
|
|
1622
|
+
* the first render is already correct instead of always returning false.
|
|
1623
|
+
* - `matches` removed from the useEffect dependency array — it was causing
|
|
1624
|
+
* the effect to re-run every time matches changed, creating a feedback loop.
|
|
1625
|
+
* - SSR guard moved to the lazy initialiser so the effect body is cleaner.
|
|
1626
|
+
*/
|
|
1627
|
+
export declare function useMediaQuery(query: string): boolean;
|
|
1628
|
+
|
|
1617
1629
|
export declare type UtilityItem = {
|
|
1618
1630
|
_key?: string;
|
|
1619
1631
|
label: string | default_2.ReactNode;
|
package/dist/core.mjs
CHANGED
|
@@ -3,10 +3,10 @@ import { Accordion as t } from "./core/components/Accordion/index.mjs";
|
|
|
3
3
|
import { A as m } from "./AccordionItem-CH19zWNr.js";
|
|
4
4
|
import { Avatar as f } from "./core/components/Avatar/index.mjs";
|
|
5
5
|
import { Badge as i } from "./core/components/Badge/index.mjs";
|
|
6
|
-
import { Box as
|
|
6
|
+
import { Box as d } from "./core/components/Box/index.mjs";
|
|
7
7
|
import { Breadcrumbs as l } from "./core/components/Breadcrumbs/index.mjs";
|
|
8
|
-
import { ButtonGroup as
|
|
9
|
-
import { B as
|
|
8
|
+
import { ButtonGroup as u } from "./core/components/ButtonGroup/index.mjs";
|
|
9
|
+
import { B as b } from "./index-CnlJ2RgH.js";
|
|
10
10
|
import { Card as T } from "./core/components/Card/index.mjs";
|
|
11
11
|
import { Carousel as A } from "./core/components/Carousel/index.mjs";
|
|
12
12
|
import { Checkbox as F } from "./core/components/Checkbox/index.mjs";
|
|
@@ -15,12 +15,12 @@ import { DatePicker as D } from "./core/components/DatePicker/index.mjs";
|
|
|
15
15
|
import { Divider as P } from "./core/components/Divider/index.mjs";
|
|
16
16
|
import { Drawer as G } from "./core/components/Drawer/index.mjs";
|
|
17
17
|
import { Fieldset as L } from "./core/components/Fieldset/index.mjs";
|
|
18
|
-
import { FileUpload as
|
|
19
|
-
import { FloatingActionButton as
|
|
20
|
-
import { Footer as
|
|
21
|
-
import { Form as
|
|
22
|
-
import { Grid as
|
|
23
|
-
import { Heading as
|
|
18
|
+
import { FileUpload as R } from "./core/components/FileUpload/index.mjs";
|
|
19
|
+
import { FloatingActionButton as H } from "./core/components/FloatingActionButton/index.mjs";
|
|
20
|
+
import { Footer as U } from "./core/components/Footer/index.mjs";
|
|
21
|
+
import { Form as q } from "./core/components/Form/index.mjs";
|
|
22
|
+
import { Grid as E } from "./core/components/Grid/index.mjs";
|
|
23
|
+
import { Heading as K } from "./core/components/Heading/index.mjs";
|
|
24
24
|
import { Input as V } from "./core/components/Input/index.mjs";
|
|
25
25
|
import { Label as X } from "./core/components/Label/index.mjs";
|
|
26
26
|
import { List as Z } from "./core/components/List/index.mjs";
|
|
@@ -32,7 +32,7 @@ import { ProgressBar as fo } from "./core/components/ProgressBar/index.mjs";
|
|
|
32
32
|
import { Radio as io } from "./core/components/Radio/index.mjs";
|
|
33
33
|
import { Range as co } from "./core/components/Range/index.mjs";
|
|
34
34
|
import { Select as so } from "./core/components/Select/index.mjs";
|
|
35
|
-
import { Sidebar as
|
|
35
|
+
import { Sidebar as Bo } from "./core/components/Sidebar/index.mjs";
|
|
36
36
|
import { Skeleton as So } from "./core/components/Skeleton/index.mjs";
|
|
37
37
|
import { Spacer as go } from "./core/components/Spacer/index.mjs";
|
|
38
38
|
import { Spinner as Co } from "./core/components/Spinner/index.mjs";
|
|
@@ -41,18 +41,19 @@ import { Switch as ho } from "./core/components/Switch/index.mjs";
|
|
|
41
41
|
import { Table as No } from "./core/components/Table/index.mjs";
|
|
42
42
|
import { Tabs as wo } from "./core/components/Tabs/index.mjs";
|
|
43
43
|
import { Text as Io } from "./core/components/Text/index.mjs";
|
|
44
|
-
import { Textarea as
|
|
45
|
-
import { Tooltip as
|
|
46
|
-
import { ThemeProvider as
|
|
44
|
+
import { Textarea as Mo } from "./core/components/Textarea/index.mjs";
|
|
45
|
+
import { Tooltip as yo } from "./core/components/Tooltip/index.mjs";
|
|
46
|
+
import { ThemeProvider as Qo } from "./core/utils/ThemeProvider/index.mjs";
|
|
47
|
+
import { useMediaQuery as jo } from "./core/hooks/useMediaQuery.mjs";
|
|
47
48
|
export {
|
|
48
49
|
t as Accordion,
|
|
49
50
|
m as AccordionItem,
|
|
50
51
|
f as Avatar,
|
|
51
52
|
i as Badge,
|
|
52
|
-
|
|
53
|
+
d as Box,
|
|
53
54
|
l as Breadcrumbs,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
b as Button,
|
|
56
|
+
u as ButtonGroup,
|
|
56
57
|
T as Card,
|
|
57
58
|
A as Carousel,
|
|
58
59
|
F as Checkbox,
|
|
@@ -61,12 +62,12 @@ export {
|
|
|
61
62
|
P as Divider,
|
|
62
63
|
G as Drawer,
|
|
63
64
|
L as Fieldset,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
R as FileUpload,
|
|
66
|
+
H as FloatingActionButton,
|
|
67
|
+
U as Footer,
|
|
68
|
+
q as Form,
|
|
69
|
+
E as Grid,
|
|
70
|
+
K as Heading,
|
|
70
71
|
V as Input,
|
|
71
72
|
X as Label,
|
|
72
73
|
Z as List,
|
|
@@ -78,7 +79,7 @@ export {
|
|
|
78
79
|
io as Radio,
|
|
79
80
|
co as Range,
|
|
80
81
|
so as Select,
|
|
81
|
-
|
|
82
|
+
Bo as Sidebar,
|
|
82
83
|
So as Skeleton,
|
|
83
84
|
go as Spacer,
|
|
84
85
|
Co as Spinner,
|
|
@@ -87,7 +88,8 @@ export {
|
|
|
87
88
|
No as Table,
|
|
88
89
|
wo as Tabs,
|
|
89
90
|
Io as Text,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
Mo as Textarea,
|
|
92
|
+
Qo as ThemeProvider,
|
|
93
|
+
yo as Tooltip,
|
|
94
|
+
jo as useMediaQuery
|
|
93
95
|
};
|
package/dist/main.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');;/* empty css */const t=require("./core/components/Accordion/index.cjs"),i=require("./AccordionItem-DulgZilf.cjs"),_=require("./core/components/Avatar/index.cjs"),d=require("./core/components/Badge/index.cjs"),s=require("./core/components/Box/index.cjs"),a=require("./core/components/Breadcrumbs/index.cjs"),l=require("./core/components/ButtonGroup/index.cjs"),u=require("./index-D0ylyll7.cjs"),x=require("./core/components/Card/index.cjs"),k=require("./core/components/Carousel/index.cjs"),p=require("./core/components/Checkbox/index.cjs"),B=require("./core/components/Container/index.cjs"),q=require("./core/components/DatePicker/index.cjs"),m=require("./core/components/Divider/index.cjs"),C=require("./core/components/Drawer/index.cjs"),T=require("./core/components/Fieldset/index.cjs"),b=require("./core/components/FileUpload/index.cjs"),S=require("./core/components/FloatingActionButton/index.cjs"),g=require("./core/components/Footer/index.cjs"),A=require("./core/components/Form/index.cjs"),h=require("./core/components/Grid/index.cjs"),v=require("./core/components/Heading/index.cjs"),R=require("./core/components/Input/index.cjs"),F=require("./core/components/Label/index.cjs"),L=require("./core/components/List/index.cjs"),P=require("./core/components/Modal/index.cjs"),D=require("./core/components/NavBar/index.cjs"),H=require("./core/components/Notification/index.cjs"),G=require("./core/components/NotificationContainer/index.cjs"),w=require("./core/components/ProgressBar/index.cjs"),f=require("./core/components/Radio/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');;/* empty css */const t=require("./core/components/Accordion/index.cjs"),i=require("./AccordionItem-DulgZilf.cjs"),_=require("./core/components/Avatar/index.cjs"),d=require("./core/components/Badge/index.cjs"),s=require("./core/components/Box/index.cjs"),a=require("./core/components/Breadcrumbs/index.cjs"),l=require("./core/components/ButtonGroup/index.cjs"),u=require("./index-D0ylyll7.cjs"),x=require("./core/components/Card/index.cjs"),k=require("./core/components/Carousel/index.cjs"),p=require("./core/components/Checkbox/index.cjs"),B=require("./core/components/Container/index.cjs"),q=require("./core/components/DatePicker/index.cjs"),m=require("./core/components/Divider/index.cjs"),C=require("./core/components/Drawer/index.cjs"),T=require("./core/components/Fieldset/index.cjs"),b=require("./core/components/FileUpload/index.cjs"),S=require("./core/components/FloatingActionButton/index.cjs"),g=require("./core/components/Footer/index.cjs"),A=require("./core/components/Form/index.cjs"),h=require("./core/components/Grid/index.cjs"),v=require("./core/components/Heading/index.cjs"),R=require("./core/components/Input/index.cjs"),F=require("./core/components/Label/index.cjs"),L=require("./core/components/List/index.cjs"),P=require("./core/components/Modal/index.cjs"),D=require("./core/components/NavBar/index.cjs"),H=require("./core/components/Notification/index.cjs"),G=require("./core/components/NotificationContainer/index.cjs"),w=require("./core/components/ProgressBar/index.cjs"),f=require("./core/components/Radio/index.cjs"),M=require("./core/components/Range/index.cjs"),y=require("./core/components/Select/index.cjs"),N=require("./core/components/Sidebar/index.cjs"),I=require("./core/components/Skeleton/index.cjs"),Q=require("./core/components/Spacer/index.cjs"),U=require("./core/components/Spinner/index.cjs"),W=require("./core/components/Stack/index.cjs"),E=require("./core/components/Switch/index.cjs"),Y=require("./core/components/Table/index.cjs"),j=require("./core/components/Tabs/index.cjs"),O=require("./core/components/Text/index.cjs"),z=require("./core/components/Textarea/index.cjs"),J=require("./core/components/Tooltip/index.cjs"),K=require("./core/utils/ThemeProvider/index.cjs"),V=require("./core/hooks/useMediaQuery.cjs"),X=require("./next/blocks/AccordionBlock/index.cjs"),Z=require("./next/blocks/AdditionalCategoriesBlock/index.cjs"),$=require("./next/blocks/CardGridBlock/index.cjs"),ee=require("./next/blocks/CarouselBlock/index.cjs"),oe=require("./next/blocks/ContentBlock/index.cjs"),re=require("./next/blocks/DocumentListBlock/index.cjs"),ne=require("./next/blocks/FeaturedDocumentsBlock/index.cjs"),ce=require("./next/blocks/HeroBlock/index.cjs"),o=require("./next/blocks/HeroBlock/HeroContext.cjs"),te=require("./next/ui/LocaleLink/index.cjs"),ie=require("./next/blocks/QuoteBlock/index.cjs"),_e=require("./next/blocks/RichTextBlock/index.cjs"),de=require("./next/blocks/MarkdownBlock/index.cjs"),se=require("./next/ui/PortableTextRenderer/index.cjs"),ae=require("./next/blocks/StickyScrollBlock/index.cjs"),le=require("./next/blocks/TabsBlock/index.cjs"),ue=require("./next/blocks/WasHelpfulBlock/index.cjs"),xe=require("./next/blocks/FormBlock/index.cjs"),ke=require("./next/cards/SpotlightCard/index.cjs"),pe=require("./next/cards/BlogArticleCard/index.cjs"),Be=require("./next/cards/SpotlightCardAdapter.cjs"),qe=require("./next/cards/BlogArticleCardAdapter.cjs"),r=require("./next/cards/cardRegistry.cjs"),me=require("./next/cards/BioCard/index.cjs"),Ce=require("./next/cards/GridCard/index.cjs"),Te=require("./next/cards/ProductCard/index.cjs"),be=require("./next/cards/ReviewCard/index.cjs"),Se=require("./next/cards/SegmentCard/index.cjs"),ge=require("./next/cards/ServiceCard/index.cjs"),Ae=require("./next/cards/TestimonialCard/index.cjs"),n=require("./next/context/LocaleBridge.cjs"),c=require("./core/context/ThemeContext.cjs"),e=require("./next/utils/blockRenderers.cjs");exports.Accordion=t.Accordion;exports.AccordionItem=i.AccordionItem;exports.Avatar=_.Avatar;exports.Badge=d.Badge;exports.Box=s.Box;exports.Breadcrumbs=a.Breadcrumbs;exports.ButtonGroup=l.ButtonGroup;exports.Button=u.Button;exports.Card=x.Card;exports.Carousel=k.Carousel;exports.Checkbox=p.Checkbox;exports.Container=B.Container;exports.DatePicker=q.DatePicker;exports.Divider=m.Divider;exports.Drawer=C.Drawer;exports.Fieldset=T.Fieldset;exports.FileUpload=b.FileUpload;exports.FloatingActionButton=S.FloatingActionButton;exports.Footer=g.Footer;exports.Form=A.Form;exports.Grid=h.Grid;exports.Heading=v.Heading;exports.Input=R.Input;exports.Label=F.Label;exports.List=L.List;exports.Modal=P.Modal;exports.Navbar=D.Navbar;exports.Notification=H.Notification;exports.NotificationContainer=G.NotificationContainer;exports.ProgressBar=w.ProgressBar;exports.Radio=f.Radio;exports.Range=M.Range;exports.Select=y.Select;exports.Sidebar=N.Sidebar;exports.Skeleton=I.Skeleton;exports.Spacer=Q.Spacer;exports.Spinner=U.Spinner;exports.Stack=W.Stack;exports.Switch=E.Switch;exports.Table=Y.Table;exports.Tabs=j.Tabs;exports.Text=O.Text;exports.Textarea=z.Textarea;exports.Tooltip=J.Tooltip;exports.ThemeProvider=K.ThemeProvider;exports.useMediaQuery=V.useMediaQuery;exports.AccordionBlock=X.AccordionBlock;exports.AdditionalCategoriesBlock=Z.AdditionalCategoriesBlock;exports.CardGridBlock=$.CardGridBlock;exports.CarouselBlock=ee.CarouselBlock;exports.ContentBlock=oe.ContentBlock;exports.DocumentListBlock=re.DocumentListBlock;exports.FeaturedDocumentsBlock=ne.FeaturedDocumentsBlock;exports.HeroBlock=ce.HeroBlock;exports.HeroProvider=o.HeroProvider;exports.useHeroContext=o.useHeroContext;exports.LocaleLink=te.LocaleLink;exports.QuoteBlock=ie.QuoteBlock;exports.RichTextBlock=_e.RichTextBlock;exports.MarkdownBlock=de.MarkdownBlock;exports.RichText=se.RichText;exports.StickyScrollBlock=ae.StickyScrollBlock;exports.TabsBlock=le.TabsBlock;exports.WasHelpfulBlock=ue.WasHelpfulBlock;exports.FormBlock=xe.FormBlock;exports.SpotlightCard=ke.SpotlightCard;exports.BlogArticleCard=pe.BlogArticleCard;exports.SpotlightCardAdapter=Be.SpotlightCardAdapter;exports.BlogArticleCardAdapter=qe.BlogArticleCardAdapter;exports.CARD_REGISTRY=r.CARD_REGISTRY;exports.resolveCard=r.resolveCard;exports.BioCard=me.BioCard;exports.GridCard=Ce.GridCard;exports.ProductCard=Te.ProductCard;exports.ReviewCard=be.ReviewCard;exports.SegmentCard=Se.SegmentCard;exports.ServiceCard=ge.ServiceCard;exports.TestimonialCard=Ae.TestimonialCard;exports.LocaleBridgeProvider=n.LocaleBridgeProvider;exports.useLocaleBridge=n.useLocaleBridge;exports.AppThemeProvider=c.AppThemeProvider;exports.useTheme=c.useTheme;exports.extractText=e.extractText;exports.renderCallToAction=e.renderCallToAction;exports.renderRichText=e.renderRichText;
|
package/dist/main.d.ts
CHANGED
|
@@ -2062,6 +2062,18 @@ export declare function useHeroContext(): HeroContextType;
|
|
|
2062
2062
|
|
|
2063
2063
|
export declare function useLocaleBridge(): LocaleBridgeValue;
|
|
2064
2064
|
|
|
2065
|
+
/**
|
|
2066
|
+
* Returns whether the given media query currently matches.
|
|
2067
|
+
*
|
|
2068
|
+
* Fixes over the original:
|
|
2069
|
+
* - Initial state is seeded from the query directly (lazy initialiser) so
|
|
2070
|
+
* the first render is already correct instead of always returning false.
|
|
2071
|
+
* - `matches` removed from the useEffect dependency array — it was causing
|
|
2072
|
+
* the effect to re-run every time matches changed, creating a feedback loop.
|
|
2073
|
+
* - SSR guard moved to the lazy initialiser so the effect body is cleaner.
|
|
2074
|
+
*/
|
|
2075
|
+
export declare function useMediaQuery(query: string): boolean;
|
|
2076
|
+
|
|
2065
2077
|
export declare function useTheme(): ThemeContextValue;
|
|
2066
2078
|
|
|
2067
2079
|
export declare type UtilityItem = {
|
package/dist/main.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { Accordion as t } from "./core/components/Accordion/index.mjs";
|
|
|
3
3
|
import { A as m } from "./AccordionItem-CH19zWNr.js";
|
|
4
4
|
import { Avatar as f } from "./core/components/Avatar/index.mjs";
|
|
5
5
|
import { Badge as i } from "./core/components/Badge/index.mjs";
|
|
6
|
-
import { Box as
|
|
6
|
+
import { Box as d } from "./core/components/Box/index.mjs";
|
|
7
7
|
import { Breadcrumbs as n } from "./core/components/Breadcrumbs/index.mjs";
|
|
8
8
|
import { ButtonGroup as C } from "./core/components/ButtonGroup/index.mjs";
|
|
9
9
|
import { B as s } from "./index-CnlJ2RgH.js";
|
|
@@ -15,9 +15,9 @@ import { DatePicker as F } from "./core/components/DatePicker/index.mjs";
|
|
|
15
15
|
import { Divider as P } from "./core/components/Divider/index.mjs";
|
|
16
16
|
import { Drawer as G } from "./core/components/Drawer/index.mjs";
|
|
17
17
|
import { Fieldset as w } from "./core/components/Fieldset/index.mjs";
|
|
18
|
-
import { FileUpload as
|
|
18
|
+
import { FileUpload as M } from "./core/components/FileUpload/index.mjs";
|
|
19
19
|
import { FloatingActionButton as y } from "./core/components/FloatingActionButton/index.mjs";
|
|
20
|
-
import { Footer as
|
|
20
|
+
import { Footer as E } from "./core/components/Footer/index.mjs";
|
|
21
21
|
import { Form as W } from "./core/components/Form/index.mjs";
|
|
22
22
|
import { Grid as _ } from "./core/components/Grid/index.mjs";
|
|
23
23
|
import { Heading as q } from "./core/components/Heading/index.mjs";
|
|
@@ -42,124 +42,126 @@ import { Table as Lo } from "./core/components/Table/index.mjs";
|
|
|
42
42
|
import { Tabs as Do } from "./core/components/Tabs/index.mjs";
|
|
43
43
|
import { Text as Ho } from "./core/components/Text/index.mjs";
|
|
44
44
|
import { Textarea as Io } from "./core/components/Textarea/index.mjs";
|
|
45
|
-
import { Tooltip as
|
|
46
|
-
import { ThemeProvider as
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
45
|
+
import { Tooltip as No } from "./core/components/Tooltip/index.mjs";
|
|
46
|
+
import { ThemeProvider as Qo } from "./core/utils/ThemeProvider/index.mjs";
|
|
47
|
+
import { useMediaQuery as Uo } from "./core/hooks/useMediaQuery.mjs";
|
|
48
|
+
import { AccordionBlock as Yo } from "./next/blocks/AccordionBlock/index.mjs";
|
|
49
|
+
import { AdditionalCategoriesBlock as jo } from "./next/blocks/AdditionalCategoriesBlock/index.mjs";
|
|
50
|
+
import { CardGridBlock as zo } from "./next/blocks/CardGridBlock/index.mjs";
|
|
51
|
+
import { CarouselBlock as Ko } from "./next/blocks/CarouselBlock/index.mjs";
|
|
52
|
+
import { ContentBlock as Vo } from "./next/blocks/ContentBlock/index.mjs";
|
|
53
|
+
import { DocumentListBlock as Zo } from "./next/blocks/DocumentListBlock/index.mjs";
|
|
54
|
+
import { FeaturedDocumentsBlock as or } from "./next/blocks/FeaturedDocumentsBlock/index.mjs";
|
|
55
|
+
import { HeroBlock as er } from "./next/blocks/HeroBlock/index.mjs";
|
|
56
|
+
import { HeroProvider as pr, useHeroContext as mr } from "./next/blocks/HeroBlock/HeroContext.mjs";
|
|
57
|
+
import { LocaleLink as fr } from "./next/ui/LocaleLink/index.mjs";
|
|
58
|
+
import { QuoteBlock as ir } from "./next/blocks/QuoteBlock/index.mjs";
|
|
59
|
+
import { RichTextBlock as dr } from "./next/blocks/RichTextBlock/index.mjs";
|
|
60
|
+
import { MarkdownBlock as nr } from "./next/blocks/MarkdownBlock/index.mjs";
|
|
61
|
+
import { RichText as Cr } from "./next/ui/PortableTextRenderer/index.mjs";
|
|
62
|
+
import { StickyScrollBlock as sr } from "./next/blocks/StickyScrollBlock/index.mjs";
|
|
63
|
+
import { TabsBlock as Tr } from "./next/blocks/TabsBlock/index.mjs";
|
|
64
|
+
import { WasHelpfulBlock as Sr } from "./next/blocks/WasHelpfulBlock/index.mjs";
|
|
65
|
+
import { FormBlock as hr } from "./next/blocks/FormBlock/index.mjs";
|
|
66
|
+
import { SpotlightCard as Rr } from "./next/cards/SpotlightCard/index.mjs";
|
|
67
|
+
import { BlogArticleCard as Fr } from "./next/cards/BlogArticleCard/index.mjs";
|
|
68
|
+
import { SpotlightCardAdapter as Pr } from "./next/cards/SpotlightCardAdapter.mjs";
|
|
69
|
+
import { BlogArticleCardAdapter as Gr } from "./next/cards/BlogArticleCardAdapter.mjs";
|
|
70
|
+
import { CARD_REGISTRY as wr, resolveCard as Ir } from "./next/cards/cardRegistry.mjs";
|
|
71
|
+
import { BioCard as Nr } from "./next/cards/BioCard/index.mjs";
|
|
72
|
+
import { GridCard as Qr } from "./next/cards/GridCard/index.mjs";
|
|
73
|
+
import { ProductCard as Ur } from "./next/cards/ProductCard/index.mjs";
|
|
74
|
+
import { ReviewCard as Yr } from "./next/cards/ReviewCard/index.mjs";
|
|
75
|
+
import { SegmentCard as jr } from "./next/cards/SegmentCard/index.mjs";
|
|
76
|
+
import { ServiceCard as zr } from "./next/cards/ServiceCard/index.mjs";
|
|
77
|
+
import { TestimonialCard as Kr } from "./next/cards/TestimonialCard/index.mjs";
|
|
78
|
+
import { LocaleBridgeProvider as Vr, useLocaleBridge as Xr } from "./next/context/LocaleBridge.mjs";
|
|
79
|
+
import { AppThemeProvider as $r, useTheme as oe } from "./core/context/ThemeContext.mjs";
|
|
80
|
+
import { extractText as ee, renderCallToAction as te, renderRichText as pe } from "./next/utils/blockRenderers.mjs";
|
|
80
81
|
export {
|
|
81
82
|
t as Accordion,
|
|
82
|
-
|
|
83
|
+
Yo as AccordionBlock,
|
|
83
84
|
m as AccordionItem,
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
jo as AdditionalCategoriesBlock,
|
|
86
|
+
$r as AppThemeProvider,
|
|
86
87
|
f as Avatar,
|
|
87
88
|
i as Badge,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
Nr as BioCard,
|
|
90
|
+
Fr as BlogArticleCard,
|
|
91
|
+
Gr as BlogArticleCardAdapter,
|
|
92
|
+
d as Box,
|
|
92
93
|
n as Breadcrumbs,
|
|
93
94
|
s as Button,
|
|
94
95
|
C as ButtonGroup,
|
|
95
|
-
|
|
96
|
+
wr as CARD_REGISTRY,
|
|
96
97
|
T as Card,
|
|
97
|
-
|
|
98
|
+
zo as CardGridBlock,
|
|
98
99
|
S as Carousel,
|
|
99
|
-
|
|
100
|
+
Ko as CarouselBlock,
|
|
100
101
|
h as Checkbox,
|
|
101
102
|
R as Container,
|
|
102
|
-
|
|
103
|
+
Vo as ContentBlock,
|
|
103
104
|
F as DatePicker,
|
|
104
105
|
P as Divider,
|
|
105
|
-
|
|
106
|
+
Zo as DocumentListBlock,
|
|
106
107
|
G as Drawer,
|
|
107
|
-
|
|
108
|
+
or as FeaturedDocumentsBlock,
|
|
108
109
|
w as Fieldset,
|
|
109
|
-
|
|
110
|
+
M as FileUpload,
|
|
110
111
|
y as FloatingActionButton,
|
|
111
|
-
|
|
112
|
+
E as Footer,
|
|
112
113
|
W as Form,
|
|
113
|
-
|
|
114
|
+
hr as FormBlock,
|
|
114
115
|
_ as Grid,
|
|
115
|
-
|
|
116
|
+
Qr as GridCard,
|
|
116
117
|
q as Heading,
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
er as HeroBlock,
|
|
119
|
+
pr as HeroProvider,
|
|
119
120
|
J as Input,
|
|
120
121
|
O as Label,
|
|
121
122
|
X as List,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
Vr as LocaleBridgeProvider,
|
|
124
|
+
fr as LocaleLink,
|
|
125
|
+
nr as MarkdownBlock,
|
|
125
126
|
$ as Modal,
|
|
126
127
|
ro as Navbar,
|
|
127
128
|
to as Notification,
|
|
128
129
|
mo as NotificationContainer,
|
|
129
|
-
|
|
130
|
+
Ur as ProductCard,
|
|
130
131
|
fo as ProgressBar,
|
|
131
|
-
|
|
132
|
+
ir as QuoteBlock,
|
|
132
133
|
io as Radio,
|
|
133
134
|
lo as Range,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
Yr as ReviewCard,
|
|
136
|
+
Cr as RichText,
|
|
137
|
+
dr as RichTextBlock,
|
|
138
|
+
jr as SegmentCard,
|
|
138
139
|
Bo as Select,
|
|
139
|
-
|
|
140
|
+
zr as ServiceCard,
|
|
140
141
|
ko as Sidebar,
|
|
141
142
|
uo as Skeleton,
|
|
142
143
|
Ao as Spacer,
|
|
143
144
|
go as Spinner,
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
Rr as SpotlightCard,
|
|
146
|
+
Pr as SpotlightCardAdapter,
|
|
146
147
|
vo as Stack,
|
|
147
|
-
|
|
148
|
+
sr as StickyScrollBlock,
|
|
148
149
|
bo as Switch,
|
|
149
150
|
Lo as Table,
|
|
150
151
|
Do as Tabs,
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
Tr as TabsBlock,
|
|
153
|
+
Kr as TestimonialCard,
|
|
153
154
|
Ho as Text,
|
|
154
155
|
Io as Textarea,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
156
|
+
Qo as ThemeProvider,
|
|
157
|
+
No as Tooltip,
|
|
158
|
+
Sr as WasHelpfulBlock,
|
|
159
|
+
ee as extractText,
|
|
160
|
+
te as renderCallToAction,
|
|
161
|
+
pe as renderRichText,
|
|
162
|
+
Ir as resolveCard,
|
|
163
|
+
mr as useHeroContext,
|
|
164
|
+
Xr as useLocaleBridge,
|
|
165
|
+
Uo as useMediaQuery,
|
|
166
|
+
oe as useTheme
|
|
165
167
|
};
|