@clickpalm/react 1.0.0 → 1.1.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/index.d.ts +23 -11
- package/dist/index.js +416 -171
- package/dist/index.mjs +390 -147
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
|
|
|
4
4
|
import * as _stitches_react_types_stitches from '@stitches/react/types/stitches';
|
|
5
5
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
6
6
|
import * as react from 'react';
|
|
7
|
-
import react__default, { ComponentProps, ComponentPropsWithoutRef, ReactNode,
|
|
7
|
+
import react__default, { ComponentProps, ComponentPropsWithoutRef, ReactNode, InputHTMLAttributes, ElementType, SVGProps, CSSProperties } from 'react';
|
|
8
8
|
import * as _stitches_react_types_util from '@stitches/react/types/util';
|
|
9
9
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
10
|
import * as Avatar$1 from '@radix-ui/react-avatar';
|
|
@@ -3064,6 +3064,27 @@ declare const Tooltip: {
|
|
|
3064
3064
|
displayName: string;
|
|
3065
3065
|
};
|
|
3066
3066
|
|
|
3067
|
+
interface LoadingSpinnerProps {
|
|
3068
|
+
show: boolean;
|
|
3069
|
+
fullscreen?: boolean;
|
|
3070
|
+
}
|
|
3071
|
+
declare const Loader: React.FC<LoadingSpinnerProps>;
|
|
3072
|
+
|
|
3073
|
+
interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3074
|
+
label: string;
|
|
3075
|
+
prefix?: string;
|
|
3076
|
+
suffix?: react__default.ReactNode;
|
|
3077
|
+
noMargin?: boolean;
|
|
3078
|
+
errorMessage?: string;
|
|
3079
|
+
}
|
|
3080
|
+
declare const Input: react__default.ForwardRefExoticComponent<TextInputProps & react__default.RefAttributes<HTMLInputElement>>;
|
|
3081
|
+
|
|
3082
|
+
type MaskType = 'cellPhone' | 'homePhone' | 'cep' | 'cpf' | 'cnpj' | 'date';
|
|
3083
|
+
interface MaskedInputProps extends TextInputProps {
|
|
3084
|
+
maskType: MaskType;
|
|
3085
|
+
}
|
|
3086
|
+
declare const MaskedInput: react__default.ForwardRefExoticComponent<MaskedInputProps & react__default.RefAttributes<HTMLInputElement>>;
|
|
3087
|
+
|
|
3067
3088
|
declare const StyledButton: _stitches_react_types_styled_component.StyledComponent<"button", {
|
|
3068
3089
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
3069
3090
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
@@ -3550,15 +3571,6 @@ interface HeadingProps extends VariantProps<typeof Heading> {
|
|
|
3550
3571
|
as?: ElementType;
|
|
3551
3572
|
}
|
|
3552
3573
|
|
|
3553
|
-
interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3554
|
-
label: string;
|
|
3555
|
-
prefix?: string;
|
|
3556
|
-
suffix?: react__default.ReactNode;
|
|
3557
|
-
noMargin?: boolean;
|
|
3558
|
-
errorMessage?: string;
|
|
3559
|
-
}
|
|
3560
|
-
declare const Input: react__default.ForwardRefExoticComponent<TextInputProps & react__default.RefAttributes<HTMLInputElement>>;
|
|
3561
|
-
|
|
3562
3574
|
interface SelectItem {
|
|
3563
3575
|
value: string;
|
|
3564
3576
|
label: string;
|
|
@@ -3653,4 +3665,4 @@ interface CarouselItemProps {
|
|
|
3653
3665
|
type PasswordInputProps = Omit<TextInputProps, 'type' | 'suffix'>;
|
|
3654
3666
|
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
3655
3667
|
|
|
3656
|
-
export { Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Heading, HeadingProps, Hr, Icon, IconProps, Input, LabelledValue, LabelledValueProps, Modal, MultiStep, MultiStepProps, OneTimePassword, OneTimePasswordProps, PasswordInput, PasswordInputProps, ProgressBar, ProgressBarProps, Radio, RadioProps, Select, SelectProps, Spacing, Span, Switch, SwitchProps, Tabs, Text, TextArea, TextAreaElement, TextAreaProps, TextInputProps, TextProps, Toast, Tooltip, TooltipProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme, toast };
|
|
3668
|
+
export { Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Heading, HeadingProps, Hr, Icon, IconProps, Input, LabelledValue, LabelledValueProps, Loader, MaskType, MaskedInput, MaskedInputProps, Modal, MultiStep, MultiStepProps, OneTimePassword, OneTimePasswordProps, PasswordInput, PasswordInputProps, ProgressBar, ProgressBarProps, Radio, RadioProps, Select, SelectProps, Spacing, Span, Switch, SwitchProps, Tabs, Text, TextArea, TextAreaElement, TextAreaProps, TextInputProps, TextProps, Toast, Tooltip, TooltipProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme, toast };
|