@acronis-platform/ui-react 0.51.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 (43) hide show
  1. package/dist/components/ui/app-shell/app-shell.js +75 -0
  2. package/dist/components/ui/app-shell/app-shell.js.map +1 -0
  3. package/dist/components/ui/auth-layout/auth-layout.js +56 -0
  4. package/dist/components/ui/auth-layout/auth-layout.js.map +1 -0
  5. package/dist/components/ui/grid/grid.js +69 -0
  6. package/dist/components/ui/grid/grid.js.map +1 -0
  7. package/dist/components/ui/page-content/page-content.js +19 -0
  8. package/dist/components/ui/page-content/page-content.js.map +1 -0
  9. package/dist/components/ui/page-header/page-header.js +74 -0
  10. package/dist/components/ui/page-header/page-header.js.map +1 -0
  11. package/dist/components/ui/pagination/pagination.js +87 -0
  12. package/dist/components/ui/pagination/pagination.js.map +1 -0
  13. package/dist/components/ui/section/section.js +37 -0
  14. package/dist/components/ui/section/section.js.map +1 -0
  15. package/dist/components/ui/stack/stack.js +61 -0
  16. package/dist/components/ui/stack/stack.js.map +1 -0
  17. package/dist/components/ui/toggle-group/toggle-group.js +47 -0
  18. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
  19. package/dist/index.js +343 -298
  20. package/dist/index.js.map +1 -1
  21. package/dist/react.js +343 -298
  22. package/dist/react.js.map +1 -1
  23. package/dist/src/components/ui/app-shell/app-shell.d.ts +8 -0
  24. package/dist/src/components/ui/app-shell/index.d.ts +1 -0
  25. package/dist/src/components/ui/auth-layout/auth-layout.d.ts +6 -0
  26. package/dist/src/components/ui/auth-layout/index.d.ts +1 -0
  27. package/dist/src/components/ui/grid/grid.d.ts +15 -0
  28. package/dist/src/components/ui/grid/index.d.ts +1 -0
  29. package/dist/src/components/ui/page-content/index.d.ts +1 -0
  30. package/dist/src/components/ui/page-content/page-content.d.ts +4 -0
  31. package/dist/src/components/ui/page-header/index.d.ts +1 -0
  32. package/dist/src/components/ui/page-header/page-header.d.ts +8 -0
  33. package/dist/src/components/ui/pagination/index.d.ts +2 -0
  34. package/dist/src/components/ui/pagination/pagination.d.ts +25 -0
  35. package/dist/src/components/ui/section/index.d.ts +1 -0
  36. package/dist/src/components/ui/section/section.d.ts +7 -0
  37. package/dist/src/components/ui/stack/index.d.ts +1 -0
  38. package/dist/src/components/ui/stack/stack.d.ts +13 -0
  39. package/dist/src/components/ui/toggle-group/index.d.ts +1 -0
  40. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +7 -0
  41. package/dist/src/index.d.ts +9 -0
  42. package/dist/ui-react.css +1 -1
  43. package/package.json +1 -1
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,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,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 { 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 { 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,6 +1,8 @@
1
1
  export { cn } from './lib/utils';
2
2
  export * from './components/ui/accordion';
3
3
  export * from './components/ui/alert';
4
+ export * from './components/ui/app-shell';
5
+ export * from './components/ui/auth-layout';
4
6
  export * from './components/ui/avatar';
5
7
  export * from './components/ui/breadcrumb';
6
8
  export * from './components/ui/button';
@@ -18,6 +20,7 @@ export * from './components/ui/dialog';
18
20
  export * from './components/ui/dropdown-menu';
19
21
  export * from './components/ui/empty';
20
22
  export * from './components/ui/field';
23
+ export * from './components/ui/grid';
21
24
  export * from './components/ui/form';
22
25
  export * from './components/ui/radio';
23
26
  export * from './components/ui/input';
@@ -29,6 +32,9 @@ export * from './components/ui/input-text-area';
29
32
  export * from './components/ui/label';
30
33
  export * from './components/ui/link';
31
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';
32
38
  export * from './components/ui/popover';
33
39
  export * from './components/ui/progress';
34
40
  export * from './components/ui/progress-circle';
@@ -36,12 +42,14 @@ export * from './components/ui/search-global';
36
42
  export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
37
43
  export { InputSearch as Search, type InputSearchProps as SearchProps, } from './components/ui/input-search';
38
44
  export { InputTextArea as Textarea, type InputTextAreaProps as TextareaProps, } from './components/ui/input-text-area';
45
+ export * from './components/ui/section';
39
46
  export * from './components/ui/select';
40
47
  export * from './components/ui/separator';
41
48
  export * from './components/ui/sheet';
42
49
  export * from './components/ui/skeleton';
43
50
  export * from './components/ui/slider';
44
51
  export * from './components/ui/spinner';
52
+ export * from './components/ui/stack';
45
53
  export * from './components/ui/resizable';
46
54
  export * from './components/ui/sidebar-primary';
47
55
  export * from './components/ui/sidebar-secondary';
@@ -50,6 +58,7 @@ export * from './components/ui/switch';
50
58
  export * from './components/ui/table';
51
59
  export * from './components/ui/tabs';
52
60
  export * from './components/ui/toast';
61
+ export * from './components/ui/toggle-group';
53
62
  export * from './components/ui/tooltip';
54
63
  export * from './components/ui/tag';
55
64
  export { Tag as Badge, type TagProps as BadgeProps, } from './components/ui/tag';