dash-ui-kit 1.0.6 → 1.0.8

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export interface BadgeProps {
2
+ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
3
3
  /**
4
4
  * Content of the badge
5
5
  */
@@ -15,11 +15,19 @@ export interface BadgeProps {
15
15
  /**
16
16
  * Size of the badge
17
17
  */
18
- size?: 'xxs' | 'sm' | 'xl';
18
+ size?: 'xxs' | 'xs' | 'sm' | 'xl';
19
+ /**
20
+ * Border radius variant
21
+ */
22
+ borderRadius?: 'xs';
19
23
  /**
20
24
  * Additional CSS class name
21
25
  */
22
26
  className?: string;
27
+ /**
28
+ * Click handler
29
+ */
30
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
23
31
  }
24
32
  export declare const Badge: React.FC<BadgeProps>;
25
33
  export default Badge;
@@ -42,3 +42,4 @@ export declare const SignIcon: React.FC<IconProps>;
42
42
  export declare const SignLockIcon: React.FC<IconProps>;
43
43
  export declare const LockIcon: React.FC<IconProps>;
44
44
  export declare const PendingIcon: React.FC<IconProps>;
45
+ export declare const SearchIcon: React.FC<IconProps>;
@@ -24,4 +24,4 @@ export { DashLogo, type DashLogoProps } from './dashLogo';
24
24
  export { Dialog, type DialogProps } from './dialog';
25
25
  export { Tabs, type TabsProps, type TabItem } from './tabs';
26
26
  export type { TimeDeltaFormat } from '../utils/datetime';
27
- export { ArrowIcon, CopyIcon, SuccessIcon, ErrorIcon, QueuedIcon, PooledIcon, BroadcastedIcon, CalendarIcon, EyeOpenIcon, EyeClosedIcon, CheckIcon, KeyIcon, ProtectedMessageIcon, SmartphoneIcon, CrossIcon, WalletIcon, PlusIcon, FilterIcon, EditIcon, DeleteIcon, ChevronIcon, BurgerMenuIcon, KebabMenuIcon, CircleProcessIcon, CreditsIcon, WebIcon, ChainSmallIcon, SettingsIcon, ShieldSmallIcon, QuestionMessageIcon, CheckmarkIcon, FingerprintIcon, FaceIcon, SignIcon, SignLockIcon, LockIcon, PendingIcon } from './icons';
27
+ export { ArrowIcon, CopyIcon, SuccessIcon, ErrorIcon, QueuedIcon, PooledIcon, BroadcastedIcon, CalendarIcon, EyeOpenIcon, EyeClosedIcon, CheckIcon, KeyIcon, ProtectedMessageIcon, SmartphoneIcon, CrossIcon, WalletIcon, PlusIcon, FilterIcon, EditIcon, DeleteIcon, ChevronIcon, BurgerMenuIcon, KebabMenuIcon, CircleProcessIcon, CreditsIcon, WebIcon, ChainSmallIcon, SettingsIcon, ShieldSmallIcon, QuestionMessageIcon, CheckmarkIcon, FingerprintIcon, FaceIcon, SignIcon, SignLockIcon, LockIcon, PendingIcon, SearchIcon } from './icons';
@@ -2,9 +2,9 @@ import React, { InputHTMLAttributes } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  declare const input: (props?: ({
4
4
  theme?: "light" | "dark" | null | undefined;
5
- colorScheme?: "default" | "brand" | "error" | "success" | null | undefined;
5
+ colorScheme?: "default" | "light-gray" | "brand" | "error" | "success" | null | undefined;
6
6
  size?: "sm" | "xl" | "md" | null | undefined;
7
- variant?: "outlined" | null | undefined;
7
+ variant?: "outlined" | "filled" | null | undefined;
8
8
  disabled?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  type InputVariants = VariantProps<typeof input>;
@@ -13,6 +13,7 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
13
13
  error?: boolean;
14
14
  success?: boolean;
15
15
  prefix?: string | React.ReactNode;
16
+ prefixClassName?: string;
16
17
  /**
17
18
  * Controls visibility toggle for password inputs. When false, the eye icon is hidden and no extra right padding is applied.
18
19
  * Defaults to true.
@@ -4,7 +4,7 @@ declare const textStyles: (props?: ({
4
4
  reset?: boolean | null | undefined;
5
5
  theme?: "light" | "dark" | null | undefined;
6
6
  color?: "default" | "blue" | "red" | "blue-dark" | null | undefined;
7
- size?: "sm" | "xl" | "md" | "xs" | "lg" | null | undefined;
7
+ size?: "xs" | "sm" | "xl" | "md" | "lg" | null | undefined;
8
8
  weight?: "bold" | "normal" | 500 | null | undefined;
9
9
  italic?: boolean | null | undefined;
10
10
  underline?: boolean | null | undefined;
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
3
3
  declare const valueCard: (props?: ({
4
4
  theme?: "light" | "dark" | null | undefined;
5
5
  colorScheme?: "white" | "default" | "lightBlue" | "lightGray" | "green" | "transparent" | "yellow" | null | undefined;
6
- size?: "sm" | "xl" | "md" | null | undefined;
6
+ size?: "xs" | "sm" | "xl" | "md" | null | undefined;
7
7
  clickable?: boolean | null | undefined;
8
8
  loading?: boolean | null | undefined;
9
9
  border?: boolean | null | undefined;