quirk-ui 0.0.305 → 0.0.306
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 +7 -0
- package/dist/main.js +15 -14
- package/dist/next.d.ts +7 -0
- package/dist/next.js +3 -2
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -769,6 +769,11 @@ declare interface HeroBlockProps {
|
|
|
769
769
|
styleOptions: Styles;
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
+
declare type HeroContextType = {
|
|
773
|
+
isFullbleedHeroAtTop: boolean;
|
|
774
|
+
setIsFullbleedHeroAtTop: (val: boolean) => void;
|
|
775
|
+
};
|
|
776
|
+
|
|
772
777
|
export declare function HeroProvider({ children }: {
|
|
773
778
|
children: React.ReactNode;
|
|
774
779
|
}): JSX.Element;
|
|
@@ -1352,6 +1357,8 @@ declare type TooltipProps = {
|
|
|
1352
1357
|
className?: string;
|
|
1353
1358
|
};
|
|
1354
1359
|
|
|
1360
|
+
export declare function useHeroContext(): HeroContextType;
|
|
1361
|
+
|
|
1355
1362
|
export declare type UtilityItem = {
|
|
1356
1363
|
_key?: string;
|
|
1357
1364
|
label: string;
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { ButtonGroup as t } from "./core/components/ButtonGroup/index.js";
|
|
3
|
-
import { FloatingActionButton as
|
|
3
|
+
import { FloatingActionButton as x } from "./core/components/FloatingActionButton/index.js";
|
|
4
4
|
import { C as f } from "./index-ClN4LY9C.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";
|
|
@@ -11,8 +11,8 @@ import { Stack as T } from "./core/components/Stack/index.js";
|
|
|
11
11
|
import { Box as g } from "./core/components/Box/index.js";
|
|
12
12
|
import { Spacer as v } from "./core/components/Spacer/index.js";
|
|
13
13
|
import { Divider as F } from "./core/components/Divider/index.js";
|
|
14
|
-
import { Table as
|
|
15
|
-
import { List as
|
|
14
|
+
import { Table as P } from "./core/components/Table/index.js";
|
|
15
|
+
import { List as D } from "./core/components/List/index.js";
|
|
16
16
|
import { Card as w } from "./core/components/Card/index.js";
|
|
17
17
|
import { Avatar as I } from "./core/components/Avatar/index.js";
|
|
18
18
|
import { Badge as M } from "./core/components/Badge/index.js";
|
|
@@ -27,7 +27,7 @@ import { Spinner as Z } from "./core/components/Spinner/index.js";
|
|
|
27
27
|
import { Skeleton as $ } from "./core/components/Skeleton/index.js";
|
|
28
28
|
import { Carousel as ro } from "./core/components/Carousel/index.js";
|
|
29
29
|
import { Navbar as to } from "./core/components/NavBar/index.js";
|
|
30
|
-
import { Drawer as
|
|
30
|
+
import { Drawer as xo } from "./core/components/Drawer/index.js";
|
|
31
31
|
import { Tabs as fo } from "./core/components/Tabs/index.js";
|
|
32
32
|
import { Breadcrumbs as io } from "./core/components/Breadcrumbs/index.js";
|
|
33
33
|
import { Footer as lo } from "./core/components/Footer/index.js";
|
|
@@ -37,8 +37,8 @@ import { Input as So } from "./core/components/Input/index.js";
|
|
|
37
37
|
import { Fieldset as bo } from "./core/components/Fieldset/index.js";
|
|
38
38
|
import { Radio as ko } from "./core/components/Radio/index.js";
|
|
39
39
|
import { Checkbox as Ao } from "./core/components/Checkbox/index.js";
|
|
40
|
-
import { Textarea as
|
|
41
|
-
import { Select as
|
|
40
|
+
import { Textarea as Ho } from "./core/components/Textarea/index.js";
|
|
41
|
+
import { Select as ho } from "./core/components/Select/index.js";
|
|
42
42
|
import { Switch as No } from "./core/components/Switch/index.js";
|
|
43
43
|
import { MultiSelect as Go } from "./core/components/MultiSelect/index.js";
|
|
44
44
|
import { DatePicker as Lo } from "./core/components/DatePicker/index.js";
|
|
@@ -46,7 +46,7 @@ import { Range as Ro } from "./core/components/Range/index.js";
|
|
|
46
46
|
import { FileUpload as jo } from "./core/components/FileUpload/index.js";
|
|
47
47
|
import { ThemeProvider as yo } from "./core/utils/ThemeProvider/index.js";
|
|
48
48
|
import { HeroBlock as Eo } from "./next/blocks/HeroBlock/index.js";
|
|
49
|
-
import { HeroProvider as Ko } from "./next/blocks/HeroBlock/HeroContext.js";
|
|
49
|
+
import { HeroProvider as Ko, useHeroContext as Oo } from "./next/blocks/HeroBlock/HeroContext.js";
|
|
50
50
|
export {
|
|
51
51
|
z as Accordion,
|
|
52
52
|
J as Alert,
|
|
@@ -62,10 +62,10 @@ export {
|
|
|
62
62
|
C as Container,
|
|
63
63
|
Lo as DatePicker,
|
|
64
64
|
F as Divider,
|
|
65
|
-
|
|
65
|
+
xo as Drawer,
|
|
66
66
|
bo as Fieldset,
|
|
67
67
|
jo as FileUpload,
|
|
68
|
-
|
|
68
|
+
x as FloatingActionButton,
|
|
69
69
|
lo as Footer,
|
|
70
70
|
so as Form,
|
|
71
71
|
u as Grid,
|
|
@@ -75,7 +75,7 @@ export {
|
|
|
75
75
|
i as IconButton,
|
|
76
76
|
So as Input,
|
|
77
77
|
Bo as Label,
|
|
78
|
-
|
|
78
|
+
D as List,
|
|
79
79
|
q as Modal,
|
|
80
80
|
Go as MultiSelect,
|
|
81
81
|
to as Navbar,
|
|
@@ -84,16 +84,17 @@ export {
|
|
|
84
84
|
X as ProgressBar,
|
|
85
85
|
ko as Radio,
|
|
86
86
|
Ro as Range,
|
|
87
|
-
|
|
87
|
+
ho as Select,
|
|
88
88
|
$ as Skeleton,
|
|
89
89
|
v as Spacer,
|
|
90
90
|
Z as Spinner,
|
|
91
91
|
T as Stack,
|
|
92
92
|
No as Switch,
|
|
93
|
-
|
|
93
|
+
P as Table,
|
|
94
94
|
fo as Tabs,
|
|
95
95
|
d as Text,
|
|
96
|
-
|
|
96
|
+
Ho as Textarea,
|
|
97
97
|
yo as ThemeProvider,
|
|
98
|
-
U as Tooltip
|
|
98
|
+
U as Tooltip,
|
|
99
|
+
Oo as useHeroContext
|
|
99
100
|
};
|
package/dist/next.d.ts
CHANGED
|
@@ -39,6 +39,11 @@ declare interface HeroBlockProps {
|
|
|
39
39
|
styleOptions: Styles;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
declare type HeroContextType = {
|
|
43
|
+
isFullbleedHeroAtTop: boolean;
|
|
44
|
+
setIsFullbleedHeroAtTop: (val: boolean) => void;
|
|
45
|
+
};
|
|
46
|
+
|
|
42
47
|
export declare function HeroProvider({ children }: {
|
|
43
48
|
children: React.ReactNode;
|
|
44
49
|
}): JSX.Element;
|
|
@@ -104,4 +109,6 @@ declare type Styles = {
|
|
|
104
109
|
background?: string;
|
|
105
110
|
};
|
|
106
111
|
|
|
112
|
+
export declare function useHeroContext(): HeroContextType;
|
|
113
|
+
|
|
107
114
|
export { }
|
package/dist/next.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HeroBlock as e } from "./next/blocks/HeroBlock/index.js";
|
|
2
|
-
import { HeroProvider as
|
|
2
|
+
import { HeroProvider as x, useHeroContext as H } from "./next/blocks/HeroBlock/HeroContext.js";
|
|
3
3
|
export {
|
|
4
4
|
e as HeroBlock,
|
|
5
|
-
|
|
5
|
+
x as HeroProvider,
|
|
6
|
+
H as useHeroContext
|
|
6
7
|
};
|