@dartech/dossym-ui 1.1.3 → 1.3.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,127 @@
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react0 from "react";
3
+ import { ReactNode } from "react";
4
+ import * as _gravity_ui_uikit0 from "@gravity-ui/uikit";
5
+ import { ActionTooltip, ActionTooltipProps, ActionsPanel, ActionsPanelProps, Alert, AlertProps, Avatar, AvatarProps, AvatarStack, AvatarStackProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, DefinitionList, DefinitionListItemProps, DefinitionListProps, Dialog, DialogProps, DropdownMenu, DropdownMenuItem, DropdownMenuItemMixed, DropdownMenuProps, FilePreviewProps as FilePreviewProps$1, Hotkey, HotkeyProps, Icon, IconProps, Label, LabelProps, List as List$1, ListItemData, ListProps as ListProps$1, Loader, LoaderProps, NumberInputProps as NumberInputProps$1, Overlay, OverlayProps, Pagination, PaginationProps, PlaceholderContainer, PlaceholderContainerActionProps, PlaceholderContainerProps, PopoverProps as PopoverProps$1, Popup, PopupPlacement, PopupProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupOption, RadioGroupProps, RadioProps, SegmentedRadioGroup, SegmentedRadioGroupOption, SegmentedRadioGroupProps, SelectProps as SelectProps$1, Skeleton, SkeletonProps, SliderProps as SliderProps$1, Spin, SpinProps, Stepper, StepperProps, Switch, SwitchProps, Tab, TabList, TabPanel, TabProps, TabProvider, Table, TableColumnConfig, TableProps, TextAreaProps as TextAreaProps$1, TextInputProps as TextInputProps$1, Theme, Toast, ToastAction, ToastProps, Toaster, ToasterComponent, ToasterProvider, Toc, TocProps, Tooltip, TooltipProps, User, UserLabel, UserLabelProps, UserProps, useToaster, withTableActions, withTableCopy, withTableSelection, withTableSettings, withTableSorting } from "@gravity-ui/uikit";
6
+ import { ChangelogDialog, ChangelogDialogProps, ChangelogItem, OnboardingMenu, OnboardingMenuProps } from "@gravity-ui/components";
7
+ import { ActionBar, ActionBarProps, AsideHeader, AsideHeaderProps, Drawer, DrawerItem, DrawerItemProps, DrawerProps, Footer, FooterMenuItem, FooterProps } from "@gravity-ui/navigation";
8
+ import { DateTime, dateTime, dateTimeParse, getTimeZonesList } from "@gravity-ui/date-utils";
9
+ import { Calendar, CalendarProps, DatePicker, DatePickerProps, RangeDatePicker, RangeDatePickerProps } from "@gravity-ui/date-components";
10
+
11
+ //#region src/provider/ThemeProvider.d.ts
12
+ interface ThemeProviderProps {
13
+ theme?: Theme;
14
+ children: ReactNode;
15
+ }
16
+ declare const ThemeProvider: ({
17
+ theme,
18
+ children
19
+ }: ThemeProviderProps) => react_jsx_runtime0.JSX.Element;
20
+ //#endregion
21
+ //#region src/components/Inputs/Select/Select.d.ts
22
+ interface SelectProps extends SelectProps$1 {
23
+ leftIcon?: ReactNode;
24
+ rootClassName?: string;
25
+ }
26
+ declare const Select: react0.NamedExoticComponent<SelectProps> & {
27
+ readonly type: ({
28
+ label,
29
+ leftIcon,
30
+ rootClassName,
31
+ ...rest
32
+ }: SelectProps) => react_jsx_runtime0.JSX.Element;
33
+ } & {
34
+ Option: <T extends unknown>(_props: _gravity_ui_uikit0.SelectOption<T>) => React.ReactElement<_gravity_ui_uikit0.SelectOption<T>> | null;
35
+ };
36
+ //#endregion
37
+ //#region src/components/Inputs/Slider/Slider.d.ts
38
+ interface SliderProps extends SliderProps$1 {
39
+ showInput?: boolean;
40
+ inputOrientation?: 'vertical' | 'horizontal';
41
+ rootClassName?: string;
42
+ }
43
+ declare const Slider: react0.MemoExoticComponent<({
44
+ showInput,
45
+ inputOrientation,
46
+ size,
47
+ rootClassName,
48
+ value,
49
+ validationState,
50
+ onUpdate,
51
+ onUpdateComplete,
52
+ disabled,
53
+ ...rest
54
+ }: SliderProps) => react_jsx_runtime0.JSX.Element>;
55
+ //#endregion
56
+ //#region src/components/Inputs/TextArea/TextArea.d.ts
57
+ interface TextAreaProps extends TextAreaProps$1 {
58
+ label?: string;
59
+ rootClassName?: string;
60
+ }
61
+ declare const TextArea: react0.MemoExoticComponent<({
62
+ size,
63
+ label,
64
+ rootClassName,
65
+ ...rest
66
+ }: TextAreaProps) => react_jsx_runtime0.JSX.Element>;
67
+ //#endregion
68
+ //#region src/components/Inputs/TextInput/TextInput.d.ts
69
+ interface TextInputProps extends TextInputProps$1 {
70
+ rootClassName?: string;
71
+ }
72
+ declare const TextInput: react0.MemoExoticComponent<({
73
+ size,
74
+ label,
75
+ rootClassName,
76
+ ...rest
77
+ }: TextInputProps) => react_jsx_runtime0.JSX.Element>;
78
+ //#endregion
79
+ //#region src/components/Inputs/NumberInput/NumberInput.d.ts
80
+ interface NumberInputProps extends NumberInputProps$1 {
81
+ rootClassName?: string;
82
+ }
83
+ declare const NumberInput: react0.MemoExoticComponent<({
84
+ size,
85
+ label,
86
+ hiddenControls,
87
+ rootClassName,
88
+ ...rest
89
+ }: NumberInputProps) => react_jsx_runtime0.JSX.Element>;
90
+ //#endregion
91
+ //#region src/components/DataDisplay/List/List.d.ts
92
+ interface ListProps<T> extends ListProps$1<T> {
93
+ onApply?: () => void;
94
+ onCancel?: () => void;
95
+ applyText?: ReactNode;
96
+ cancelText?: ReactNode;
97
+ rootClassName?: string;
98
+ buttonsClassName?: string;
99
+ cancelClassName?: string;
100
+ applyClassName?: string;
101
+ }
102
+ declare class List<T> extends List$1<T> {
103
+ render(): react_jsx_runtime0.JSX.Element;
104
+ }
105
+ //#endregion
106
+ //#region src/components/DataDisplay/FilePreview/FilePreview.d.ts
107
+ type FilePreviewProps = FilePreviewProps$1 & {
108
+ size?: 's' | 'l';
109
+ error?: string;
110
+ };
111
+ declare const FilePreview: react0.MemoExoticComponent<({
112
+ size,
113
+ error,
114
+ ...rest
115
+ }: FilePreviewProps) => react_jsx_runtime0.JSX.Element>;
116
+ //#endregion
117
+ //#region src/components/Overlays/Popover/Popover.d.ts
118
+ interface PopoverProps extends PopoverProps$1 {
119
+ theme?: 'info' | 'special' | 'announcement';
120
+ }
121
+ declare const Popover: react0.MemoExoticComponent<({
122
+ theme,
123
+ className,
124
+ ...rest
125
+ }: PopoverProps) => react_jsx_runtime0.JSX.Element>;
126
+ //#endregion
127
+ export { ActionBar, type ActionBarProps, ActionTooltip, type ActionTooltipProps, ActionsPanel, type ActionsPanelProps, Alert, type AlertProps, AsideHeader, type AsideHeaderProps, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, type CardProps, ChangelogDialog, type ChangelogDialogProps, type ChangelogItem, Checkbox, type CheckboxProps, DatePicker, type DatePickerProps, type DateTime, DefinitionList, type DefinitionListItemProps, type DefinitionListProps, Dialog, type DialogProps, Drawer, DrawerItem, type DrawerItemProps, type DrawerProps, DropdownMenu, type DropdownMenuItem, type DropdownMenuItemMixed, type DropdownMenuProps, FilePreview, FilePreviewProps, Footer, type FooterMenuItem, type FooterProps, Hotkey, type HotkeyProps, Icon, type IconProps, Label, type LabelProps, List, type ListItemData, ListProps, Loader, type LoaderProps, NumberInput, NumberInputProps, OnboardingMenu, type OnboardingMenuProps, Overlay, type OverlayProps, Pagination, type PaginationProps, PlaceholderContainer, type PlaceholderContainerActionProps, type PlaceholderContainerProps, Popover, PopoverProps, Popup, type PopupPlacement, type PopupProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeDatePicker, type RangeDatePickerProps, SegmentedRadioGroup, type SegmentedRadioGroupOption, type SegmentedRadioGroupProps, Select, SelectProps, Skeleton, type SkeletonProps, Slider, SliderProps, Spin, type SpinProps, Stepper, type StepperProps, Switch, type SwitchProps, Tab, TabList, TabPanel, type TabProps, TabProvider, Table, type TableColumnConfig, type TableProps, TextArea, TextAreaProps, TextInput, TextInputProps, ThemeProvider, ThemeProviderProps, Toast, type ToastAction, type ToastProps, Toaster, ToasterComponent, ToasterProvider, Toc, type TocProps, Tooltip, type TooltipProps, User, UserLabel, type UserLabelProps, type UserProps, dateTime, dateTimeParse, getTimeZonesList, useToaster, withTableActions, withTableCopy, withTableSelection, withTableSettings, withTableSorting };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import "./Table-De-zSnnt.js";
2
1
  import * as _gravity_ui_uikit0 from "@gravity-ui/uikit";
3
2
  import { ActionTooltip, ActionTooltipProps, ActionsPanel, ActionsPanelProps, Alert, AlertProps, Avatar, AvatarProps, AvatarStack, AvatarStackProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, DefinitionList, DefinitionListItemProps, DefinitionListProps, Dialog, DialogProps, DropdownMenu, DropdownMenuItem, DropdownMenuItemMixed, DropdownMenuProps, FilePreviewProps as FilePreviewProps$1, Hotkey, HotkeyProps, Icon, IconProps, Label, LabelProps, List as List$1, ListItemData, ListProps as ListProps$1, Loader, LoaderProps, NumberInputProps as NumberInputProps$1, Overlay, OverlayProps, Pagination, PaginationProps, PlaceholderContainer, PlaceholderContainerActionProps, PlaceholderContainerProps, PopoverProps as PopoverProps$1, Popup, PopupPlacement, PopupProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupOption, RadioGroupProps, RadioProps, SegmentedRadioGroup, SegmentedRadioGroupOption, SegmentedRadioGroupProps, SelectProps as SelectProps$1, Skeleton, SkeletonProps, SliderProps as SliderProps$1, Spin, SpinProps, Stepper, StepperProps, Switch, SwitchProps, Tab, TabList, TabPanel, TabProps, TabProvider, Table, TableColumnConfig, TableProps, TextAreaProps as TextAreaProps$1, TextInputProps as TextInputProps$1, Theme, Toast, ToastAction, ToastProps, Toaster, ToasterComponent, ToasterProvider, Toc, TocProps, Tooltip, TooltipProps, User, UserLabel, UserLabelProps, UserProps, useToaster, withTableActions, withTableCopy, withTableSelection, withTableSettings, withTableSorting } from "@gravity-ui/uikit";
4
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
- import * as react3 from "react";
4
+ import * as react1 from "react";
6
5
  import { ReactNode } from "react";
7
6
  import { ChangelogDialog, ChangelogDialogProps, ChangelogItem, OnboardingMenu, OnboardingMenuProps } from "@gravity-ui/components";
8
7
  import { ActionBar, ActionBarProps, AsideHeader, AsideHeaderProps, Drawer, DrawerItem, DrawerItemProps, DrawerProps, Footer, FooterMenuItem, FooterProps } from "@gravity-ui/navigation";
@@ -24,7 +23,7 @@ interface SelectProps extends SelectProps$1 {
24
23
  leftIcon?: ReactNode;
25
24
  rootClassName?: string;
26
25
  }
27
- declare const Select: react3.NamedExoticComponent<SelectProps> & {
26
+ declare const Select: react1.NamedExoticComponent<SelectProps> & {
28
27
  readonly type: ({
29
28
  label,
30
29
  leftIcon,
@@ -41,7 +40,7 @@ interface SliderProps extends SliderProps$1 {
41
40
  inputOrientation?: 'vertical' | 'horizontal';
42
41
  rootClassName?: string;
43
42
  }
44
- declare const Slider: react3.MemoExoticComponent<({
43
+ declare const Slider: react1.MemoExoticComponent<({
45
44
  showInput,
46
45
  inputOrientation,
47
46
  size,
@@ -59,7 +58,7 @@ interface TextAreaProps extends TextAreaProps$1 {
59
58
  label?: string;
60
59
  rootClassName?: string;
61
60
  }
62
- declare const TextArea: react3.MemoExoticComponent<({
61
+ declare const TextArea: react1.MemoExoticComponent<({
63
62
  size,
64
63
  label,
65
64
  rootClassName,
@@ -70,7 +69,7 @@ declare const TextArea: react3.MemoExoticComponent<({
70
69
  interface TextInputProps extends TextInputProps$1 {
71
70
  rootClassName?: string;
72
71
  }
73
- declare const TextInput: react3.MemoExoticComponent<({
72
+ declare const TextInput: react1.MemoExoticComponent<({
74
73
  size,
75
74
  label,
76
75
  rootClassName,
@@ -81,7 +80,7 @@ declare const TextInput: react3.MemoExoticComponent<({
81
80
  interface NumberInputProps extends NumberInputProps$1 {
82
81
  rootClassName?: string;
83
82
  }
84
- declare const NumberInput: react3.MemoExoticComponent<({
83
+ declare const NumberInput: react1.MemoExoticComponent<({
85
84
  size,
86
85
  label,
87
86
  hiddenControls,
@@ -109,7 +108,7 @@ type FilePreviewProps = FilePreviewProps$1 & {
109
108
  size?: 's' | 'l';
110
109
  error?: string;
111
110
  };
112
- declare const FilePreview: react3.MemoExoticComponent<({
111
+ declare const FilePreview: react1.MemoExoticComponent<({
113
112
  size,
114
113
  error,
115
114
  ...rest
@@ -119,7 +118,7 @@ declare const FilePreview: react3.MemoExoticComponent<({
119
118
  interface PopoverProps extends PopoverProps$1 {
120
119
  theme?: 'info' | 'special' | 'announcement';
121
120
  }
122
- declare const Popover: react3.MemoExoticComponent<({
121
+ declare const Popover: react1.MemoExoticComponent<({
123
122
  theme,
124
123
  className,
125
124
  ...rest
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "./Table-De-zSnnt.js";
2
1
  import { ActionTooltip, ActionsPanel, Alert, Avatar, AvatarStack, Breadcrumbs, Button, Card, Checkbox, DefinitionList, Dialog, DropdownMenu, FilePreview as FilePreview$1, Hotkey, Icon, Label, List as List$1, Loader, NumberInput as NumberInput$1, Overlay, Pagination, PlaceholderContainer, Popover as Popover$1, Popup, Progress, Radio, RadioGroup, SegmentedRadioGroup, Select as Select$1, Skeleton, Slider as Slider$1, Spin, Stepper, Switch, Tab, TabList, TabPanel, TabProvider, Table, TextArea as TextArea$1, TextInput as TextInput$1, ThemeProvider as ThemeProvider$1, Toast, Toaster, ToasterComponent, ToasterProvider, Toc, Tooltip, User, UserLabel, useToaster, withTableActions, withTableCopy, withTableSelection, withTableSettings, withTableSorting } from "@gravity-ui/uikit";
3
2
  import { jsx, jsxs } from "react/jsx-runtime";
4
3
  import { memo, useCallback, useState } from "react";