@clickpalm/react 1.1.2 → 1.2.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 CHANGED
@@ -11,6 +11,7 @@ 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
 
@@ -3090,6 +3091,452 @@ interface MaskedInputProps extends TextInputProps {
3090
3091
  }
3091
3092
  declare const MaskedInput: react__default.ForwardRefExoticComponent<MaskedInputProps & react__default.RefAttributes<HTMLInputElement>>;
3092
3093
 
3094
+ interface DropdownProps {
3095
+ children: react__default.ReactNode;
3096
+ }
3097
+ declare const Dropdown: {
3098
+ ({ children }: DropdownProps): react_jsx_runtime.JSX.Element;
3099
+ displayName: string;
3100
+ };
3101
+ declare const DropdownItem: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuItemProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
3102
+ sm: "(min-width: 375px)";
3103
+ md: "(min-width: 768px)";
3104
+ lg: "(min-width: 1024px)";
3105
+ }, _stitches_react_types_css_util.CSS<{
3106
+ sm: "(min-width: 375px)";
3107
+ md: "(min-width: 768px)";
3108
+ lg: "(min-width: 1024px)";
3109
+ }, {
3110
+ colors: {
3111
+ white: string;
3112
+ black: string;
3113
+ gray_background: string;
3114
+ gray_light: string;
3115
+ gray_mid: string;
3116
+ gray_dark: string;
3117
+ clickpalm_light: string;
3118
+ clickpalm_mid: string;
3119
+ clickpalm_dark: string;
3120
+ clickpalm_superDark: string;
3121
+ ignite_light: string;
3122
+ ignite_dark: string;
3123
+ success: string;
3124
+ success_dark: string;
3125
+ warning: string;
3126
+ warning_dark: string;
3127
+ danger: string;
3128
+ danger_dark: string;
3129
+ };
3130
+ fontSizes: {
3131
+ xxs: string;
3132
+ xs: string;
3133
+ sm: string;
3134
+ md: string;
3135
+ lg: string;
3136
+ xl: string;
3137
+ '2xl': string;
3138
+ '4xl': string;
3139
+ '5xl': string;
3140
+ '6xl': string;
3141
+ '7xl': string;
3142
+ '8xl': string;
3143
+ '9xl': string;
3144
+ };
3145
+ fontWeights: {
3146
+ regular: string;
3147
+ medium: string;
3148
+ bold: string;
3149
+ };
3150
+ fonts: {
3151
+ default: string;
3152
+ code: string;
3153
+ };
3154
+ lineHeights: {
3155
+ regular: string;
3156
+ shorter: string;
3157
+ short: string;
3158
+ base: string;
3159
+ tall: string;
3160
+ };
3161
+ radii: {
3162
+ px: string;
3163
+ xs: string;
3164
+ sm: string;
3165
+ md: string;
3166
+ lg: string;
3167
+ full: string;
3168
+ };
3169
+ space: {
3170
+ 1: string;
3171
+ 2: string;
3172
+ 3: string;
3173
+ 4: string;
3174
+ 5: string;
3175
+ 6: string;
3176
+ 7: string;
3177
+ 8: string;
3178
+ 10: string;
3179
+ 11: string;
3180
+ 12: string;
3181
+ 14: string;
3182
+ 16: string;
3183
+ 19: string;
3184
+ 20: string;
3185
+ 22: string;
3186
+ 40: string;
3187
+ 64: string;
3188
+ 80: string;
3189
+ };
3190
+ }, {
3191
+ height: "space";
3192
+ width: "space";
3193
+ gap: "space";
3194
+ gridGap: "space";
3195
+ columnGap: "space";
3196
+ gridColumnGap: "space";
3197
+ rowGap: "space";
3198
+ gridRowGap: "space";
3199
+ inset: "space";
3200
+ insetBlock: "space";
3201
+ insetBlockEnd: "space";
3202
+ insetBlockStart: "space";
3203
+ insetInline: "space";
3204
+ insetInlineEnd: "space";
3205
+ insetInlineStart: "space";
3206
+ margin: "space";
3207
+ marginTop: "space";
3208
+ marginRight: "space";
3209
+ marginBottom: "space";
3210
+ marginLeft: "space";
3211
+ marginBlock: "space";
3212
+ marginBlockEnd: "space";
3213
+ marginBlockStart: "space";
3214
+ marginInline: "space";
3215
+ marginInlineEnd: "space";
3216
+ marginInlineStart: "space";
3217
+ padding: "space";
3218
+ paddingTop: "space";
3219
+ paddingRight: "space";
3220
+ paddingBottom: "space";
3221
+ paddingLeft: "space";
3222
+ paddingBlock: "space";
3223
+ paddingBlockEnd: "space";
3224
+ paddingBlockStart: "space";
3225
+ paddingInline: "space";
3226
+ paddingInlineEnd: "space";
3227
+ paddingInlineStart: "space";
3228
+ scrollMargin: "space";
3229
+ scrollMarginTop: "space";
3230
+ scrollMarginRight: "space";
3231
+ scrollMarginBottom: "space";
3232
+ scrollMarginLeft: "space";
3233
+ scrollMarginBlock: "space";
3234
+ scrollMarginBlockEnd: "space";
3235
+ scrollMarginBlockStart: "space";
3236
+ scrollMarginInline: "space";
3237
+ scrollMarginInlineEnd: "space";
3238
+ scrollMarginInlineStart: "space";
3239
+ scrollPadding: "space";
3240
+ scrollPaddingTop: "space";
3241
+ scrollPaddingRight: "space";
3242
+ scrollPaddingBottom: "space";
3243
+ scrollPaddingLeft: "space";
3244
+ scrollPaddingBlock: "space";
3245
+ scrollPaddingBlockEnd: "space";
3246
+ scrollPaddingBlockStart: "space";
3247
+ scrollPaddingInline: "space";
3248
+ scrollPaddingInlineEnd: "space";
3249
+ scrollPaddingInlineStart: "space";
3250
+ top: "space";
3251
+ right: "space";
3252
+ bottom: "space";
3253
+ left: "space";
3254
+ fontSize: "fontSizes";
3255
+ background: "colors";
3256
+ backgroundColor: "colors";
3257
+ backgroundImage: "colors";
3258
+ borderImage: "colors";
3259
+ border: "colors";
3260
+ borderBlock: "colors";
3261
+ borderBlockEnd: "colors";
3262
+ borderBlockStart: "colors";
3263
+ borderBottom: "colors";
3264
+ borderBottomColor: "colors";
3265
+ borderColor: "colors";
3266
+ borderInline: "colors";
3267
+ borderInlineEnd: "colors";
3268
+ borderInlineStart: "colors";
3269
+ borderLeft: "colors";
3270
+ borderLeftColor: "colors";
3271
+ borderRight: "colors";
3272
+ borderRightColor: "colors";
3273
+ borderTop: "colors";
3274
+ borderTopColor: "colors";
3275
+ caretColor: "colors";
3276
+ color: "colors";
3277
+ columnRuleColor: "colors";
3278
+ outline: "colors";
3279
+ outlineColor: "colors";
3280
+ fill: "colors";
3281
+ stroke: "colors";
3282
+ textDecorationColor: "colors";
3283
+ fontFamily: "fonts";
3284
+ fontWeight: "fontWeights";
3285
+ lineHeight: "lineHeights";
3286
+ letterSpacing: "letterSpacings";
3287
+ blockSize: "sizes";
3288
+ minBlockSize: "sizes";
3289
+ maxBlockSize: "sizes";
3290
+ inlineSize: "sizes";
3291
+ minInlineSize: "sizes";
3292
+ maxInlineSize: "sizes";
3293
+ minWidth: "sizes";
3294
+ maxWidth: "sizes";
3295
+ minHeight: "sizes";
3296
+ maxHeight: "sizes";
3297
+ flexBasis: "sizes";
3298
+ gridTemplateColumns: "sizes";
3299
+ gridTemplateRows: "sizes";
3300
+ borderWidth: "borderWidths";
3301
+ borderTopWidth: "borderWidths";
3302
+ borderLeftWidth: "borderWidths";
3303
+ borderRightWidth: "borderWidths";
3304
+ borderBottomWidth: "borderWidths";
3305
+ borderStyle: "borderStyles";
3306
+ borderTopStyle: "borderStyles";
3307
+ borderLeftStyle: "borderStyles";
3308
+ borderRightStyle: "borderStyles";
3309
+ borderBottomStyle: "borderStyles";
3310
+ borderRadius: "radii";
3311
+ borderTopLeftRadius: "radii";
3312
+ borderTopRightRadius: "radii";
3313
+ borderBottomRightRadius: "radii";
3314
+ borderBottomLeftRadius: "radii";
3315
+ boxShadow: "shadows";
3316
+ textShadow: "shadows";
3317
+ transition: "transitions";
3318
+ zIndex: "zIndices";
3319
+ }, {}>>;
3320
+ declare const DropdownSeparator: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuSeparatorProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
3321
+ sm: "(min-width: 375px)";
3322
+ md: "(min-width: 768px)";
3323
+ lg: "(min-width: 1024px)";
3324
+ }, _stitches_react_types_css_util.CSS<{
3325
+ sm: "(min-width: 375px)";
3326
+ md: "(min-width: 768px)";
3327
+ lg: "(min-width: 1024px)";
3328
+ }, {
3329
+ colors: {
3330
+ white: string;
3331
+ black: string;
3332
+ gray_background: string;
3333
+ gray_light: string;
3334
+ gray_mid: string;
3335
+ gray_dark: string;
3336
+ clickpalm_light: string;
3337
+ clickpalm_mid: string;
3338
+ clickpalm_dark: string;
3339
+ clickpalm_superDark: string;
3340
+ ignite_light: string;
3341
+ ignite_dark: string;
3342
+ success: string;
3343
+ success_dark: string;
3344
+ warning: string;
3345
+ warning_dark: string;
3346
+ danger: string;
3347
+ danger_dark: string;
3348
+ };
3349
+ fontSizes: {
3350
+ xxs: string;
3351
+ xs: string;
3352
+ sm: string;
3353
+ md: string;
3354
+ lg: string;
3355
+ xl: string;
3356
+ '2xl': string;
3357
+ '4xl': string;
3358
+ '5xl': string;
3359
+ '6xl': string;
3360
+ '7xl': string;
3361
+ '8xl': string;
3362
+ '9xl': string;
3363
+ };
3364
+ fontWeights: {
3365
+ regular: string;
3366
+ medium: string;
3367
+ bold: string;
3368
+ };
3369
+ fonts: {
3370
+ default: string;
3371
+ code: string;
3372
+ };
3373
+ lineHeights: {
3374
+ regular: string;
3375
+ shorter: string;
3376
+ short: string;
3377
+ base: string;
3378
+ tall: string;
3379
+ };
3380
+ radii: {
3381
+ px: string;
3382
+ xs: string;
3383
+ sm: string;
3384
+ md: string;
3385
+ lg: string;
3386
+ full: string;
3387
+ };
3388
+ space: {
3389
+ 1: string;
3390
+ 2: string;
3391
+ 3: string;
3392
+ 4: string;
3393
+ 5: string;
3394
+ 6: string;
3395
+ 7: string;
3396
+ 8: string;
3397
+ 10: string;
3398
+ 11: string;
3399
+ 12: string;
3400
+ 14: string;
3401
+ 16: string;
3402
+ 19: string;
3403
+ 20: string;
3404
+ 22: string;
3405
+ 40: string;
3406
+ 64: string;
3407
+ 80: string;
3408
+ };
3409
+ }, {
3410
+ height: "space";
3411
+ width: "space";
3412
+ gap: "space";
3413
+ gridGap: "space";
3414
+ columnGap: "space";
3415
+ gridColumnGap: "space";
3416
+ rowGap: "space";
3417
+ gridRowGap: "space";
3418
+ inset: "space";
3419
+ insetBlock: "space";
3420
+ insetBlockEnd: "space";
3421
+ insetBlockStart: "space";
3422
+ insetInline: "space";
3423
+ insetInlineEnd: "space";
3424
+ insetInlineStart: "space";
3425
+ margin: "space";
3426
+ marginTop: "space";
3427
+ marginRight: "space";
3428
+ marginBottom: "space";
3429
+ marginLeft: "space";
3430
+ marginBlock: "space";
3431
+ marginBlockEnd: "space";
3432
+ marginBlockStart: "space";
3433
+ marginInline: "space";
3434
+ marginInlineEnd: "space";
3435
+ marginInlineStart: "space";
3436
+ padding: "space";
3437
+ paddingTop: "space";
3438
+ paddingRight: "space";
3439
+ paddingBottom: "space";
3440
+ paddingLeft: "space";
3441
+ paddingBlock: "space";
3442
+ paddingBlockEnd: "space";
3443
+ paddingBlockStart: "space";
3444
+ paddingInline: "space";
3445
+ paddingInlineEnd: "space";
3446
+ paddingInlineStart: "space";
3447
+ scrollMargin: "space";
3448
+ scrollMarginTop: "space";
3449
+ scrollMarginRight: "space";
3450
+ scrollMarginBottom: "space";
3451
+ scrollMarginLeft: "space";
3452
+ scrollMarginBlock: "space";
3453
+ scrollMarginBlockEnd: "space";
3454
+ scrollMarginBlockStart: "space";
3455
+ scrollMarginInline: "space";
3456
+ scrollMarginInlineEnd: "space";
3457
+ scrollMarginInlineStart: "space";
3458
+ scrollPadding: "space";
3459
+ scrollPaddingTop: "space";
3460
+ scrollPaddingRight: "space";
3461
+ scrollPaddingBottom: "space";
3462
+ scrollPaddingLeft: "space";
3463
+ scrollPaddingBlock: "space";
3464
+ scrollPaddingBlockEnd: "space";
3465
+ scrollPaddingBlockStart: "space";
3466
+ scrollPaddingInline: "space";
3467
+ scrollPaddingInlineEnd: "space";
3468
+ scrollPaddingInlineStart: "space";
3469
+ top: "space";
3470
+ right: "space";
3471
+ bottom: "space";
3472
+ left: "space";
3473
+ fontSize: "fontSizes";
3474
+ background: "colors";
3475
+ backgroundColor: "colors";
3476
+ backgroundImage: "colors";
3477
+ borderImage: "colors";
3478
+ border: "colors";
3479
+ borderBlock: "colors";
3480
+ borderBlockEnd: "colors";
3481
+ borderBlockStart: "colors";
3482
+ borderBottom: "colors";
3483
+ borderBottomColor: "colors";
3484
+ borderColor: "colors";
3485
+ borderInline: "colors";
3486
+ borderInlineEnd: "colors";
3487
+ borderInlineStart: "colors";
3488
+ borderLeft: "colors";
3489
+ borderLeftColor: "colors";
3490
+ borderRight: "colors";
3491
+ borderRightColor: "colors";
3492
+ borderTop: "colors";
3493
+ borderTopColor: "colors";
3494
+ caretColor: "colors";
3495
+ color: "colors";
3496
+ columnRuleColor: "colors";
3497
+ outline: "colors";
3498
+ outlineColor: "colors";
3499
+ fill: "colors";
3500
+ stroke: "colors";
3501
+ textDecorationColor: "colors";
3502
+ fontFamily: "fonts";
3503
+ fontWeight: "fontWeights";
3504
+ lineHeight: "lineHeights";
3505
+ letterSpacing: "letterSpacings";
3506
+ blockSize: "sizes";
3507
+ minBlockSize: "sizes";
3508
+ maxBlockSize: "sizes";
3509
+ inlineSize: "sizes";
3510
+ minInlineSize: "sizes";
3511
+ maxInlineSize: "sizes";
3512
+ minWidth: "sizes";
3513
+ maxWidth: "sizes";
3514
+ minHeight: "sizes";
3515
+ maxHeight: "sizes";
3516
+ flexBasis: "sizes";
3517
+ gridTemplateColumns: "sizes";
3518
+ gridTemplateRows: "sizes";
3519
+ borderWidth: "borderWidths";
3520
+ borderTopWidth: "borderWidths";
3521
+ borderLeftWidth: "borderWidths";
3522
+ borderRightWidth: "borderWidths";
3523
+ borderBottomWidth: "borderWidths";
3524
+ borderStyle: "borderStyles";
3525
+ borderTopStyle: "borderStyles";
3526
+ borderLeftStyle: "borderStyles";
3527
+ borderRightStyle: "borderStyles";
3528
+ borderBottomStyle: "borderStyles";
3529
+ borderRadius: "radii";
3530
+ borderTopLeftRadius: "radii";
3531
+ borderTopRightRadius: "radii";
3532
+ borderBottomRightRadius: "radii";
3533
+ borderBottomLeftRadius: "radii";
3534
+ boxShadow: "shadows";
3535
+ textShadow: "shadows";
3536
+ transition: "transitions";
3537
+ zIndex: "zIndices";
3538
+ }, {}>>;
3539
+
3093
3540
  declare const StyledButton: _stitches_react_types_styled_component.StyledComponent<"button", {
3094
3541
  variant?: "primary" | "secondary" | "tertiary" | undefined;
3095
3542
  size?: "sm" | "md" | "lg" | "xs" | undefined;
@@ -3676,4 +4123,11 @@ interface CarouselItemProps {
3676
4123
  type PasswordInputProps = Omit<TextInputProps, 'type' | 'suffix'>;
3677
4124
  declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
3678
4125
 
3679
- export { Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, 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 };
4126
+ interface AccordionProps {
4127
+ title: string;
4128
+ children: ReactNode;
4129
+ dropdownItems?: ReactNode;
4130
+ }
4131
+ declare const Accordion: react__default.ForwardRefExoticComponent<AccordionProps & react__default.RefAttributes<HTMLDivElement>>;
4132
+
4133
+ export { Accordion, Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Dropdown, DropdownItem, 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 };