@clickpalm/react 1.1.2 → 1.2.1
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 +482 -23
- package/dist/index.js +417 -173
- package/dist/index.mjs +391 -151
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,13 +4,14 @@ 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, ElementType, ReactNode, InputHTMLAttributes,
|
|
7
|
+
import react__default, { ComponentProps, ComponentPropsWithoutRef, ElementType, ReactNode, InputHTMLAttributes, CSSProperties, SVGProps } 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';
|
|
11
11
|
import * as Checkbox$1 from '@radix-ui/react-checkbox';
|
|
12
12
|
import { VariantProps, CSS } from '@stitches/react';
|
|
13
13
|
import * as Progress from '@radix-ui/react-progress';
|
|
14
|
+
import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
|
|
14
15
|
import * as CustomSelect from '@radix-ui/react-select';
|
|
15
16
|
import * as OneTimePasswordField from '@radix-ui/react-one-time-password-field';
|
|
16
17
|
|
|
@@ -2534,10 +2535,10 @@ declare const StyledHr: _stitches_react_types_styled_component.StyledComponent<"
|
|
|
2534
2535
|
transition: "transitions";
|
|
2535
2536
|
zIndex: "zIndices";
|
|
2536
2537
|
}, {}>>;
|
|
2537
|
-
type CustomCSS$
|
|
2538
|
+
type CustomCSS$5 = CSS<typeof config>;
|
|
2538
2539
|
interface HrProps extends ComponentPropsWithoutRef<'hr'>, VariantProps<typeof StyledHr> {
|
|
2539
2540
|
as?: ElementType;
|
|
2540
|
-
css?: CustomCSS$
|
|
2541
|
+
css?: CustomCSS$5;
|
|
2541
2542
|
children?: React.ReactNode;
|
|
2542
2543
|
variant?: 'gray' | 'purple';
|
|
2543
2544
|
}
|
|
@@ -2547,6 +2548,7 @@ interface ModalProps {
|
|
|
2547
2548
|
open: boolean;
|
|
2548
2549
|
onOpenChange: (open: boolean) => void;
|
|
2549
2550
|
title: string;
|
|
2551
|
+
description?: string;
|
|
2550
2552
|
children: react__default.ReactNode;
|
|
2551
2553
|
}
|
|
2552
2554
|
declare const Modal: react__default.FC<ModalProps>;
|
|
@@ -2569,7 +2571,7 @@ interface RadioProps {
|
|
|
2569
2571
|
required?: boolean;
|
|
2570
2572
|
errorMessage?: string;
|
|
2571
2573
|
}
|
|
2572
|
-
declare const Radio:
|
|
2574
|
+
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLDivElement>>;
|
|
2573
2575
|
|
|
2574
2576
|
type SpacingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xlg' | 'xxlg' | 'xxxlg';
|
|
2575
2577
|
interface SpacingProps {
|
|
@@ -2588,7 +2590,7 @@ interface SwitchProps {
|
|
|
2588
2590
|
id?: string;
|
|
2589
2591
|
errorMessage?: string;
|
|
2590
2592
|
}
|
|
2591
|
-
declare const Switch:
|
|
2593
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2592
2594
|
|
|
2593
2595
|
interface TabsProps {
|
|
2594
2596
|
defaultValue?: string;
|
|
@@ -3050,10 +3052,7 @@ interface TextAreaProps extends ComponentPropsWithoutRef<'textarea'>, VariantPro
|
|
|
3050
3052
|
htmlFor?: string;
|
|
3051
3053
|
errorMessage?: string;
|
|
3052
3054
|
}
|
|
3053
|
-
declare const TextArea:
|
|
3054
|
-
({ label, id, htmlFor, errorMessage, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
3055
|
-
displayName: string;
|
|
3056
|
-
};
|
|
3055
|
+
declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
3057
3056
|
|
|
3058
3057
|
interface TooltipProps {
|
|
3059
3058
|
content: ReactNode;
|
|
@@ -3090,6 +3089,235 @@ interface MaskedInputProps extends TextInputProps {
|
|
|
3090
3089
|
}
|
|
3091
3090
|
declare const MaskedInput: react__default.ForwardRefExoticComponent<MaskedInputProps & react__default.RefAttributes<HTMLInputElement>>;
|
|
3092
3091
|
|
|
3092
|
+
interface DropdownProps {
|
|
3093
|
+
children: react__default.ReactNode;
|
|
3094
|
+
}
|
|
3095
|
+
type DropdownItemProps = ComponentProps<typeof DropdownMenu.Item>;
|
|
3096
|
+
declare const Dropdown: {
|
|
3097
|
+
({ children }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
3098
|
+
displayName: string;
|
|
3099
|
+
};
|
|
3100
|
+
declare const DropdownSeparator: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuSeparatorProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
|
|
3101
|
+
sm: "(min-width: 375px)";
|
|
3102
|
+
md: "(min-width: 768px)";
|
|
3103
|
+
lg: "(min-width: 1024px)";
|
|
3104
|
+
}, _stitches_react_types_css_util.CSS<{
|
|
3105
|
+
sm: "(min-width: 375px)";
|
|
3106
|
+
md: "(min-width: 768px)";
|
|
3107
|
+
lg: "(min-width: 1024px)";
|
|
3108
|
+
}, {
|
|
3109
|
+
colors: {
|
|
3110
|
+
white: string;
|
|
3111
|
+
black: string;
|
|
3112
|
+
gray_background: string;
|
|
3113
|
+
gray_light: string;
|
|
3114
|
+
gray_mid: string;
|
|
3115
|
+
gray_dark: string;
|
|
3116
|
+
clickpalm_light: string;
|
|
3117
|
+
clickpalm_mid: string;
|
|
3118
|
+
clickpalm_dark: string;
|
|
3119
|
+
clickpalm_superDark: string;
|
|
3120
|
+
ignite_light: string;
|
|
3121
|
+
ignite_dark: string;
|
|
3122
|
+
success: string;
|
|
3123
|
+
success_dark: string;
|
|
3124
|
+
warning: string;
|
|
3125
|
+
warning_dark: string;
|
|
3126
|
+
danger: string;
|
|
3127
|
+
danger_dark: string;
|
|
3128
|
+
};
|
|
3129
|
+
fontSizes: {
|
|
3130
|
+
xxs: string;
|
|
3131
|
+
xs: string;
|
|
3132
|
+
sm: string;
|
|
3133
|
+
md: string;
|
|
3134
|
+
lg: string;
|
|
3135
|
+
xl: string;
|
|
3136
|
+
'2xl': string;
|
|
3137
|
+
'4xl': string;
|
|
3138
|
+
'5xl': string;
|
|
3139
|
+
'6xl': string;
|
|
3140
|
+
'7xl': string;
|
|
3141
|
+
'8xl': string;
|
|
3142
|
+
'9xl': string;
|
|
3143
|
+
};
|
|
3144
|
+
fontWeights: {
|
|
3145
|
+
regular: string;
|
|
3146
|
+
medium: string;
|
|
3147
|
+
bold: string;
|
|
3148
|
+
};
|
|
3149
|
+
fonts: {
|
|
3150
|
+
default: string;
|
|
3151
|
+
code: string;
|
|
3152
|
+
};
|
|
3153
|
+
lineHeights: {
|
|
3154
|
+
regular: string;
|
|
3155
|
+
shorter: string;
|
|
3156
|
+
short: string;
|
|
3157
|
+
base: string;
|
|
3158
|
+
tall: string;
|
|
3159
|
+
};
|
|
3160
|
+
radii: {
|
|
3161
|
+
px: string;
|
|
3162
|
+
xs: string;
|
|
3163
|
+
sm: string;
|
|
3164
|
+
md: string;
|
|
3165
|
+
lg: string;
|
|
3166
|
+
full: string;
|
|
3167
|
+
};
|
|
3168
|
+
space: {
|
|
3169
|
+
1: string;
|
|
3170
|
+
2: string;
|
|
3171
|
+
3: string;
|
|
3172
|
+
4: string;
|
|
3173
|
+
5: string;
|
|
3174
|
+
6: string;
|
|
3175
|
+
7: string;
|
|
3176
|
+
8: string;
|
|
3177
|
+
10: string;
|
|
3178
|
+
11: string;
|
|
3179
|
+
12: string;
|
|
3180
|
+
14: string;
|
|
3181
|
+
16: string;
|
|
3182
|
+
19: string;
|
|
3183
|
+
20: string;
|
|
3184
|
+
22: string;
|
|
3185
|
+
40: string;
|
|
3186
|
+
64: string;
|
|
3187
|
+
80: string;
|
|
3188
|
+
};
|
|
3189
|
+
}, {
|
|
3190
|
+
height: "space";
|
|
3191
|
+
width: "space";
|
|
3192
|
+
gap: "space";
|
|
3193
|
+
gridGap: "space";
|
|
3194
|
+
columnGap: "space";
|
|
3195
|
+
gridColumnGap: "space";
|
|
3196
|
+
rowGap: "space";
|
|
3197
|
+
gridRowGap: "space";
|
|
3198
|
+
inset: "space";
|
|
3199
|
+
insetBlock: "space";
|
|
3200
|
+
insetBlockEnd: "space";
|
|
3201
|
+
insetBlockStart: "space";
|
|
3202
|
+
insetInline: "space";
|
|
3203
|
+
insetInlineEnd: "space";
|
|
3204
|
+
insetInlineStart: "space";
|
|
3205
|
+
margin: "space";
|
|
3206
|
+
marginTop: "space";
|
|
3207
|
+
marginRight: "space";
|
|
3208
|
+
marginBottom: "space";
|
|
3209
|
+
marginLeft: "space";
|
|
3210
|
+
marginBlock: "space";
|
|
3211
|
+
marginBlockEnd: "space";
|
|
3212
|
+
marginBlockStart: "space";
|
|
3213
|
+
marginInline: "space";
|
|
3214
|
+
marginInlineEnd: "space";
|
|
3215
|
+
marginInlineStart: "space";
|
|
3216
|
+
padding: "space";
|
|
3217
|
+
paddingTop: "space";
|
|
3218
|
+
paddingRight: "space";
|
|
3219
|
+
paddingBottom: "space";
|
|
3220
|
+
paddingLeft: "space";
|
|
3221
|
+
paddingBlock: "space";
|
|
3222
|
+
paddingBlockEnd: "space";
|
|
3223
|
+
paddingBlockStart: "space";
|
|
3224
|
+
paddingInline: "space";
|
|
3225
|
+
paddingInlineEnd: "space";
|
|
3226
|
+
paddingInlineStart: "space";
|
|
3227
|
+
scrollMargin: "space";
|
|
3228
|
+
scrollMarginTop: "space";
|
|
3229
|
+
scrollMarginRight: "space";
|
|
3230
|
+
scrollMarginBottom: "space";
|
|
3231
|
+
scrollMarginLeft: "space";
|
|
3232
|
+
scrollMarginBlock: "space";
|
|
3233
|
+
scrollMarginBlockEnd: "space";
|
|
3234
|
+
scrollMarginBlockStart: "space";
|
|
3235
|
+
scrollMarginInline: "space";
|
|
3236
|
+
scrollMarginInlineEnd: "space";
|
|
3237
|
+
scrollMarginInlineStart: "space";
|
|
3238
|
+
scrollPadding: "space";
|
|
3239
|
+
scrollPaddingTop: "space";
|
|
3240
|
+
scrollPaddingRight: "space";
|
|
3241
|
+
scrollPaddingBottom: "space";
|
|
3242
|
+
scrollPaddingLeft: "space";
|
|
3243
|
+
scrollPaddingBlock: "space";
|
|
3244
|
+
scrollPaddingBlockEnd: "space";
|
|
3245
|
+
scrollPaddingBlockStart: "space";
|
|
3246
|
+
scrollPaddingInline: "space";
|
|
3247
|
+
scrollPaddingInlineEnd: "space";
|
|
3248
|
+
scrollPaddingInlineStart: "space";
|
|
3249
|
+
top: "space";
|
|
3250
|
+
right: "space";
|
|
3251
|
+
bottom: "space";
|
|
3252
|
+
left: "space";
|
|
3253
|
+
fontSize: "fontSizes";
|
|
3254
|
+
background: "colors";
|
|
3255
|
+
backgroundColor: "colors";
|
|
3256
|
+
backgroundImage: "colors";
|
|
3257
|
+
borderImage: "colors";
|
|
3258
|
+
border: "colors";
|
|
3259
|
+
borderBlock: "colors";
|
|
3260
|
+
borderBlockEnd: "colors";
|
|
3261
|
+
borderBlockStart: "colors";
|
|
3262
|
+
borderBottom: "colors";
|
|
3263
|
+
borderBottomColor: "colors";
|
|
3264
|
+
borderColor: "colors";
|
|
3265
|
+
borderInline: "colors";
|
|
3266
|
+
borderInlineEnd: "colors";
|
|
3267
|
+
borderInlineStart: "colors";
|
|
3268
|
+
borderLeft: "colors";
|
|
3269
|
+
borderLeftColor: "colors";
|
|
3270
|
+
borderRight: "colors";
|
|
3271
|
+
borderRightColor: "colors";
|
|
3272
|
+
borderTop: "colors";
|
|
3273
|
+
borderTopColor: "colors";
|
|
3274
|
+
caretColor: "colors";
|
|
3275
|
+
color: "colors";
|
|
3276
|
+
columnRuleColor: "colors";
|
|
3277
|
+
outline: "colors";
|
|
3278
|
+
outlineColor: "colors";
|
|
3279
|
+
fill: "colors";
|
|
3280
|
+
stroke: "colors";
|
|
3281
|
+
textDecorationColor: "colors";
|
|
3282
|
+
fontFamily: "fonts";
|
|
3283
|
+
fontWeight: "fontWeights";
|
|
3284
|
+
lineHeight: "lineHeights";
|
|
3285
|
+
letterSpacing: "letterSpacings";
|
|
3286
|
+
blockSize: "sizes";
|
|
3287
|
+
minBlockSize: "sizes";
|
|
3288
|
+
maxBlockSize: "sizes";
|
|
3289
|
+
inlineSize: "sizes";
|
|
3290
|
+
minInlineSize: "sizes";
|
|
3291
|
+
maxInlineSize: "sizes";
|
|
3292
|
+
minWidth: "sizes";
|
|
3293
|
+
maxWidth: "sizes";
|
|
3294
|
+
minHeight: "sizes";
|
|
3295
|
+
maxHeight: "sizes";
|
|
3296
|
+
flexBasis: "sizes";
|
|
3297
|
+
gridTemplateColumns: "sizes";
|
|
3298
|
+
gridTemplateRows: "sizes";
|
|
3299
|
+
borderWidth: "borderWidths";
|
|
3300
|
+
borderTopWidth: "borderWidths";
|
|
3301
|
+
borderLeftWidth: "borderWidths";
|
|
3302
|
+
borderRightWidth: "borderWidths";
|
|
3303
|
+
borderBottomWidth: "borderWidths";
|
|
3304
|
+
borderStyle: "borderStyles";
|
|
3305
|
+
borderTopStyle: "borderStyles";
|
|
3306
|
+
borderLeftStyle: "borderStyles";
|
|
3307
|
+
borderRightStyle: "borderStyles";
|
|
3308
|
+
borderBottomStyle: "borderStyles";
|
|
3309
|
+
borderRadius: "radii";
|
|
3310
|
+
borderTopLeftRadius: "radii";
|
|
3311
|
+
borderTopRightRadius: "radii";
|
|
3312
|
+
borderBottomRightRadius: "radii";
|
|
3313
|
+
borderBottomLeftRadius: "radii";
|
|
3314
|
+
boxShadow: "shadows";
|
|
3315
|
+
textShadow: "shadows";
|
|
3316
|
+
transition: "transitions";
|
|
3317
|
+
zIndex: "zIndices";
|
|
3318
|
+
}, {}>>;
|
|
3319
|
+
declare const DropdownItem: react__default.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuItemProps & react__default.RefAttributes<HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
3320
|
+
|
|
3093
3321
|
declare const StyledButton: _stitches_react_types_styled_component.StyledComponent<"button", {
|
|
3094
3322
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
3095
3323
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
@@ -3314,10 +3542,10 @@ declare const StyledButton: _stitches_react_types_styled_component.StyledCompone
|
|
|
3314
3542
|
transition: "transitions";
|
|
3315
3543
|
zIndex: "zIndices";
|
|
3316
3544
|
}, {}>>;
|
|
3317
|
-
type CustomCSS$
|
|
3545
|
+
type CustomCSS$4 = CSS<typeof config>;
|
|
3318
3546
|
interface ButtonProps extends ComponentPropsWithoutRef<'button'>, VariantProps<typeof StyledButton> {
|
|
3319
3547
|
as?: ElementType;
|
|
3320
|
-
css?: CustomCSS$
|
|
3548
|
+
css?: CustomCSS$4;
|
|
3321
3549
|
children?: React.ReactNode;
|
|
3322
3550
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
3323
3551
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -3326,10 +3554,10 @@ interface ButtonProps extends ComponentPropsWithoutRef<'button'>, VariantProps<t
|
|
|
3326
3554
|
}
|
|
3327
3555
|
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3328
3556
|
|
|
3329
|
-
type CustomCSS$
|
|
3557
|
+
type CustomCSS$3 = CSS<typeof config>;
|
|
3330
3558
|
interface BoxProps extends ComponentPropsWithoutRef<'div'>, VariantProps<typeof Box> {
|
|
3331
3559
|
as?: ElementType;
|
|
3332
|
-
css?: CustomCSS$
|
|
3560
|
+
css?: CustomCSS$3;
|
|
3333
3561
|
variant?: 'gray' | 'white';
|
|
3334
3562
|
children?: React.ReactNode;
|
|
3335
3563
|
}
|
|
@@ -3338,10 +3566,233 @@ declare const Box: {
|
|
|
3338
3566
|
displayName: string;
|
|
3339
3567
|
};
|
|
3340
3568
|
|
|
3341
|
-
|
|
3342
|
-
|
|
3569
|
+
declare const StyledParagraph: _stitches_react_types_styled_component.StyledComponent<"p", {
|
|
3570
|
+
size?: "sm" | "md" | "lg" | "xxs" | "xs" | "xl" | "2xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | undefined;
|
|
3571
|
+
wheight?: "regular" | "medium" | "bold" | undefined;
|
|
3572
|
+
lineHeight?: "regular" | "shorter" | "short" | "base" | "tall" | undefined;
|
|
3573
|
+
}, {
|
|
3574
|
+
sm: "(min-width: 375px)";
|
|
3575
|
+
md: "(min-width: 768px)";
|
|
3576
|
+
lg: "(min-width: 1024px)";
|
|
3577
|
+
}, _stitches_react_types_css_util.CSS<{
|
|
3578
|
+
sm: "(min-width: 375px)";
|
|
3579
|
+
md: "(min-width: 768px)";
|
|
3580
|
+
lg: "(min-width: 1024px)";
|
|
3581
|
+
}, {
|
|
3582
|
+
colors: {
|
|
3583
|
+
white: string;
|
|
3584
|
+
black: string;
|
|
3585
|
+
gray_background: string;
|
|
3586
|
+
gray_light: string;
|
|
3587
|
+
gray_mid: string;
|
|
3588
|
+
gray_dark: string;
|
|
3589
|
+
clickpalm_light: string;
|
|
3590
|
+
clickpalm_mid: string;
|
|
3591
|
+
clickpalm_dark: string;
|
|
3592
|
+
clickpalm_superDark: string;
|
|
3593
|
+
ignite_light: string;
|
|
3594
|
+
ignite_dark: string;
|
|
3595
|
+
success: string;
|
|
3596
|
+
success_dark: string;
|
|
3597
|
+
warning: string;
|
|
3598
|
+
warning_dark: string;
|
|
3599
|
+
danger: string;
|
|
3600
|
+
danger_dark: string;
|
|
3601
|
+
};
|
|
3602
|
+
fontSizes: {
|
|
3603
|
+
xxs: string;
|
|
3604
|
+
xs: string;
|
|
3605
|
+
sm: string;
|
|
3606
|
+
md: string;
|
|
3607
|
+
lg: string;
|
|
3608
|
+
xl: string;
|
|
3609
|
+
'2xl': string;
|
|
3610
|
+
'4xl': string;
|
|
3611
|
+
'5xl': string;
|
|
3612
|
+
'6xl': string;
|
|
3613
|
+
'7xl': string;
|
|
3614
|
+
'8xl': string;
|
|
3615
|
+
'9xl': string;
|
|
3616
|
+
};
|
|
3617
|
+
fontWeights: {
|
|
3618
|
+
regular: string;
|
|
3619
|
+
medium: string;
|
|
3620
|
+
bold: string;
|
|
3621
|
+
};
|
|
3622
|
+
fonts: {
|
|
3623
|
+
default: string;
|
|
3624
|
+
code: string;
|
|
3625
|
+
};
|
|
3626
|
+
lineHeights: {
|
|
3627
|
+
regular: string;
|
|
3628
|
+
shorter: string;
|
|
3629
|
+
short: string;
|
|
3630
|
+
base: string;
|
|
3631
|
+
tall: string;
|
|
3632
|
+
};
|
|
3633
|
+
radii: {
|
|
3634
|
+
px: string;
|
|
3635
|
+
xs: string;
|
|
3636
|
+
sm: string;
|
|
3637
|
+
md: string;
|
|
3638
|
+
lg: string;
|
|
3639
|
+
full: string;
|
|
3640
|
+
};
|
|
3641
|
+
space: {
|
|
3642
|
+
1: string;
|
|
3643
|
+
2: string;
|
|
3644
|
+
3: string;
|
|
3645
|
+
4: string;
|
|
3646
|
+
5: string;
|
|
3647
|
+
6: string;
|
|
3648
|
+
7: string;
|
|
3649
|
+
8: string;
|
|
3650
|
+
10: string;
|
|
3651
|
+
11: string;
|
|
3652
|
+
12: string;
|
|
3653
|
+
14: string;
|
|
3654
|
+
16: string;
|
|
3655
|
+
19: string;
|
|
3656
|
+
20: string;
|
|
3657
|
+
22: string;
|
|
3658
|
+
40: string;
|
|
3659
|
+
64: string;
|
|
3660
|
+
80: string;
|
|
3661
|
+
};
|
|
3662
|
+
}, {
|
|
3663
|
+
height: "space";
|
|
3664
|
+
width: "space";
|
|
3665
|
+
gap: "space";
|
|
3666
|
+
gridGap: "space";
|
|
3667
|
+
columnGap: "space";
|
|
3668
|
+
gridColumnGap: "space";
|
|
3669
|
+
rowGap: "space";
|
|
3670
|
+
gridRowGap: "space";
|
|
3671
|
+
inset: "space";
|
|
3672
|
+
insetBlock: "space";
|
|
3673
|
+
insetBlockEnd: "space";
|
|
3674
|
+
insetBlockStart: "space";
|
|
3675
|
+
insetInline: "space";
|
|
3676
|
+
insetInlineEnd: "space";
|
|
3677
|
+
insetInlineStart: "space";
|
|
3678
|
+
margin: "space";
|
|
3679
|
+
marginTop: "space";
|
|
3680
|
+
marginRight: "space";
|
|
3681
|
+
marginBottom: "space";
|
|
3682
|
+
marginLeft: "space";
|
|
3683
|
+
marginBlock: "space";
|
|
3684
|
+
marginBlockEnd: "space";
|
|
3685
|
+
marginBlockStart: "space";
|
|
3686
|
+
marginInline: "space";
|
|
3687
|
+
marginInlineEnd: "space";
|
|
3688
|
+
marginInlineStart: "space";
|
|
3689
|
+
padding: "space";
|
|
3690
|
+
paddingTop: "space";
|
|
3691
|
+
paddingRight: "space";
|
|
3692
|
+
paddingBottom: "space";
|
|
3693
|
+
paddingLeft: "space";
|
|
3694
|
+
paddingBlock: "space";
|
|
3695
|
+
paddingBlockEnd: "space";
|
|
3696
|
+
paddingBlockStart: "space";
|
|
3697
|
+
paddingInline: "space";
|
|
3698
|
+
paddingInlineEnd: "space";
|
|
3699
|
+
paddingInlineStart: "space";
|
|
3700
|
+
scrollMargin: "space";
|
|
3701
|
+
scrollMarginTop: "space";
|
|
3702
|
+
scrollMarginRight: "space";
|
|
3703
|
+
scrollMarginBottom: "space";
|
|
3704
|
+
scrollMarginLeft: "space";
|
|
3705
|
+
scrollMarginBlock: "space";
|
|
3706
|
+
scrollMarginBlockEnd: "space";
|
|
3707
|
+
scrollMarginBlockStart: "space";
|
|
3708
|
+
scrollMarginInline: "space";
|
|
3709
|
+
scrollMarginInlineEnd: "space";
|
|
3710
|
+
scrollMarginInlineStart: "space";
|
|
3711
|
+
scrollPadding: "space";
|
|
3712
|
+
scrollPaddingTop: "space";
|
|
3713
|
+
scrollPaddingRight: "space";
|
|
3714
|
+
scrollPaddingBottom: "space";
|
|
3715
|
+
scrollPaddingLeft: "space";
|
|
3716
|
+
scrollPaddingBlock: "space";
|
|
3717
|
+
scrollPaddingBlockEnd: "space";
|
|
3718
|
+
scrollPaddingBlockStart: "space";
|
|
3719
|
+
scrollPaddingInline: "space";
|
|
3720
|
+
scrollPaddingInlineEnd: "space";
|
|
3721
|
+
scrollPaddingInlineStart: "space";
|
|
3722
|
+
top: "space";
|
|
3723
|
+
right: "space";
|
|
3724
|
+
bottom: "space";
|
|
3725
|
+
left: "space";
|
|
3726
|
+
fontSize: "fontSizes";
|
|
3727
|
+
background: "colors";
|
|
3728
|
+
backgroundColor: "colors";
|
|
3729
|
+
backgroundImage: "colors";
|
|
3730
|
+
borderImage: "colors";
|
|
3731
|
+
border: "colors";
|
|
3732
|
+
borderBlock: "colors";
|
|
3733
|
+
borderBlockEnd: "colors";
|
|
3734
|
+
borderBlockStart: "colors";
|
|
3735
|
+
borderBottom: "colors";
|
|
3736
|
+
borderBottomColor: "colors";
|
|
3737
|
+
borderColor: "colors";
|
|
3738
|
+
borderInline: "colors";
|
|
3739
|
+
borderInlineEnd: "colors";
|
|
3740
|
+
borderInlineStart: "colors";
|
|
3741
|
+
borderLeft: "colors";
|
|
3742
|
+
borderLeftColor: "colors";
|
|
3743
|
+
borderRight: "colors";
|
|
3744
|
+
borderRightColor: "colors";
|
|
3745
|
+
borderTop: "colors";
|
|
3746
|
+
borderTopColor: "colors";
|
|
3747
|
+
caretColor: "colors";
|
|
3748
|
+
color: "colors";
|
|
3749
|
+
columnRuleColor: "colors";
|
|
3750
|
+
outline: "colors";
|
|
3751
|
+
outlineColor: "colors";
|
|
3752
|
+
fill: "colors";
|
|
3753
|
+
stroke: "colors";
|
|
3754
|
+
textDecorationColor: "colors";
|
|
3755
|
+
fontFamily: "fonts";
|
|
3756
|
+
fontWeight: "fontWeights";
|
|
3757
|
+
lineHeight: "lineHeights";
|
|
3758
|
+
letterSpacing: "letterSpacings";
|
|
3759
|
+
blockSize: "sizes";
|
|
3760
|
+
minBlockSize: "sizes";
|
|
3761
|
+
maxBlockSize: "sizes";
|
|
3762
|
+
inlineSize: "sizes";
|
|
3763
|
+
minInlineSize: "sizes";
|
|
3764
|
+
maxInlineSize: "sizes";
|
|
3765
|
+
minWidth: "sizes";
|
|
3766
|
+
maxWidth: "sizes";
|
|
3767
|
+
minHeight: "sizes";
|
|
3768
|
+
maxHeight: "sizes";
|
|
3769
|
+
flexBasis: "sizes";
|
|
3770
|
+
gridTemplateColumns: "sizes";
|
|
3771
|
+
gridTemplateRows: "sizes";
|
|
3772
|
+
borderWidth: "borderWidths";
|
|
3773
|
+
borderTopWidth: "borderWidths";
|
|
3774
|
+
borderLeftWidth: "borderWidths";
|
|
3775
|
+
borderRightWidth: "borderWidths";
|
|
3776
|
+
borderBottomWidth: "borderWidths";
|
|
3777
|
+
borderStyle: "borderStyles";
|
|
3778
|
+
borderTopStyle: "borderStyles";
|
|
3779
|
+
borderLeftStyle: "borderStyles";
|
|
3780
|
+
borderRightStyle: "borderStyles";
|
|
3781
|
+
borderBottomStyle: "borderStyles";
|
|
3782
|
+
borderRadius: "radii";
|
|
3783
|
+
borderTopLeftRadius: "radii";
|
|
3784
|
+
borderTopRightRadius: "radii";
|
|
3785
|
+
borderBottomRightRadius: "radii";
|
|
3786
|
+
borderBottomLeftRadius: "radii";
|
|
3787
|
+
boxShadow: "shadows";
|
|
3788
|
+
textShadow: "shadows";
|
|
3789
|
+
transition: "transitions";
|
|
3790
|
+
zIndex: "zIndices";
|
|
3791
|
+
}, {}>>;
|
|
3792
|
+
type CustomCSS$2 = CSS<typeof config>;
|
|
3793
|
+
interface ParagraphProps extends ComponentPropsWithoutRef<'p'>, VariantProps<typeof StyledParagraph> {
|
|
3343
3794
|
as?: ElementType;
|
|
3344
|
-
css?: CustomCSS$
|
|
3795
|
+
css?: CustomCSS$2;
|
|
3345
3796
|
size?: "sm" | "md" | "lg" | "xxs" | "xs" | "xl" | "2xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
3346
3797
|
wheight?: "regular" | "medium" | "bold";
|
|
3347
3798
|
lineHeight?: "regular" | "shorter" | "short" | "base" | "tall";
|
|
@@ -3572,10 +4023,10 @@ declare const StyledHeading: _stitches_react_types_styled_component.StyledCompon
|
|
|
3572
4023
|
transition: "transitions";
|
|
3573
4024
|
zIndex: "zIndices";
|
|
3574
4025
|
}, {}>>;
|
|
3575
|
-
type CustomCSS = CSS<typeof config>;
|
|
4026
|
+
type CustomCSS$1 = CSS<typeof config>;
|
|
3576
4027
|
interface HeadingProps extends ComponentPropsWithoutRef<'h2'>, VariantProps<typeof StyledHeading> {
|
|
3577
4028
|
as?: ElementType;
|
|
3578
|
-
css?: CustomCSS;
|
|
4029
|
+
css?: CustomCSS$1;
|
|
3579
4030
|
children?: React.ReactNode;
|
|
3580
4031
|
size?: 'sm' | 'md' | 'lg' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
3581
4032
|
}
|
|
@@ -3585,16 +4036,17 @@ interface SelectItem {
|
|
|
3585
4036
|
value: string;
|
|
3586
4037
|
label: string;
|
|
3587
4038
|
}
|
|
4039
|
+
type CustomCSS = CSS<typeof config>;
|
|
3588
4040
|
interface SelectProps extends ComponentProps<typeof CustomSelect.Root> {
|
|
3589
4041
|
items: SelectItem[];
|
|
3590
4042
|
placeholder?: string;
|
|
3591
4043
|
label?: string;
|
|
3592
4044
|
errorMessage?: string;
|
|
4045
|
+
css?: CustomCSS;
|
|
4046
|
+
className?: string;
|
|
4047
|
+
style?: CSSProperties;
|
|
3593
4048
|
}
|
|
3594
|
-
declare
|
|
3595
|
-
declare namespace Select {
|
|
3596
|
-
var displayName: string;
|
|
3597
|
-
}
|
|
4049
|
+
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3598
4050
|
|
|
3599
4051
|
interface LabelledValueProps {
|
|
3600
4052
|
position?: 'vertical' | 'horizontal';
|
|
@@ -3676,4 +4128,11 @@ interface CarouselItemProps {
|
|
|
3676
4128
|
type PasswordInputProps = Omit<TextInputProps, 'type' | 'suffix'>;
|
|
3677
4129
|
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
3678
4130
|
|
|
3679
|
-
|
|
4131
|
+
interface AccordionProps {
|
|
4132
|
+
title: string;
|
|
4133
|
+
children: ReactNode;
|
|
4134
|
+
dropdownItems?: ReactNode;
|
|
4135
|
+
}
|
|
4136
|
+
declare const Accordion: react__default.ForwardRefExoticComponent<AccordionProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
4137
|
+
|
|
4138
|
+
export { Accordion, Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Dropdown, DropdownItem, DropdownItemProps, DropdownSeparator, Heading, HeadingProps, Hr, HrProps, Icon, IconProps, Input, LabelledValue, LabelledValueProps, Loader, MaskType, MaskedInput, MaskedInputProps, Modal, MultiStep, MultiStepProps, OneTimePassword, OneTimePasswordProps, Paragraph, ParagraphProps, PasswordInput, PasswordInputProps, ProgressBar, ProgressBarProps, Radio, RadioProps, Select, SelectProps, Spacing, Span, StyledHr, Switch, SwitchProps, Tabs, TextArea, TextAreaElement, TextAreaProps, TextInputProps, Toast, Tooltip, TooltipProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme, toast };
|