@koine/react 2.0.0-beta.15 → 2.0.0-beta.17
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/Animations/useReveal.js +4 -3
- package/Autocomplete/AutocompleteMui.js +4 -4
- package/Autocomplete/helpers.js +1 -2
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Calendar/CalendarDaygridCell.js +2 -2
- package/Calendar/CalendarDaygridNav.js +3 -2
- package/Calendar/CalendarDaygridTable.js +5 -5
- package/Calendar/CalendarLegend.js +2 -1
- package/Calendar/calendar-api-google.js +1 -3
- package/Calendar/useCalendar.js +15 -15
- package/Details/Details.d.ts +60 -60
- package/Details/Details.js +6 -6
- package/Dialog/DialogMui.d.ts +9 -9
- package/Dialog/DialogMui.js +1 -1
- package/Dialog/css/bare.d.ts +8 -8
- package/Dialog/css/bare.js +2 -1
- package/Dialog/m/bare.js +1 -1
- package/Dialog/sc/bare.d.ts +2 -2
- package/Dialog/sc/bare.js +1 -1
- package/Dialog/sc/framer.js +1 -1
- package/Dialog/sc/framerMaterial.js +1 -1
- package/Dialog/sc/material.d.ts +2 -2
- package/Dialog/sc/material.js +1 -1
- package/Dialog/tw/bare.d.ts +5 -5
- package/Dialog/tw/bare.js +2 -1
- package/Dialog/tw/elegant.d.ts +5 -5
- package/Dialog/tw/elegant.js +2 -1
- package/Dialog/tw/framer.d.ts +2 -2
- package/Dialog/tw/framer.js +1 -1
- package/Dialog/tw/framerMaterial.d.ts +2 -2
- package/Dialog/tw/framerMaterial.js +1 -1
- package/Dialog/tw/material.d.ts +5 -5
- package/Dialog/tw/material.js +2 -1
- package/Form/Form.d.ts +1 -1
- package/Form/Form.js +3 -3
- package/Form/sc/bare.js +1 -1
- package/Forms/Field/FieldControl.js +1 -1
- package/Forms/Password/Password.js +2 -2
- package/Forms/antispam.js +1 -3
- package/Forms/helpers.js +1 -2
- package/Grid/Grid.js +2 -2
- package/Header/useHeader.js +6 -5
- package/MenuItem/useMenuItem.js +2 -2
- package/Pagination/PaginationNav.js +1 -1
- package/Progress/ProgressOverlay.js +2 -2
- package/Rating/Rating.js +3 -3
- package/Sidebar/Sidebar.js +3 -3
- package/Spacing/Spacing.js +4 -4
- package/Tabs/TabsMui.d.ts +5 -5
- package/Tabs/TabsMui.js +1 -1
- package/Tabs/tw/bare.d.ts +4 -4
- package/Tabs/tw/bare.js +2 -1
- package/Tabs/tw/material.d.ts +1 -1
- package/Tabs/tw/material.js +2 -1
- package/Tabs/useTabs.js +3 -2
- package/Typography/ReadMore.js +6 -6
- package/Typography/TextLoop.js +4 -4
- package/{helpers/createUseMediaQueryWidth.d.ts → createUseMediaQueryWidth.d.ts} +1 -1
- package/{helpers/createUseMediaQueryWidth.js → createUseMediaQueryWidth.js} +6 -6
- package/css/index.d.ts +0 -1
- package/css/index.js +0 -1
- package/index.d.ts +25 -1
- package/index.js +24 -1
- package/package.json +79 -94
- package/sc/index.d.ts +0 -1
- package/sc/index.js +0 -1
- package/scm/index.d.ts +0 -1
- package/scm/index.js +0 -1
- package/shared/index.d.ts +3 -4
- package/shared/index.js +3 -4
- package/styles/media.js +3 -2
- package/styles/theme--vanilla.js +4 -3
- package/styles/theme.js +2 -2
- package/tw/index.d.ts +0 -1
- package/tw/index.js +0 -1
- package/twm/index.d.ts +0 -1
- package/twm/index.js +0 -1
- package/types.d.ts +2 -0
- package/{hooks/useAsyncFn.js → useAsyncFn.js} +3 -3
- package/{hooks/useDateLocale.js → useDateLocale.js} +3 -3
- package/{hooks/useFixedOffset.js → useFixedOffset.js} +2 -5
- package/{hooks/useInterval.js → useInterval.js} +3 -3
- package/useIsomorphicLayoutEffect.d.ts +3 -0
- package/{hooks/useIsomorphicLayoutEffect.js → useIsomorphicLayoutEffect.js} +1 -1
- package/{hooks/useKeyUp.js → useKeyUp.js} +3 -3
- package/{hooks/useMeasure.js → useMeasure.js} +11 -15
- package/{hooks/useNavigateAway.js → useNavigateAway.js} +1 -1
- package/{hooks/usePrevious.js → usePrevious.js} +2 -1
- package/{hooks/useScrollPosition.js → useScrollPosition.js} +2 -2
- package/{hooks/useScrollThreshold.js → useScrollThreshold.js} +4 -3
- package/{hooks/useScrollTo.js → useScrollTo.js} +4 -3
- package/{hooks/useSmoothScroll.js → useSmoothScroll.js} +2 -3
- package/{hooks/useSpinDelay.js → useSpinDelay.js} +2 -1
- package/{hooks/useTraceUpdate.js → useTraceUpdate.js} +2 -1
- package/{hooks/useWindowSize.d.ts → useWindowSize.d.ts} +1 -1
- package/{hooks/useWindowSize.js → useWindowSize.js} +4 -4
- package/Meta/index.d.ts +0 -2
- package/Meta/index.js +0 -2
- package/NoJs/index.d.ts +0 -2
- package/NoJs/index.js +0 -2
- package/helpers/index.d.ts +0 -4
- package/helpers/index.js +0 -4
- package/hooks/index.d.ts +0 -20
- package/hooks/index.js +0 -20
- package/hooks/types.d.ts +0 -2
- package/hooks/types.js +0 -1
- package/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- /package/{Meta/Meta.d.ts → Meta.d.ts} +0 -0
- /package/{Meta/Meta.js → Meta.js} +0 -0
- /package/{NoJs/NoJs.d.ts → NoJs.d.ts} +0 -0
- /package/{NoJs/NoJs.js → NoJs.js} +0 -0
- /package/{helpers/classed.d.ts → classed.d.ts} +0 -0
- /package/{helpers/classed.js → classed.js} +0 -0
- /package/{helpers/extend-component.d.ts → extendComponent.d.ts} +0 -0
- /package/{helpers/extend-component.js → extendComponent.js} +0 -0
- /package/{helpers/mergeRefs.d.ts → mergeRefs.d.ts} +0 -0
- /package/{helpers/mergeRefs.js → mergeRefs.js} +0 -0
- /package/{hooks/useAsyncFn.d.ts → useAsyncFn.d.ts} +0 -0
- /package/{hooks/useDateLocale.d.ts → useDateLocale.d.ts} +0 -0
- /package/{hooks/useFirstMountState.d.ts → useFirstMountState.d.ts} +0 -0
- /package/{hooks/useFirstMountState.js → useFirstMountState.js} +0 -0
- /package/{hooks/useFixedOffset.d.ts → useFixedOffset.d.ts} +0 -0
- /package/{hooks/useFocus.d.ts → useFocus.d.ts} +0 -0
- /package/{hooks/useFocus.js → useFocus.js} +0 -0
- /package/{hooks/useInterval.d.ts → useInterval.d.ts} +0 -0
- /package/{hooks/useKeyUp.d.ts → useKeyUp.d.ts} +0 -0
- /package/{hooks/useMeasure.d.ts → useMeasure.d.ts} +0 -0
- /package/{hooks/useMountedState.d.ts → useMountedState.d.ts} +0 -0
- /package/{hooks/useMountedState.js → useMountedState.js} +0 -0
- /package/{hooks/useNavigateAway.d.ts → useNavigateAway.d.ts} +0 -0
- /package/{hooks/usePrevious.d.ts → usePrevious.d.ts} +0 -0
- /package/{hooks/usePreviousRef.d.ts → usePreviousRef.d.ts} +0 -0
- /package/{hooks/usePreviousRef.js → usePreviousRef.js} +0 -0
- /package/{hooks/useScrollPosition.d.ts → useScrollPosition.d.ts} +0 -0
- /package/{hooks/useScrollThreshold.d.ts → useScrollThreshold.d.ts} +0 -0
- /package/{hooks/useScrollTo.d.ts → useScrollTo.d.ts} +0 -0
- /package/{hooks/useSmoothScroll.d.ts → useSmoothScroll.d.ts} +0 -0
- /package/{hooks/useSpinDelay.d.ts → useSpinDelay.d.ts} +0 -0
- /package/{hooks/useTraceUpdate.d.ts → useTraceUpdate.d.ts} +0 -0
- /package/{hooks/useUpdateEffect.d.ts → useUpdateEffect.d.ts} +0 -0
- /package/{hooks/useUpdateEffect.js → useUpdateEffect.js} +0 -0
package/Dialog/css/bare.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const Root: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
export declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
7
7
|
className?: string | undefined;
|
|
8
8
|
ref?: import("react").Ref<any> | undefined;
|
|
9
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
9
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
10
10
|
open?: any;
|
|
11
11
|
}>>>>;
|
|
12
12
|
export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -18,7 +18,7 @@ export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
18
18
|
export declare const Paper: import("react").ForwardRefExoticComponent<Omit<{
|
|
19
19
|
className?: string | undefined;
|
|
20
20
|
ref?: import("react").Ref<any> | undefined;
|
|
21
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
21
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
22
22
|
"aria-label": string;
|
|
23
23
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
24
24
|
children?: import("react").ReactNode;
|
|
@@ -54,13 +54,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
54
54
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
55
55
|
children?: import("react").ReactNode;
|
|
56
56
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
57
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
57
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
58
58
|
open?: any;
|
|
59
59
|
}>>;
|
|
60
60
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
61
61
|
children?: import("react").ReactNode;
|
|
62
62
|
}>>;
|
|
63
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
63
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
64
64
|
"aria-label": string;
|
|
65
65
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
66
66
|
children?: import("react").ReactNode;
|
|
@@ -84,7 +84,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
84
84
|
Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
85
85
|
className?: string | undefined;
|
|
86
86
|
ref?: import("react").Ref<any> | undefined;
|
|
87
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
87
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
88
88
|
open?: any;
|
|
89
89
|
}>>>>;
|
|
90
90
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -96,7 +96,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
96
96
|
Paper: import("react").ForwardRefExoticComponent<Omit<{
|
|
97
97
|
className?: string | undefined;
|
|
98
98
|
ref?: import("react").Ref<any> | undefined;
|
|
99
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
99
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
100
100
|
"aria-label": string;
|
|
101
101
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
102
102
|
children?: import("react").ReactNode;
|
|
@@ -130,7 +130,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
130
130
|
Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
131
131
|
className?: string | undefined;
|
|
132
132
|
ref?: import("react").Ref<any> | undefined;
|
|
133
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
133
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
134
134
|
open?: any;
|
|
135
135
|
}>>>>;
|
|
136
136
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -142,7 +142,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
142
142
|
Paper: import("react").ForwardRefExoticComponent<Omit<{
|
|
143
143
|
className?: string | undefined;
|
|
144
144
|
ref?: import("react").Ref<any> | undefined;
|
|
145
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
145
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
146
146
|
"aria-label": string;
|
|
147
147
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
148
148
|
children?: import("react").ReactNode;
|
package/Dialog/css/bare.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
|
-
import { classed
|
|
2
|
+
import { classed } from "../../classed.js";
|
|
3
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
4
|
import * as _ from "../DialogMui.js";
|
|
4
5
|
export var Root = classed(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["dialog"], ["dialog"])));
|
|
5
6
|
export var Backdrop = classed(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["dialogBackdrop"], ["dialogBackdrop"])));
|
package/Dialog/m/bare.js
CHANGED
package/Dialog/sc/bare.d.ts
CHANGED
|
@@ -18,13 +18,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
18
18
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
19
19
|
children?: import("react").ReactNode;
|
|
20
20
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
21
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
21
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
22
22
|
open?: any;
|
|
23
23
|
}>>;
|
|
24
24
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
25
25
|
children?: import("react").ReactNode;
|
|
26
26
|
}>>;
|
|
27
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
27
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
28
28
|
"aria-label": string;
|
|
29
29
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
30
30
|
children?: import("react").ReactNode;
|
package/Dialog/sc/bare.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
import { IconButton } from "../../Buttons/index.js";
|
|
4
|
-
import { extendComponent } from "../../
|
|
4
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
5
5
|
import { inset0 } from "../../styles/styled.js";
|
|
6
6
|
import * as _ from "../DialogMui.js";
|
|
7
7
|
export var Root = styled(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: 1300;\n position: fixed;\n ", "\n"], ["\n z-index: 1300;\n position: fixed;\n ", "\n"])), inset0);
|
package/Dialog/sc/framer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m } from "framer-motion";
|
|
2
|
-
import { extendComponent } from "../../
|
|
2
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
3
|
import { KoineDialog as _ } from "../m/bare.js";
|
|
4
4
|
import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
|
|
5
5
|
import { Backdrop, Body, Close, Container, Header, Paper, Root } from "./bare.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m } from "framer-motion";
|
|
2
|
-
import { extendComponent } from "../../
|
|
2
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
3
|
import { KoineDialog as _ } from "../m/bare.js";
|
|
4
4
|
import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
|
|
5
5
|
import { Backdrop, Body, Close, Container, Header, Paper, Root, } from "./material.js";
|
package/Dialog/sc/material.d.ts
CHANGED
|
@@ -17,13 +17,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
17
17
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
18
18
|
children?: import("react").ReactNode;
|
|
19
19
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
20
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
20
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
21
21
|
open?: any;
|
|
22
22
|
}>>;
|
|
23
23
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
24
24
|
children?: import("react").ReactNode;
|
|
25
25
|
}>>;
|
|
26
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
26
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
27
27
|
"aria-label": string;
|
|
28
28
|
} & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
29
29
|
children?: import("react").ReactNode;
|
package/Dialog/sc/material.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
2
|
import styled from "styled-components";
|
|
3
|
-
import { extendComponent } from "../../
|
|
3
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
4
4
|
import { KoineDialog as _ } from "./bare.js";
|
|
5
5
|
export var Root = styled(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
|
|
6
6
|
export var Backdrop = styled(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(0, 0, 0, 0.5);\n filter: backdrop-blur(4px);\n"], ["\n background: rgba(0, 0, 0, 0.5);\n filter: backdrop-blur(4px);\n"])));
|
package/Dialog/tw/bare.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const Root: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
7
7
|
export declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
8
8
|
className?: string | undefined;
|
|
9
9
|
ref?: import("react").Ref<any> | undefined;
|
|
10
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
10
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
11
11
|
open?: any;
|
|
12
12
|
}>>>>;
|
|
13
13
|
export declare const Container: import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLProps<any> & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
@@ -67,13 +67,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
67
67
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
68
68
|
children?: import("react").ReactNode;
|
|
69
69
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
70
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
70
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
71
71
|
open?: any;
|
|
72
72
|
}>>;
|
|
73
73
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
74
74
|
children?: import("react").ReactNode;
|
|
75
75
|
}>>;
|
|
76
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
76
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
77
77
|
"aria-label": string;
|
|
78
78
|
} & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
79
79
|
children?: import("react").ReactNode;
|
|
@@ -97,7 +97,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
97
97
|
Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
98
98
|
className?: string | undefined;
|
|
99
99
|
ref?: import("react").Ref<any> | undefined;
|
|
100
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
100
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
101
101
|
open?: any;
|
|
102
102
|
}>>>>;
|
|
103
103
|
Container: import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLProps<any> & Pick<_.OwnProps, "$scrollPaper"> & {
|
|
@@ -155,7 +155,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
155
155
|
Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
156
156
|
className?: string | undefined;
|
|
157
157
|
ref?: import("react").Ref<any> | undefined;
|
|
158
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
158
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
159
159
|
open?: any;
|
|
160
160
|
}>>>>;
|
|
161
161
|
Container: import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLProps<any> & Pick<_.OwnProps, "$scrollPaper"> & {
|
package/Dialog/tw/bare.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
|
-
import { classed
|
|
2
|
+
import { classed } from "../../classed.js";
|
|
3
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
4
|
import * as _ from "../DialogMui.js";
|
|
4
5
|
export var Root = classed(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["< class=\"dialog fixed z-[1300] inset-0"], ["< class=\"dialog fixed z-[1300] inset-0"])));
|
|
5
6
|
export var Backdrop = classed(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["< class=\"dialogBackdrop fixed -z-[1] inset-0 [-webkit-tap-highlight-color:transparent]"], ["< class=\"dialogBackdrop fixed -z-[1] inset-0 [-webkit-tap-highlight-color:transparent]"])));
|
package/Dialog/tw/elegant.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
12
12
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
13
13
|
className?: string | undefined;
|
|
14
14
|
ref?: import("react").Ref<any> | undefined;
|
|
15
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
15
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
16
16
|
open?: any;
|
|
17
17
|
}>>>>>>;
|
|
18
18
|
export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -87,13 +87,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
87
87
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
88
88
|
children?: import("react").ReactNode;
|
|
89
89
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
90
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
90
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
91
91
|
open?: any;
|
|
92
92
|
}>>;
|
|
93
93
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
94
94
|
children?: import("react").ReactNode;
|
|
95
95
|
}>>;
|
|
96
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
96
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
97
97
|
"aria-label": string;
|
|
98
98
|
} & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
99
99
|
children?: import("react").ReactNode;
|
|
@@ -123,7 +123,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
123
123
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
124
124
|
className?: string | undefined;
|
|
125
125
|
ref?: import("react").Ref<any> | undefined;
|
|
126
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
126
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
127
127
|
open?: any;
|
|
128
128
|
}>>>>>>;
|
|
129
129
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -202,7 +202,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
202
202
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
203
203
|
className?: string | undefined;
|
|
204
204
|
ref?: import("react").Ref<any> | undefined;
|
|
205
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
205
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
206
206
|
open?: any;
|
|
207
207
|
}>>>>>>;
|
|
208
208
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
package/Dialog/tw/elegant.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
|
-
import { classed
|
|
2
|
+
import { classed } from "../../classed.js";
|
|
3
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
4
|
import { KoineDialog as _ } from "./bare.js";
|
|
4
5
|
export var Root = classed(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
|
|
5
6
|
export var Backdrop = classed(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["< class=\"bg-white/[.5] backdrop-blur-sm"], ["< class=\"bg-white/[.5] backdrop-blur-sm"])));
|
package/Dialog/tw/framer.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const KoineDialog: ((props: unknown) => import("react").FunctionC
|
|
|
7
7
|
Backdrop: import("framer-motion").CustomDomComponent<Omit<{
|
|
8
8
|
className?: string | undefined;
|
|
9
9
|
ref?: import("react").Ref<any> | undefined;
|
|
10
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
10
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
11
11
|
open?: any;
|
|
12
12
|
}>>>>;
|
|
13
13
|
Container: import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLProps<any> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
@@ -60,7 +60,7 @@ export declare const KoineDialog: ((props: unknown) => import("react").FunctionC
|
|
|
60
60
|
Backdrop: import("framer-motion").CustomDomComponent<Omit<{
|
|
61
61
|
className?: string | undefined;
|
|
62
62
|
ref?: import("react").Ref<any> | undefined;
|
|
63
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
63
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
64
64
|
open?: any;
|
|
65
65
|
}>>>>;
|
|
66
66
|
Container: import("react").ForwardRefExoticComponent<(Omit<import("react").HTMLProps<any> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
package/Dialog/tw/framer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m } from "framer-motion";
|
|
2
|
-
import { extendComponent } from "../../
|
|
2
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
3
|
import { KoineDialog as _ } from "../m/bare.js";
|
|
4
4
|
import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
|
|
5
5
|
import { Backdrop, Body, Close, Container, Header, Paper, Root } from "./bare.js";
|
|
@@ -13,7 +13,7 @@ export declare const KoineDialog: ((props: unknown) => import("react").FunctionC
|
|
|
13
13
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
14
14
|
className?: string | undefined;
|
|
15
15
|
ref?: import("react").Ref<any> | undefined;
|
|
16
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
16
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
17
17
|
open?: any;
|
|
18
18
|
}>>>>>>;
|
|
19
19
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -94,7 +94,7 @@ export declare const KoineDialog: ((props: unknown) => import("react").FunctionC
|
|
|
94
94
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
95
95
|
className?: string | undefined;
|
|
96
96
|
ref?: import("react").Ref<any> | undefined;
|
|
97
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
97
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
98
98
|
open?: any;
|
|
99
99
|
}>>>>>>;
|
|
100
100
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m } from "framer-motion";
|
|
2
|
-
import { extendComponent } from "../../
|
|
2
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
3
|
import { KoineDialog as _ } from "../m/bare.js";
|
|
4
4
|
import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
|
|
5
5
|
import { Backdrop, Body, Close, Container, Header, Paper, Root, } from "./material.js";
|
package/Dialog/tw/material.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
12
12
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
13
13
|
className?: string | undefined;
|
|
14
14
|
ref?: import("react").Ref<any> | undefined;
|
|
15
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
15
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
16
16
|
open?: any;
|
|
17
17
|
}>>>>>>;
|
|
18
18
|
export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -87,13 +87,13 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
87
87
|
mPaper?: import("framer-motion").MotionProps | undefined;
|
|
88
88
|
children?: import("react").ReactNode;
|
|
89
89
|
Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
|
|
90
|
-
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
90
|
+
Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
91
91
|
open?: any;
|
|
92
92
|
}>>;
|
|
93
93
|
Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
94
94
|
children?: import("react").ReactNode;
|
|
95
95
|
}>>;
|
|
96
|
-
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
96
|
+
Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
97
97
|
"aria-label": string;
|
|
98
98
|
} & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
|
|
99
99
|
children?: import("react").ReactNode;
|
|
@@ -123,7 +123,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
123
123
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
124
124
|
className?: string | undefined;
|
|
125
125
|
ref?: import("react").Ref<any> | undefined;
|
|
126
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
126
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
127
127
|
open?: any;
|
|
128
128
|
}>>>>>>;
|
|
129
129
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
|
@@ -202,7 +202,7 @@ export declare const KoineDialog: ((props: Omit<{
|
|
|
202
202
|
}, "ref"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Omit<{
|
|
203
203
|
className?: string | undefined;
|
|
204
204
|
ref?: import("react").Ref<any> | undefined;
|
|
205
|
-
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "
|
|
205
|
+
}, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
|
|
206
206
|
open?: any;
|
|
207
207
|
}>>>>>>;
|
|
208
208
|
Container: import("react").ForwardRefExoticComponent<Omit<{
|
package/Dialog/tw/material.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
|
-
import { classed
|
|
2
|
+
import { classed } from "../../classed.js";
|
|
3
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
3
4
|
import { KoineDialog as _ } from "./bare.js";
|
|
4
5
|
export var Root = classed(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
|
|
5
6
|
export var Backdrop = classed(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["< class=\"bg-black/[.5] backdrop-blur-sm"], ["< class=\"bg-black/[.5] backdrop-blur-sm"])));
|
package/Form/Form.d.ts
CHANGED
package/Form/Form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __assign, __rest } from "tslib";
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
|
-
import { extendComponent, } from "../
|
|
4
|
+
import { extendComponent, } from "../extendComponent.js";
|
|
5
5
|
export var Root = "form";
|
|
6
6
|
export var Overlay = "div";
|
|
7
7
|
export var Progress = "div";
|
|
@@ -14,7 +14,7 @@ export var Form = function (_a) {
|
|
|
14
14
|
} : _b, _Fail = _a.Fail, _c = _a.failProps, failProps = _c === void 0 ? {
|
|
15
15
|
children: "Failed.",
|
|
16
16
|
} : _c, collapseOnOk = _a.collapseOnOk, collapseOnFail = _a.collapseOnFail, _d = _a.okTimeout, okTimeout = _d === void 0 ? 3000 : _d, _e = _a.failTimeout, failTimeout = _e === void 0 ? 3000 : _e, children = _a.children, props = __rest(_a, ["Root", "Overlay", "Progress", "Collapsable", "ok", "fail", "loading", "Ok", "okProps", "Fail", "failProps", "collapseOnOk", "collapseOnFail", "okTimeout", "failTimeout", "children"]);
|
|
17
|
-
var _f = useState(""), open = _f[0], setOpen = _f[1];
|
|
17
|
+
var _f = __read(useState(""), 2), open = _f[0], setOpen = _f[1];
|
|
18
18
|
var commonProps = {
|
|
19
19
|
head: null,
|
|
20
20
|
components: {
|
package/Form/sc/bare.js
CHANGED
|
@@ -3,7 +3,7 @@ import styled from "styled-components";
|
|
|
3
3
|
import { Alert } from "../../Alert/index.js";
|
|
4
4
|
import { Collapsable } from "../../Collapsable/index.js";
|
|
5
5
|
import { ProgressCircular } from "../../Progress/index.js";
|
|
6
|
-
import { extendComponent } from "../../
|
|
6
|
+
import { extendComponent } from "../../extendComponent.js";
|
|
7
7
|
import { centered, overlay } from "../../styles/styled.js";
|
|
8
8
|
import * as _ from "../Form.js";
|
|
9
9
|
export var Root = styled(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
@@ -2,7 +2,7 @@ import { __assign, __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { useFormState } from "react-hook-form";
|
|
5
|
-
import decode from "@koine/utils
|
|
5
|
+
import { decode } from "@koine/utils";
|
|
6
6
|
import { InputHoneypot } from "../styles.js";
|
|
7
7
|
import { Field } from "./Field.js";
|
|
8
8
|
import { FieldHint } from "./FieldHint.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef, useState } from "react";
|
|
4
4
|
import { ImEyeBlocked as IconInvisible, ImEye as IconVisible, } from "react-icons/im";
|
|
@@ -11,7 +11,7 @@ export var PasswordInputNative = styled(InputNative)(templateObject_2 || (templa
|
|
|
11
11
|
var PasswordIcon = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n"])), ICON_WIDTH);
|
|
12
12
|
export var Password = forwardRef(function Password(_a, ref) {
|
|
13
13
|
var register = _a.register, name = _a.name, label = _a.label, props = __rest(_a, ["register", "name", "label"]);
|
|
14
|
-
var _b = useState(false), visible = _b[0], setVisible = _b[1];
|
|
14
|
+
var _b = __read(useState(false), 2), visible = _b[0], setVisible = _b[1];
|
|
15
15
|
return (_jsxs(_Fragment, { children: [label && _jsx(Label, { children: label }), _jsxs(PasswordInputWrap, { children: [_jsx(PasswordInputNative, __assign({ type: visible ? "text" : "password", autoComplete: "new-password" }, (register ? register(name) : { name: name, ref: ref }), props)), _jsx(PasswordIcon, { onClick: function () { return setVisible(function (prev) { return !prev; }); }, children: visible ? _jsx(IconInvisible, {}) : _jsx(IconVisible, {}) })] })] }));
|
|
16
16
|
});
|
|
17
17
|
var templateObject_1, templateObject_2, templateObject_3;
|
package/Forms/antispam.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { object } from "@kuus/yup";
|
|
2
|
-
import decode from "@koine/utils
|
|
3
|
-
import encode from "@koine/utils/encode";
|
|
4
|
-
import isUndefined from "@koine/utils/isUndefined";
|
|
2
|
+
import { decode, encode, isUndefined } from "@koine/utils";
|
|
5
3
|
export function encodeForm(validationRules) {
|
|
6
4
|
var encoded = {};
|
|
7
5
|
var encodedNames = {};
|
package/Forms/helpers.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import isString from "@koine/utils
|
|
2
|
-
import matchSorter from "@koine/utils/matchSorter";
|
|
1
|
+
import { isString, matchSorter } from "@koine/utils";
|
|
3
2
|
export var normaliseOptions = function (options) {
|
|
4
3
|
if (options === void 0) { options = []; }
|
|
5
4
|
return options.map(function (option) {
|
package/Grid/Grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from "tslib";
|
|
1
|
+
import { __makeTemplateObject, __read } from "tslib";
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
export var GRID_COLUMNS = 12;
|
|
4
4
|
export var GRID_GUTTER_DEFAULT = "half";
|
|
@@ -26,7 +26,7 @@ function getColCss(props) {
|
|
|
26
26
|
var offsets = $offset.split(",");
|
|
27
27
|
for (var i = 0; i <= offsets.length; i++) {
|
|
28
28
|
if (offsets[i]) {
|
|
29
|
-
var _a = offsets[i].split(":"), offsetBreakpoint = _a[0], offsetSize = _a[1];
|
|
29
|
+
var _a = __read(offsets[i].split(":"), 2), offsetBreakpoint = _a[0], offsetSize = _a[1];
|
|
30
30
|
css += " \n @media(min-width: ".concat(breakpoints[offsetBreakpoint], "px){\n margin-left: ").concat((100 * offsetSize) / GRID_COLUMNS, "%;\n }\n ");
|
|
31
31
|
}
|
|
32
32
|
}
|
package/Header/useHeader.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import { __read } from "tslib";
|
|
1
2
|
import { useEffect, useState } from "react";
|
|
2
|
-
import { useScrollPosition } from "../hooks/useScrollPosition.js";
|
|
3
3
|
import { useMedia } from "../styles/media.js";
|
|
4
4
|
import { useTheme } from "../styles/theme.js";
|
|
5
|
+
import { useScrollPosition } from "../useScrollPosition.js";
|
|
5
6
|
export var useHeader = function () {
|
|
6
|
-
var _a = useState(false), isSticky = _a[0], setIsSticky = _a[1];
|
|
7
|
+
var _a = __read(useState(false), 2), isSticky = _a[0], setIsSticky = _a[1];
|
|
7
8
|
var themed = useTheme().header;
|
|
8
9
|
var isDesktopLayout = useMedia("min:".concat(themed.breakpoint));
|
|
9
10
|
var valueIdx = isDesktopLayout ? 1 : 0;
|
|
10
|
-
var _b = useState(themed.height[valueIdx]), headerHeight = _b[0], setHeaderHeight = _b[1];
|
|
11
|
-
var _c = useState(themed.height[valueIdx]), placeholderHeight = _c[0], setPlaceholderHeight = _c[1];
|
|
12
|
-
var _d = useState(themed.logoWidth[valueIdx]), logoWidth = _d[0], setLogoWidth = _d[1];
|
|
11
|
+
var _b = __read(useState(themed.height[valueIdx]), 2), headerHeight = _b[0], setHeaderHeight = _b[1];
|
|
12
|
+
var _c = __read(useState(themed.height[valueIdx]), 2), placeholderHeight = _c[0], setPlaceholderHeight = _c[1];
|
|
13
|
+
var _d = __read(useState(themed.logoWidth[valueIdx]), 2), logoWidth = _d[0], setLogoWidth = _d[1];
|
|
13
14
|
useScrollPosition(function (currentPosition) {
|
|
14
15
|
var isPastThreshold = currentPosition.y * -1 > 40;
|
|
15
16
|
if (isSticky !== isPastThreshold)
|
package/MenuItem/useMenuItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __read } from "tslib";
|
|
2
2
|
import useMenu from "@mui/base/useMenu";
|
|
3
3
|
import useForkRef from "@mui/utils/useForkRef";
|
|
4
4
|
import { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
@@ -16,7 +16,7 @@ export function useMenuItem(props) {
|
|
|
16
16
|
useEffect(function () {
|
|
17
17
|
registerItem(id, { disabled: disabled, id: id, ref: itemRef, label: label });
|
|
18
18
|
}, [id, registerItem, disabled, ref, label]);
|
|
19
|
-
var _d = useState(false), focusRequested = _d[0], requestFocus = _d[1];
|
|
19
|
+
var _d = __read(useState(false), 2), focusRequested = _d[0], requestFocus = _d[1];
|
|
20
20
|
var focusIfRequested = useCallback(function () {
|
|
21
21
|
if (focusRequested && itemRef.current != null) {
|
|
22
22
|
itemRef.current.focus();
|
|
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { CgArrowLeftR as IconArrowLeft, CgArrowRightR as IconArrowRight, } from "react-icons/cg";
|
|
4
4
|
import styled from "styled-components";
|
|
5
|
-
import ensureInt from "@koine/utils
|
|
5
|
+
import { ensureInt } from "@koine/utils";
|
|
6
6
|
var Root = styled.nav(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 20px 0 40px;\n font-weight: 600;\n\n & a {\n text-decoration: none;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 20px 0 40px;\n font-weight: 600;\n\n & a {\n text-decoration: none;\n }\n"])));
|
|
7
7
|
var item = "\n display: block;\n padding: 5px 10px;\n";
|
|
8
8
|
var ItemCurrent = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n background: var(--accent400);\n border-radius: 2px;\n"], ["\n ", "\n background: var(--accent400);\n border-radius: 2px;\n"])), item);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from "tslib";
|
|
1
|
+
import { __makeTemplateObject, __read } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { m } from "framer-motion";
|
|
4
4
|
import { useEffect } from "react";
|
|
@@ -10,7 +10,7 @@ var ProgressOverlayWrap = styled(m.div)(templateObject_1 || (templateObject_1 =
|
|
|
10
10
|
var ProgressOverlayCenterer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--progress-overlay-bg);\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--progress-overlay-bg);\n"])));
|
|
11
11
|
export var ProgressOverlay = function (_a) {
|
|
12
12
|
var running = _a.running;
|
|
13
|
-
var _b = useHeader(), headerHeight = _b[2];
|
|
13
|
+
var _b = __read(useHeader(), 3), headerHeight = _b[2];
|
|
14
14
|
useEffect(function () {
|
|
15
15
|
document.body.style.cursor = running ? "wait" : "";
|
|
16
16
|
}, [running]);
|
package/Rating/Rating.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useEffect, useId, useState } from "react";
|
|
4
4
|
import styled from "styled-components";
|
|
@@ -15,8 +15,8 @@ export var RatingRoot = styled.div(templateObject_5 || (templateObject_5 = __mak
|
|
|
15
15
|
export var Rating = function (_a) {
|
|
16
16
|
var _b = _a.value, value = _b === void 0 ? 0 : _b, count = _a.count, _c = _a.min, min = _c === void 0 ? 0 : _c, _d = _a.max, max = _d === void 0 ? 5 : _d, _e = _a.showDetails, showDetails = _e === void 0 ? true : _e, colorBg = _a.colorBg, colorStroke = _a.colorStroke, _f = _a.starSize, starSize = _f === void 0 ? 16 : _f;
|
|
17
17
|
var id = useId();
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _g = __read(useState(value), 1), currentValue = _g[0];
|
|
19
|
+
var _h = __read(useState([]), 2), stars = _h[0], setStars = _h[1];
|
|
20
20
|
var getStars = useCallback(function (activeCount) {
|
|
21
21
|
var stars = [];
|
|
22
22
|
for (var currentStar = min + 1; currentStar < max + 1; currentStar++) {
|