quicksnack 3.45.0 → 3.46.0
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/bundle.js +449 -1876
- package/dist/bundle.min.js +1 -446
- package/dist/src/UiWrapper.d.ts +1 -6
- package/dist/src/animation/SlideInFromTop/SlideInFromTop.d.ts +6 -4
- package/dist/src/animation/SlideOpen/SlideOpen.d.ts +1 -1
- package/dist/src/form/Button/Button.d.ts +1 -2
- package/dist/src/form/PasswordStrengthField/PasswordStrenghField.d.ts +1 -1
- package/dist/src/form/ScaffoldForm/FormGrid/FormGrid.d.ts +6 -6
- package/dist/src/form/ScaffoldForm/FormGrid/FormGridCell.d.ts +9 -8
- package/dist/src/form/ScaffoldForm/FormGrid/FormGridWrapper.d.ts +1 -1
- package/dist/src/form/ScaffoldForm/ScaffoldField.d.ts +1 -2
- package/dist/src/form/ScaffoldForm/ScaffoldForm.d.ts +3 -2
- package/dist/src/form/ScaffoldForm/utils/FormPositioner.d.ts +1 -1
- package/dist/src/form/TextField/TextField.d.ts +3 -3
- package/dist/src/index.d.ts +1 -3
- package/dist/src/responsiveness/responsive.d.ts +9 -1
- package/dist/src/typography/Paragraph/Paragraph.d.ts +2 -261
- package/package.json +4 -8
- package/dist/src/UiProvider.d.ts +0 -8
- package/dist/src/responsiveness/responsiveProps.d.ts +0 -17
- package/dist/src/theme.d.ts +0 -2
package/dist/src/UiWrapper.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
theme?: React.ComponentProps<typeof UiProvider>['theme'];
|
|
5
|
-
}
|
|
6
|
-
export declare const UiWrapper: React.FC<React.PropsWithChildren<Props>>;
|
|
7
|
-
export {};
|
|
2
|
+
export declare const UiWrapper: React.FC<React.PropsWithChildren<unknown>>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
speed?: string
|
|
4
|
-
}
|
|
1
|
+
import { HTMLProps, PropsWithChildren } from "react";
|
|
2
|
+
interface Props extends HTMLProps<HTMLDivElement> {
|
|
3
|
+
speed?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const SlideInFromTop: ({ className, speed, ...rest }: PropsWithChildren<Props>) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
declare type Variant = keyof typeof theme.palette.button;
|
|
2
|
+
declare type Variant = "default" | "primary" | "secondary" | "danger" | "basic" | "text";
|
|
4
3
|
export interface ButtonProps extends React.ButtonHTMLAttributes<any> {
|
|
5
4
|
icon?: JSX.Element;
|
|
6
5
|
variant?: Variant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare type Props = Omit<React.InputHTMLAttributes<any>,
|
|
2
|
+
declare type Props = Omit<React.InputHTMLAttributes<any>, "type">;
|
|
3
3
|
export declare const passwordMinLength: (val: string) => boolean;
|
|
4
4
|
export declare const passwordHasNumbers: (val: string) => boolean;
|
|
5
5
|
export declare const passwordHasLowerAndUppercase: (val: string) => boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { Responsive } from "../../../responsiveness/
|
|
3
|
-
|
|
1
|
+
import { HTMLProps } from "react";
|
|
2
|
+
import { Responsive } from "../../../responsiveness/responsive";
|
|
3
|
+
interface Props extends HTMLProps<HTMLDivElement> {
|
|
4
4
|
columns?: Responsive<string>;
|
|
5
|
-
}
|
|
6
|
-
export declare const FormGrid:
|
|
7
|
-
export
|
|
5
|
+
}
|
|
6
|
+
export declare const FormGrid: ({ columns, className, ...props }: Props) => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
import { OnlyResponsive, Responsive } from "../../../responsiveness/responsive";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
3
|
export declare type Dimensions = {
|
|
4
|
-
row
|
|
5
|
-
rowSpan
|
|
6
|
-
column
|
|
7
|
-
columnSpan
|
|
4
|
+
row: number;
|
|
5
|
+
rowSpan: number;
|
|
6
|
+
column: number;
|
|
7
|
+
columnSpan: number;
|
|
8
8
|
};
|
|
9
9
|
export declare type FormGridCellProps = {
|
|
10
|
-
position?:
|
|
10
|
+
position?: OnlyResponsive<Dimensions>;
|
|
11
11
|
align?: Responsive<"left" | "right" | "center">;
|
|
12
12
|
rowOffset?: number;
|
|
13
|
+
className?: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const FormGridCell:
|
|
15
|
+
export declare const FormGridCell: ({ position, align, rowOffset, children, className, }: PropsWithChildren<FormGridCellProps>) => JSX.Element;
|
|
@@ -6,5 +6,5 @@ export interface FormGridWrapperProps extends FormGridCellProps {
|
|
|
6
6
|
hint?: string | JSX.Element;
|
|
7
7
|
error?: string | JSX.Element;
|
|
8
8
|
}
|
|
9
|
-
export declare const getFormGridWrapperProps: ({ position, align, label, hint, error, isRequired }: FormGridWrapperProps) => FormGridWrapperProps;
|
|
9
|
+
export declare const getFormGridWrapperProps: ({ position, align, label, hint, error, isRequired, }: FormGridWrapperProps) => FormGridWrapperProps;
|
|
10
10
|
export declare const FormGridWrapper: React.FC<React.PropsWithChildren<FormGridWrapperProps>>;
|
|
@@ -5,5 +5,4 @@ export declare type Props = {
|
|
|
5
5
|
field: ScaffoldAvailableFields;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
|
-
declare const ScaffoldField: React.FC<React.PropsWithChildren<Props>>;
|
|
9
|
-
export default ScaffoldField;
|
|
8
|
+
export declare const ScaffoldField: React.FC<React.PropsWithChildren<Props>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ScaffoldAvailableFields } from "./types";
|
|
3
|
-
import {
|
|
3
|
+
import { Responsive } from "../../responsiveness/responsive";
|
|
4
4
|
export declare type ScaffoldFields = Record<string, ScaffoldAvailableFields>;
|
|
5
|
-
export interface ScaffoldFormProps
|
|
5
|
+
export interface ScaffoldFormProps {
|
|
6
6
|
fields: ScaffoldFields;
|
|
7
7
|
prefixFieldNames?: string;
|
|
8
|
+
columns?: Responsive<string>;
|
|
8
9
|
[key: string]: any;
|
|
9
10
|
}
|
|
10
11
|
export declare const ScaffoldForm: React.FC<React.PropsWithChildren<ScaffoldFormProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BreakPoint, Responsive } from "../../../responsiveness/
|
|
1
|
+
import { BreakPoint, Responsive } from "../../../responsiveness/responsive";
|
|
2
2
|
import { Fields } from "../types";
|
|
3
3
|
export declare class FormPositioner<T extends Fields, K extends keyof T> {
|
|
4
4
|
protected fields: T;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare type Props = React.InputHTMLAttributes<any> & {
|
|
2
|
+
declare type Props = (React.InputHTMLAttributes<any> & {
|
|
3
3
|
multiline?: false;
|
|
4
4
|
type?: "text" | "password" | "number" | "date" | "search" | "hidden";
|
|
5
|
-
} | React.TextareaHTMLAttributes<any> & {
|
|
5
|
+
}) | (React.TextareaHTMLAttributes<any> & {
|
|
6
6
|
multiline: true;
|
|
7
|
-
};
|
|
7
|
+
});
|
|
8
8
|
export declare const TextField: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
|
|
9
9
|
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./css/theme.css";
|
|
2
|
-
export * from "./UiProvider";
|
|
3
2
|
export * from "./UiWrapper";
|
|
4
3
|
export * from "./animation/SlideInFromTop/SlideInFromTop";
|
|
5
4
|
export * from "./components/Alert/Alert";
|
|
@@ -51,8 +50,7 @@ export * from "./form/ScaffoldForm/ScaffoldForm";
|
|
|
51
50
|
export * from "./form/ScaffoldForm/ScaffoldField";
|
|
52
51
|
export * from "./form/ScaffoldForm/ScaffoldFormProvider";
|
|
53
52
|
export * from "./form/ScaffoldForm/types";
|
|
54
|
-
export * from "./responsiveness/
|
|
53
|
+
export * from "./responsiveness/responsive";
|
|
55
54
|
export * from "./responsiveness/useResponsiveBreakpoints";
|
|
56
55
|
export * from "./typography/Header/Header";
|
|
57
56
|
export * from "./typography/Paragraph/Paragraph";
|
|
58
|
-
export * from "./theme";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
export declare type BreakPoint = "mobile" | "tablet" | "laptop" | "desktop";
|
|
2
|
+
export declare const breakPoints: BreakPoint[];
|
|
3
|
+
export declare const BreakPointValues: Record<BreakPoint, number>;
|
|
4
|
+
export declare type OnlyResponsive<T> = {
|
|
5
|
+
[key in BreakPoint]?: T;
|
|
6
|
+
};
|
|
7
|
+
export declare type Responsive<T> = T | OnlyResponsive<T>;
|
|
2
8
|
export interface ResponsiveProps {
|
|
3
9
|
p?: Responsive<number>;
|
|
4
10
|
pt?: Responsive<number>;
|
|
@@ -18,8 +24,10 @@ export interface ResponsiveProps {
|
|
|
18
24
|
alignItems?: Responsive<"stretch" | "center" | "flex-start" | "flex-end" | "baseline" | "initial" | "inherit">;
|
|
19
25
|
textAlign?: Responsive<"left" | "right" | "center" | "justify" | "inherit">;
|
|
20
26
|
justifyContent?: Responsive<"center" | "start" | "end" | "flex-start" | "flex-end" | "left" | "right" | "normal" | "space-between" | "space-around" | "space-evenly" | "stretch" | "safe center" | "unsafe center" | "inherit" | "initial" | "unset">;
|
|
27
|
+
columns?: Responsive<string>;
|
|
21
28
|
}
|
|
22
29
|
export declare const getResponsiveProps: (props: ResponsiveProps) => {
|
|
23
30
|
variables: {};
|
|
24
31
|
classNames: string;
|
|
25
32
|
};
|
|
33
|
+
export declare const isResponsiveObject: (obj: any) => obj is any;
|
|
@@ -1,261 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Paragraph:
|
|
3
|
-
ref?: import("react").LegacyRef<HTMLParagraphElement> | undefined;
|
|
4
|
-
key?: import("react").Key | null | undefined;
|
|
5
|
-
defaultChecked?: boolean | undefined;
|
|
6
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
7
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
8
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
9
|
-
accessKey?: string | undefined;
|
|
10
|
-
className?: string | undefined;
|
|
11
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
12
|
-
contextMenu?: string | undefined;
|
|
13
|
-
dir?: string | undefined;
|
|
14
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
|
-
hidden?: boolean | undefined;
|
|
16
|
-
id?: string | undefined;
|
|
17
|
-
lang?: string | undefined;
|
|
18
|
-
placeholder?: string | undefined;
|
|
19
|
-
slot?: string | undefined;
|
|
20
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
21
|
-
style?: import("react").CSSProperties | undefined;
|
|
22
|
-
tabIndex?: number | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
translate?: "yes" | "no" | undefined;
|
|
25
|
-
radioGroup?: string | undefined;
|
|
26
|
-
role?: import("react").AriaRole | undefined;
|
|
27
|
-
about?: string | undefined;
|
|
28
|
-
datatype?: string | undefined;
|
|
29
|
-
inlist?: any;
|
|
30
|
-
prefix?: string | undefined;
|
|
31
|
-
property?: string | undefined;
|
|
32
|
-
resource?: string | undefined;
|
|
33
|
-
typeof?: string | undefined;
|
|
34
|
-
vocab?: string | undefined;
|
|
35
|
-
autoCapitalize?: string | undefined;
|
|
36
|
-
autoCorrect?: string | undefined;
|
|
37
|
-
autoSave?: string | undefined;
|
|
38
|
-
color?: string | undefined;
|
|
39
|
-
itemProp?: string | undefined;
|
|
40
|
-
itemScope?: boolean | undefined;
|
|
41
|
-
itemType?: string | undefined;
|
|
42
|
-
itemID?: string | undefined;
|
|
43
|
-
itemRef?: string | undefined;
|
|
44
|
-
results?: number | undefined;
|
|
45
|
-
security?: string | undefined;
|
|
46
|
-
unselectable?: "on" | "off" | undefined;
|
|
47
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
48
|
-
is?: string | undefined;
|
|
49
|
-
"aria-activedescendant"?: string | undefined;
|
|
50
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
51
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
52
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
53
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
54
|
-
"aria-colcount"?: number | undefined;
|
|
55
|
-
"aria-colindex"?: number | undefined;
|
|
56
|
-
"aria-colspan"?: number | undefined;
|
|
57
|
-
"aria-controls"?: string | undefined;
|
|
58
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
59
|
-
"aria-describedby"?: string | undefined;
|
|
60
|
-
"aria-details"?: string | undefined;
|
|
61
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
62
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
63
|
-
"aria-errormessage"?: string | undefined;
|
|
64
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
65
|
-
"aria-flowto"?: string | undefined;
|
|
66
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
67
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
68
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
69
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
70
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
71
|
-
"aria-label"?: string | undefined;
|
|
72
|
-
"aria-labelledby"?: string | undefined;
|
|
73
|
-
"aria-level"?: number | undefined;
|
|
74
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
75
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
76
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
77
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
79
|
-
"aria-owns"?: string | undefined;
|
|
80
|
-
"aria-placeholder"?: string | undefined;
|
|
81
|
-
"aria-posinset"?: number | undefined;
|
|
82
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
83
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
84
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
85
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
86
|
-
"aria-roledescription"?: string | undefined;
|
|
87
|
-
"aria-rowcount"?: number | undefined;
|
|
88
|
-
"aria-rowindex"?: number | undefined;
|
|
89
|
-
"aria-rowspan"?: number | undefined;
|
|
90
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
91
|
-
"aria-setsize"?: number | undefined;
|
|
92
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
93
|
-
"aria-valuemax"?: number | undefined;
|
|
94
|
-
"aria-valuemin"?: number | undefined;
|
|
95
|
-
"aria-valuenow"?: number | undefined;
|
|
96
|
-
"aria-valuetext"?: string | undefined;
|
|
97
|
-
children?: import("react").ReactNode;
|
|
98
|
-
dangerouslySetInnerHTML?: {
|
|
99
|
-
__html: string;
|
|
100
|
-
} | undefined;
|
|
101
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
102
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
103
|
-
onCut?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
104
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
105
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
106
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
107
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
108
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
109
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
110
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
111
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
112
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
113
|
-
onFocus?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
114
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
115
|
-
onBlur?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
116
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
117
|
-
onChange?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
118
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
119
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
120
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
121
|
-
onInput?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
122
|
-
onInputCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
123
|
-
onReset?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
124
|
-
onResetCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
125
|
-
onSubmit?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
126
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
127
|
-
onInvalid?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
128
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
129
|
-
onLoad?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
130
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
131
|
-
onError?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
132
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
133
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
134
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
135
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
136
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
137
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
138
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
139
|
-
onAbort?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
140
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
141
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
142
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
143
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
144
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
145
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
146
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
147
|
-
onEmptied?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
148
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
149
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
150
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
151
|
-
onEnded?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
152
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
153
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
154
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
155
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
156
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
157
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
158
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
159
|
-
onPause?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
160
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
161
|
-
onPlay?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
162
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
163
|
-
onPlaying?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
164
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
165
|
-
onProgress?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
166
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
167
|
-
onRateChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
168
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
169
|
-
onSeeked?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
170
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
171
|
-
onSeeking?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
172
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
173
|
-
onStalled?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
174
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
175
|
-
onSuspend?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
176
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
177
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
178
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
179
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
180
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
181
|
-
onWaiting?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
182
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
183
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
184
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
185
|
-
onClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
186
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
187
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
188
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
189
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
190
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
191
|
-
onDrag?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
192
|
-
onDragCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
193
|
-
onDragEnd?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
194
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
195
|
-
onDragEnter?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
196
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
197
|
-
onDragExit?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
198
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
199
|
-
onDragLeave?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
200
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
201
|
-
onDragOver?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
202
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
203
|
-
onDragStart?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
204
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
205
|
-
onDrop?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
206
|
-
onDropCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
207
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
208
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
209
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
210
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
211
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
212
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
213
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
214
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
215
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
216
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
217
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
218
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
219
|
-
onSelect?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
220
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
221
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
222
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
223
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
224
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
225
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
226
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
227
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
228
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
229
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
230
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
231
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
232
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
233
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
234
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
235
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
236
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
237
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
238
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
239
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
240
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
241
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
242
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
243
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
244
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
245
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
246
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
247
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
248
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
249
|
-
onScroll?: import("react").UIEventHandler<HTMLParagraphElement> | undefined;
|
|
250
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLParagraphElement> | undefined;
|
|
251
|
-
onWheel?: import("react").WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
252
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
253
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
254
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
255
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
256
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
257
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
258
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
259
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
260
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
261
|
-
}>;
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
2
|
+
export declare const Paragraph: ({ className, ...props }: PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quicksnack",
|
|
3
3
|
"description": "Quickly create beautiful admin layouts using react",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/**"
|
|
@@ -38,18 +38,13 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@emotion/is-prop-valid": "^1.2.1",
|
|
42
41
|
"clsx": "1.1.1",
|
|
43
|
-
"immer": "9.0.14",
|
|
44
42
|
"lodash.chunk": "4.2.0",
|
|
45
|
-
"lodash.difference": "4.5.0"
|
|
46
|
-
"polished": "4.2.2",
|
|
47
|
-
"postcss-import": "^16.0.0"
|
|
43
|
+
"lodash.difference": "4.5.0"
|
|
48
44
|
},
|
|
49
45
|
"peerDependencies": {
|
|
50
46
|
"react": "^17.0.1 || ^18.0.0",
|
|
51
|
-
"react-dom": "^17.0.1 || ^18.0.0"
|
|
52
|
-
"styled-components": "^6.0.7"
|
|
47
|
+
"react-dom": "^17.0.1 || ^18.0.0"
|
|
53
48
|
},
|
|
54
49
|
"resolutions": {
|
|
55
50
|
"@types/react": "17.0.45"
|
|
@@ -88,6 +83,7 @@
|
|
|
88
83
|
"cssnano": "^6.0.2",
|
|
89
84
|
"postcss-advanced-variables": "^3.0.1",
|
|
90
85
|
"postcss-custom-media": "^10.0.2",
|
|
86
|
+
"postcss-import": "16.0.0",
|
|
91
87
|
"postcss-loader": "^7.3.3",
|
|
92
88
|
"postcss-nested": "^6.0.1",
|
|
93
89
|
"prettier": "^3.1.1",
|
package/dist/src/UiProvider.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare type BreakPoint = "mobile" | "tablet" | "laptop" | "desktop";
|
|
2
|
-
export declare const BreakPointValues: Record<BreakPoint, number>;
|
|
3
|
-
export declare type OnlyResponsive<T> = {
|
|
4
|
-
[key in BreakPoint]?: T;
|
|
5
|
-
};
|
|
6
|
-
export declare type Responsive<T> = T | OnlyResponsive<T>;
|
|
7
|
-
declare type UnitFunction = (unit: any) => any;
|
|
8
|
-
/**
|
|
9
|
-
* Wraps given cssRules in the corresponding media-query:
|
|
10
|
-
*/
|
|
11
|
-
export declare const mq: (bk: BreakPoint, cssRules: any) => import("styled-components").RuleSet<object>;
|
|
12
|
-
export declare const isResponsiveObject: (obj: any) => obj is any;
|
|
13
|
-
/**
|
|
14
|
-
* Wraps 'responsive-props' in media-queries if necessary.
|
|
15
|
-
*/
|
|
16
|
-
export declare const responsiveProps: <T extends Record<string, any>>(props: T, map: { [key in keyof Omit<T, "theme">]: UnitFunction; }) => any[];
|
|
17
|
-
export {};
|
package/dist/src/theme.d.ts
DELETED