@acronis-platform/ui-react 0.45.0 → 0.47.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.
@@ -0,0 +1,21 @@
1
+ import type * as React from 'react';
2
+ /** Props for `ProgressCircle`. */
3
+ export interface ProgressCircleProps {
4
+ /** Current progress, clamped to `[0, max]`. */
5
+ value?: number;
6
+ /** Value representing full completion (default `100`). */
7
+ max?: number;
8
+ /** Ring diameter + stroke: `tiny` · `sm` (default) · `md` · `lg`. */
9
+ size?: 'tiny' | 'sm' | 'md' | 'lg';
10
+ /**
11
+ * Arc color level. Omit to derive from `value`/`max` by thresholds
12
+ * (≈ <40% danger, <60% critical, <80% warning, else success).
13
+ */
14
+ status?: 'brand' | 'danger' | 'critical' | 'warning' | 'success';
15
+ /** Show the rounded percentage in the center. */
16
+ showValue?: boolean;
17
+ /** Show a status icon in the center (priority over `showValue`). */
18
+ showIcon?: boolean;
19
+ /** Custom center content (priority over icon / value). */
20
+ children?: React.ReactNode;
21
+ }
@@ -2,7 +2,7 @@ import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  declare const sheetVariants: (props?: ({
5
- side?: "left" | "right" | "top" | "bottom" | null | undefined;
5
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  declare const Sheet: typeof DialogPrimitive.Root;
8
8
  declare const SheetTrigger: DialogPrimitive.Trigger;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const tagVariants: (props?: ({
4
- variant?: "ai" | "success" | "info" | "warning" | "critical" | "danger" | "neutral" | null | undefined;
4
+ variant?: "ai" | "danger" | "critical" | "warning" | "success" | "info" | "neutral" | null | undefined;
5
5
  size?: "default" | "sm" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
@@ -5,6 +5,7 @@ export * from './components/ui/button';
5
5
  export * from './components/ui/button-menu';
6
6
  export * from './components/ui/card';
7
7
  export * from './components/ui/card-filter';
8
+ export * from './components/ui/chart';
8
9
  export * from './components/ui/checkbox';
9
10
  export * from './components/ui/chip';
10
11
  export * from './components/ui/data-table';
@@ -22,6 +23,7 @@ export * from './components/ui/label';
22
23
  export * from './components/ui/link';
23
24
  export * from './components/ui/popover';
24
25
  export * from './components/ui/progress';
26
+ export * from './components/ui/progress-circle';
25
27
  export * from './components/ui/search-global';
26
28
  export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
27
29
  export { InputSearch as Search, type InputSearchProps as SearchProps, } from './components/ui/input-search';