@acronis-platform/ui-react 0.50.0 → 0.53.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.
Files changed (59) hide show
  1. package/dist/components/ui/accordion/accordion.js +53 -0
  2. package/dist/components/ui/accordion/accordion.js.map +1 -0
  3. package/dist/components/ui/app-shell/app-shell.js +75 -0
  4. package/dist/components/ui/app-shell/app-shell.js.map +1 -0
  5. package/dist/components/ui/auth-layout/auth-layout.js +56 -0
  6. package/dist/components/ui/auth-layout/auth-layout.js.map +1 -0
  7. package/dist/components/ui/collapsible/collapsible.js +22 -0
  8. package/dist/components/ui/collapsible/collapsible.js.map +1 -0
  9. package/dist/components/ui/grid/grid.js +69 -0
  10. package/dist/components/ui/grid/grid.js.map +1 -0
  11. package/dist/components/ui/number-field/number-field.js +61 -0
  12. package/dist/components/ui/number-field/number-field.js.map +1 -0
  13. package/dist/components/ui/page-content/page-content.js +19 -0
  14. package/dist/components/ui/page-content/page-content.js.map +1 -0
  15. package/dist/components/ui/page-header/page-header.js +74 -0
  16. package/dist/components/ui/page-header/page-header.js.map +1 -0
  17. package/dist/components/ui/pagination/pagination.js +87 -0
  18. package/dist/components/ui/pagination/pagination.js.map +1 -0
  19. package/dist/components/ui/section/section.js +37 -0
  20. package/dist/components/ui/section/section.js.map +1 -0
  21. package/dist/components/ui/slider/slider.js +42 -0
  22. package/dist/components/ui/slider/slider.js.map +1 -0
  23. package/dist/components/ui/stack/stack.js +61 -0
  24. package/dist/components/ui/stack/stack.js.map +1 -0
  25. package/dist/components/ui/toggle-group/toggle-group.js +47 -0
  26. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
  27. package/dist/index.js +354 -292
  28. package/dist/index.js.map +1 -1
  29. package/dist/react.js +354 -292
  30. package/dist/react.js.map +1 -1
  31. package/dist/src/components/ui/accordion/accordion.d.ts +7 -0
  32. package/dist/src/components/ui/accordion/index.d.ts +1 -0
  33. package/dist/src/components/ui/app-shell/app-shell.d.ts +8 -0
  34. package/dist/src/components/ui/app-shell/index.d.ts +1 -0
  35. package/dist/src/components/ui/auth-layout/auth-layout.d.ts +6 -0
  36. package/dist/src/components/ui/auth-layout/index.d.ts +1 -0
  37. package/dist/src/components/ui/collapsible/collapsible.d.ts +5 -0
  38. package/dist/src/components/ui/collapsible/index.d.ts +1 -0
  39. package/dist/src/components/ui/grid/grid.d.ts +15 -0
  40. package/dist/src/components/ui/grid/index.d.ts +1 -0
  41. package/dist/src/components/ui/number-field/index.d.ts +1 -0
  42. package/dist/src/components/ui/number-field/number-field.d.ts +7 -0
  43. package/dist/src/components/ui/page-content/index.d.ts +1 -0
  44. package/dist/src/components/ui/page-content/page-content.d.ts +4 -0
  45. package/dist/src/components/ui/page-header/index.d.ts +1 -0
  46. package/dist/src/components/ui/page-header/page-header.d.ts +8 -0
  47. package/dist/src/components/ui/pagination/index.d.ts +2 -0
  48. package/dist/src/components/ui/pagination/pagination.d.ts +25 -0
  49. package/dist/src/components/ui/section/index.d.ts +1 -0
  50. package/dist/src/components/ui/section/section.d.ts +7 -0
  51. package/dist/src/components/ui/slider/index.d.ts +1 -0
  52. package/dist/src/components/ui/slider/slider.d.ts +7 -0
  53. package/dist/src/components/ui/stack/index.d.ts +1 -0
  54. package/dist/src/components/ui/stack/stack.d.ts +13 -0
  55. package/dist/src/components/ui/toggle-group/index.d.ts +1 -0
  56. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +7 -0
  57. package/dist/src/index.d.ts +13 -0
  58. package/dist/ui-react.css +1 -1
  59. package/package.json +3 -3
package/dist/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,7 @@
1
+ import { Accordion as AccordionPrimitive } from '@base-ui/react/accordion';
2
+ import * as React from 'react';
3
+ declare const Accordion: <Value = any>(props: AccordionPrimitive.Root.Props<Value>) => React.JSX.Element;
4
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AccordionItemProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AccordionTriggerProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AccordionPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1 @@
1
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './accordion';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ declare const AppShell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const AppShellSidebar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
4
+ declare const AppShellBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AppShellHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
6
+ declare const AppShellMain: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
7
+ declare const AppShellFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
8
+ export { AppShell, AppShellSidebar, AppShellBody, AppShellHeader, AppShellMain, AppShellFooter, };
@@ -0,0 +1 @@
1
+ export { AppShell, AppShellSidebar, AppShellBody, AppShellHeader, AppShellMain, AppShellFooter, } from './app-shell';
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const AuthLayoutCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const AuthLayoutLogo: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AuthLayoutFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ export { AuthLayout, AuthLayoutCard, AuthLayoutLogo, AuthLayoutFooter };
@@ -0,0 +1 @@
1
+ export { AuthLayout, AuthLayoutCard, AuthLayoutLogo, AuthLayoutFooter, } from './auth-layout';
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ declare const Collapsible: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').CollapsibleRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').CollapsibleTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').CollapsiblePanelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -0,0 +1 @@
1
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent, } from './collapsible';
@@ -0,0 +1,15 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ declare const gridVariants: (props?: ({
4
+ cols?: 1 | 2 | 4 | 3 | 6 | 12 | null | undefined;
5
+ gap?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
8
+ /**
9
+ * Size columns by the grid's own width (container queries) instead of the
10
+ * viewport. Wraps the grid in a `@container/grid`.
11
+ */
12
+ container?: boolean;
13
+ }
14
+ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
15
+ export { Grid, gridVariants };
@@ -0,0 +1 @@
1
+ export { Grid, gridVariants, type GridProps } from './grid';
@@ -0,0 +1 @@
1
+ export { NumberField, NumberFieldGroup, NumberFieldInput, NumberFieldDecrement, NumberFieldIncrement, } from './number-field';
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare const NumberField: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').NumberFieldRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const NumberFieldGroup: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const NumberFieldInput: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldInputProps, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
5
+ declare const NumberFieldDecrement: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldDecrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const NumberFieldIncrement: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldIncrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ export { NumberField, NumberFieldGroup, NumberFieldInput, NumberFieldDecrement, NumberFieldIncrement, };
@@ -0,0 +1 @@
1
+ export { PageContent, type PageContentProps } from './page-content';
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export type PageContentProps = React.HTMLAttributes<HTMLDivElement>;
3
+ declare const PageContent: React.ForwardRefExoticComponent<PageContentProps & React.RefAttributes<HTMLDivElement>>;
4
+ export { PageContent };
@@ -0,0 +1 @@
1
+ export { PageHeader, PageHeaderBreadcrumb, PageHeaderRow, PageHeaderTitle, PageHeaderDescription, PageHeaderActions, } from './page-header';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const PageHeaderBreadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
4
+ declare const PageHeaderRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const PageHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
6
+ declare const PageHeaderDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ declare const PageHeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { PageHeader, PageHeaderBreadcrumb, PageHeaderRow, PageHeaderTitle, PageHeaderDescription, PageHeaderActions, };
@@ -0,0 +1,2 @@
1
+ export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis, } from './pagination';
2
+ export type { PaginationLinkProps } from './pagination';
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
3
+ declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
4
+ declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
5
+ export interface PaginationLinkProps extends React.ComponentProps<'a'> {
6
+ /** Marks the current page (sets aria-current and the selected treatment). */
7
+ isActive?: boolean;
8
+ }
9
+ declare const PaginationLink: {
10
+ ({ className, isActive, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const PaginationPrevious: {
14
+ ({ className, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ declare const PaginationNext: {
18
+ ({ className, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
19
+ displayName: string;
20
+ };
21
+ declare const PaginationEllipsis: {
22
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
23
+ displayName: string;
24
+ };
25
+ export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -0,0 +1 @@
1
+ export { Section, SectionHeader, SectionTitle, SectionDescription, SectionContent, } from './section';
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare const Section: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
3
+ declare const SectionHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const SectionTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
5
+ declare const SectionDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const SectionContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Section, SectionHeader, SectionTitle, SectionDescription, SectionContent, };
@@ -0,0 +1 @@
1
+ export { Slider, type SliderProps } from './slider';
@@ -0,0 +1,7 @@
1
+ import { Slider as SliderPrimitive } from '@base-ui/react/slider';
2
+ import * as React from 'react';
3
+ export type SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
4
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.Root.Props<number | readonly number[]> & {
5
+ ref?: React.Ref<HTMLDivElement> | undefined;
6
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Slider };
@@ -0,0 +1 @@
1
+ export { Stack, stackVariants, type StackProps } from './stack';
@@ -0,0 +1,13 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ declare const stackVariants: (props?: ({
4
+ direction?: "horizontal" | "vertical" | null | undefined;
5
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
6
+ align?: "center" | "end" | "start" | "stretch" | null | undefined;
7
+ justify?: "center" | "end" | "start" | "between" | null | undefined;
8
+ wrap?: boolean | null | undefined;
9
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
+ export interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
11
+ }
12
+ declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
13
+ export { Stack, stackVariants };
@@ -0,0 +1 @@
1
+ export { Toggle, ToggleGroup, ToggleGroupItem } from './toggle-group';
@@ -0,0 +1,7 @@
1
+ import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
2
+ import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
3
+ import * as React from 'react';
4
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.Props<string> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.Props<string> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<TogglePrimitive.Props<string> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ export { Toggle, ToggleGroup, ToggleGroupItem };
@@ -1,5 +1,8 @@
1
1
  export { cn } from './lib/utils';
2
+ export * from './components/ui/accordion';
2
3
  export * from './components/ui/alert';
4
+ export * from './components/ui/app-shell';
5
+ export * from './components/ui/auth-layout';
3
6
  export * from './components/ui/avatar';
4
7
  export * from './components/ui/breadcrumb';
5
8
  export * from './components/ui/button';
@@ -9,6 +12,7 @@ export * from './components/ui/card-filter';
9
12
  export * from './components/ui/chart';
10
13
  export * from './components/ui/checkbox';
11
14
  export * from './components/ui/chip';
15
+ export * from './components/ui/collapsible';
12
16
  export * from './components/ui/combobox';
13
17
  export * from './components/ui/data-table';
14
18
  export * from './components/ui/description-list';
@@ -16,6 +20,7 @@ export * from './components/ui/dialog';
16
20
  export * from './components/ui/dropdown-menu';
17
21
  export * from './components/ui/empty';
18
22
  export * from './components/ui/field';
23
+ export * from './components/ui/grid';
19
24
  export * from './components/ui/form';
20
25
  export * from './components/ui/radio';
21
26
  export * from './components/ui/input';
@@ -26,6 +31,10 @@ export * from './components/ui/input-text';
26
31
  export * from './components/ui/input-text-area';
27
32
  export * from './components/ui/label';
28
33
  export * from './components/ui/link';
34
+ export * from './components/ui/number-field';
35
+ export * from './components/ui/page-content';
36
+ export * from './components/ui/page-header';
37
+ export * from './components/ui/pagination';
29
38
  export * from './components/ui/popover';
30
39
  export * from './components/ui/progress';
31
40
  export * from './components/ui/progress-circle';
@@ -33,11 +42,14 @@ export * from './components/ui/search-global';
33
42
  export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
34
43
  export { InputSearch as Search, type InputSearchProps as SearchProps, } from './components/ui/input-search';
35
44
  export { InputTextArea as Textarea, type InputTextAreaProps as TextareaProps, } from './components/ui/input-text-area';
45
+ export * from './components/ui/section';
36
46
  export * from './components/ui/select';
37
47
  export * from './components/ui/separator';
38
48
  export * from './components/ui/sheet';
39
49
  export * from './components/ui/skeleton';
50
+ export * from './components/ui/slider';
40
51
  export * from './components/ui/spinner';
52
+ export * from './components/ui/stack';
41
53
  export * from './components/ui/resizable';
42
54
  export * from './components/ui/sidebar-primary';
43
55
  export * from './components/ui/sidebar-secondary';
@@ -46,6 +58,7 @@ export * from './components/ui/switch';
46
58
  export * from './components/ui/table';
47
59
  export * from './components/ui/tabs';
48
60
  export * from './components/ui/toast';
61
+ export * from './components/ui/toggle-group';
49
62
  export * from './components/ui/tooltip';
50
63
  export * from './components/ui/tag';
51
64
  export { Tag as Badge, type TagProps as BadgeProps, } from './components/ui/tag';