@dexma/ui-components 6.8.0 → 7.0.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 (140) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +38 -36
  3. package/dist/index.d.ts +1 -0
  4. package/dist/lib/components/Alert/Alert.d.ts +13 -0
  5. package/dist/lib/components/Alert/index.d.ts +1 -0
  6. package/dist/lib/components/Button/Button.d.ts +50 -0
  7. package/dist/lib/components/Button/index.d.ts +1 -0
  8. package/dist/lib/components/Card/Card.d.ts +17 -0
  9. package/dist/lib/components/Card/index.d.ts +1 -0
  10. package/dist/lib/components/Cascader/Cascader.d.ts +19 -0
  11. package/dist/lib/components/Cascader/index.d.ts +1 -0
  12. package/dist/lib/components/Cell/Cell.d.ts +17 -0
  13. package/dist/lib/components/Cell/index.d.ts +1 -0
  14. package/dist/lib/components/Chart/Chart.d.ts +23 -0
  15. package/dist/lib/components/Chart/index.d.ts +1 -0
  16. package/dist/lib/components/Chart/types.d.ts +24 -0
  17. package/dist/lib/components/Checkbox/Checkbox.d.ts +9 -0
  18. package/dist/lib/components/Checkbox/index.d.ts +1 -0
  19. package/dist/lib/components/ColorPicker/ColorPicker.d.ts +15 -0
  20. package/dist/lib/components/ColorPicker/index.d.ts +1 -0
  21. package/dist/lib/components/DataId/DataIdProvider.d.ts +10 -0
  22. package/dist/lib/components/DataId/withDataId.d.ts +7 -0
  23. package/dist/lib/components/DatePicker/DatePicker.d.ts +24 -0
  24. package/dist/lib/components/DatePicker/datePickerUtils.d.ts +3 -0
  25. package/dist/lib/components/DatePicker/index.d.ts +1 -0
  26. package/dist/lib/components/Divider/Divider.d.ts +6 -0
  27. package/dist/lib/components/Divider/index.d.ts +1 -0
  28. package/dist/lib/components/Dots/Dots.d.ts +5 -0
  29. package/dist/lib/components/Dots/index.d.ts +1 -0
  30. package/dist/lib/components/Dropdown/Dropdown.d.ts +19 -0
  31. package/dist/lib/components/Dropdown/index.d.ts +1 -0
  32. package/dist/lib/components/FieldGroup/FieldGroup.d.ts +62 -0
  33. package/dist/lib/components/FieldGroup/index.d.ts +1 -0
  34. package/dist/lib/components/FormControl/FormControl.d.ts +35 -0
  35. package/dist/lib/components/FormControl/index.d.ts +1 -0
  36. package/dist/lib/components/Gauge/Gauge.d.ts +234 -0
  37. package/dist/lib/components/Gauge/index.d.ts +1 -0
  38. package/dist/lib/components/Grid/Grid.d.ts +5 -0
  39. package/dist/lib/components/Grid/index.d.ts +1 -0
  40. package/dist/lib/components/Heading/Heading.d.ts +10 -0
  41. package/dist/lib/components/Heading/index.d.ts +1 -0
  42. package/dist/lib/components/Icon/Icon.d.ts +17 -0
  43. package/dist/lib/components/Icon/index.d.ts +1 -0
  44. package/dist/lib/components/Input/Input.d.ts +17 -0
  45. package/dist/lib/components/Input/index.d.ts +1 -0
  46. package/dist/lib/components/Loading/Loading.d.ts +10 -0
  47. package/dist/lib/components/Loading/index.d.ts +1 -0
  48. package/dist/lib/components/Modal/Modal.d.ts +3 -0
  49. package/dist/lib/components/Modal/index.d.ts +1 -0
  50. package/dist/lib/components/Pagination/Pagination.d.ts +6 -0
  51. package/dist/lib/components/Pagination/index.d.ts +1 -0
  52. package/dist/lib/components/Paragraph/Paragraph.d.ts +9 -0
  53. package/dist/lib/components/Paragraph/index.d.ts +1 -0
  54. package/dist/lib/components/Popover/Popover.d.ts +6 -0
  55. package/dist/lib/components/Popover/index.d.ts +1 -0
  56. package/dist/lib/components/Progress/Progress.d.ts +12 -0
  57. package/dist/lib/components/Progress/index.d.ts +1 -0
  58. package/dist/lib/components/Result/Result.d.ts +20 -0
  59. package/dist/lib/components/Result/index.d.ts +1 -0
  60. package/dist/lib/components/Row/Row.d.ts +8 -0
  61. package/dist/lib/components/Row/index.d.ts +1 -0
  62. package/dist/lib/components/Section/Section.d.ts +15 -0
  63. package/dist/lib/components/Section/index.d.ts +1 -0
  64. package/dist/lib/components/Select/ButtonPaginationSelector.d.ts +18 -0
  65. package/dist/lib/components/Select/Select.d.ts +58 -0
  66. package/dist/lib/components/Select/index.d.ts +1 -0
  67. package/dist/lib/components/Select/selectUtils.d.ts +21 -0
  68. package/dist/lib/components/Spinner/Spinner.d.ts +4 -0
  69. package/dist/lib/components/Spinner/index.d.ts +1 -0
  70. package/dist/lib/components/Switch/Switch.d.ts +19 -0
  71. package/dist/lib/components/Switch/index.d.ts +1 -0
  72. package/dist/lib/components/SwitchPeriodComparative/SwitchPeriodComparative.d.ts +24 -0
  73. package/dist/lib/components/SwitchPeriodComparative/index.d.ts +1 -0
  74. package/dist/lib/components/Table/Table.d.ts +16 -0
  75. package/dist/lib/components/Table/index.d.ts +1 -0
  76. package/dist/lib/components/Tabs/Tabs.d.ts +16 -0
  77. package/dist/lib/components/Tabs/index.d.ts +1 -0
  78. package/dist/lib/components/Tag/Tag.d.ts +22 -0
  79. package/dist/lib/components/Tag/index.d.ts +1 -0
  80. package/dist/lib/components/TagGroup/TagGroup.d.ts +7 -0
  81. package/dist/lib/components/TagGroup/index.d.ts +1 -0
  82. package/dist/lib/components/Theme/Theme.d.ts +8 -0
  83. package/dist/lib/components/Theme/index.d.ts +1 -0
  84. package/dist/lib/components/Toaster/Toast.d.ts +12 -0
  85. package/dist/lib/components/Toaster/Toaster.d.ts +7 -0
  86. package/dist/lib/components/Toaster/ToasterContext.d.ts +11 -0
  87. package/dist/lib/components/Toaster/index.d.ts +3 -0
  88. package/dist/lib/components/Tooltip/Tooltip.d.ts +8 -0
  89. package/dist/lib/components/Tooltip/index.d.ts +1 -0
  90. package/dist/lib/components/index.d.ts +42 -0
  91. package/dist/lib/index.d.ts +5 -0
  92. package/dist/lib/styles/Alert/StyledAlert.d.ts +12 -0
  93. package/dist/lib/styles/Button/StyledButton.d.ts +44 -0
  94. package/dist/lib/styles/Card/StyledCard.d.ts +14 -0
  95. package/dist/lib/styles/Cascader/StyledCascader.d.ts +11 -0
  96. package/dist/lib/styles/Cell/StyledCell.d.ts +16 -0
  97. package/dist/lib/styles/Chart/StyledChart.d.ts +3 -0
  98. package/dist/lib/styles/ColorPicker/StyledColorPicker.d.ts +50 -0
  99. package/dist/lib/styles/DatePicker/StyledDatePicker.d.ts +25 -0
  100. package/dist/lib/styles/Divider/StyledDivider.d.ts +7 -0
  101. package/dist/lib/styles/Dots/StyledDots.d.ts +10 -0
  102. package/dist/lib/styles/Dropdown/StyledDropdown.d.ts +88 -0
  103. package/dist/lib/styles/Fieldgroup/StyledFieldGroup.d.ts +16 -0
  104. package/dist/lib/styles/FromControl/StyledFormControl.d.ts +5 -0
  105. package/dist/lib/styles/Grid/StyledGrid.d.ts +7 -0
  106. package/dist/lib/styles/Heading/StyledHeading.d.ts +8 -0
  107. package/dist/lib/styles/Icon/StyledIcon.d.ts +5 -0
  108. package/dist/lib/styles/Input/StyledInput.d.ts +11 -0
  109. package/dist/lib/styles/Loading/StyledLoading.d.ts +2 -0
  110. package/dist/lib/styles/Modal/StyledModal.d.ts +14 -0
  111. package/dist/lib/styles/Pagination/StyledPagination.d.ts +7 -0
  112. package/dist/lib/styles/Paragraph/StyledParagraph.d.ts +9 -0
  113. package/dist/lib/styles/Progress/StyledProgress.d.ts +14 -0
  114. package/dist/lib/styles/Result/StyledResult.d.ts +10 -0
  115. package/dist/lib/styles/Row/StyledRow.d.ts +8 -0
  116. package/dist/lib/styles/Section/StyledSection.d.ts +9 -0
  117. package/dist/lib/styles/Select/StyledSelect.d.ts +98 -0
  118. package/dist/lib/styles/Spinner/StyledSpinner.d.ts +9 -0
  119. package/dist/lib/styles/Switch/StyledSwitch.d.ts +2 -0
  120. package/dist/lib/styles/SwitchPeriodComparative/StyledSwitchPeriodComparative.d.ts +7 -0
  121. package/dist/lib/styles/Table/StyledTable.d.ts +7 -0
  122. package/dist/lib/styles/Tabs/StyledTabs.d.ts +9 -0
  123. package/dist/lib/styles/Tag/StyledTag.d.ts +14 -0
  124. package/dist/lib/styles/TagGroup/StyledTagGroup.d.ts +6 -0
  125. package/dist/lib/styles/Toast/StyledToast.d.ts +2 -0
  126. package/dist/lib/utils/animation.d.ts +13 -0
  127. package/dist/lib/utils/dates.d.ts +29 -0
  128. package/dist/lib/utils/formatter.d.ts +2 -0
  129. package/dist/lib/utils/global.d.ts +4 -0
  130. package/dist/lib/utils/selectors.d.ts +113 -0
  131. package/dist/lib/utils/theme.d.ts +85 -0
  132. package/dist/ui-components.es.js +72660 -0
  133. package/dist/ui-components.umd.js +4967 -0
  134. package/package.json +42 -137
  135. package/.github/workflows/cd.yml +0 -36
  136. package/.github/workflows/ci.yml +0 -45
  137. package/CHANGELOG.md +0 -1549
  138. package/CONTRIBUTING.md +0 -154
  139. package/dist/main.bundle.js +0 -253
  140. package/dist/main.bundle.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ import { default as React, HTMLAttributes } from 'react';
2
+
3
+ export type TagProps = {
4
+ dataId?: string;
5
+ color?: string;
6
+ icon?: string;
7
+ closable?: boolean;
8
+ onClose?: () => void;
9
+ type?: 'normal' | 'rounded';
10
+ variant?: 'primary' | 'outline';
11
+ } & HTMLAttributes<HTMLDivElement>;
12
+ export declare const Tag: React.ForwardRefExoticComponent<Omit<{
13
+ dataId?: string;
14
+ color?: string;
15
+ icon?: string;
16
+ closable?: boolean;
17
+ onClose?: () => void;
18
+ type?: "normal" | "rounded";
19
+ variant?: "primary" | "outline";
20
+ } & React.HTMLAttributes<HTMLDivElement>, "dataId"> & Partial<{
21
+ dataId?: string;
22
+ }> & React.RefAttributes<unknown>>;
@@ -0,0 +1 @@
1
+ export * from './Tag';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { TagProps } from '../index.ts';
3
+
4
+ export declare const TagGroup: (props: {
5
+ children: React.ReactElement<TagProps> | Array<React.ReactElement<TagProps>>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ export default TagGroup;
@@ -0,0 +1 @@
1
+ export * from './TagGroup';
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { DefaultTheme } from 'styled-components';
3
+
4
+ export declare const Theme: ({ children, options }: {
5
+ children?: React.ReactNode;
6
+ options?: DefaultTheme;
7
+ }) => import("react/jsx-runtime").JSX.Element | null;
8
+ export default Theme;
@@ -0,0 +1 @@
1
+ export * from './Theme';
@@ -0,0 +1,12 @@
1
+ export declare enum ToastType {
2
+ INFO = "info",
3
+ SUCCESS = "success",
4
+ WARNING = "warning",
5
+ ERROR = "error"
6
+ }
7
+ type ToastProps = {
8
+ text: string;
9
+ type: ToastType;
10
+ };
11
+ export declare const Toast: ({ text, type }: ToastProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type ToasterProps = {
4
+ children: ReactNode;
5
+ };
6
+ export declare const Toaster: ({ children, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default Toaster;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { ToastType } from '../index.ts';
3
+
4
+ type ToasterContextType = {
5
+ toast: ({ text, type }: {
6
+ text: string;
7
+ type: ToastType;
8
+ }) => void;
9
+ };
10
+ export declare const ToasterContext: React.Context<ToasterContextType>;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './Toast';
2
+ export * from './Toaster';
3
+ export * from './ToasterContext';
@@ -0,0 +1,8 @@
1
+ import { TooltipProps } from 'antd';
2
+ import { TooltipPlacement } from 'antd/lib/tooltip';
3
+
4
+ export type TooltipPropsExtended = TooltipProps & {
5
+ position?: TooltipPlacement;
6
+ };
7
+ export declare const Tooltip: ({ position, placement, children, ...props }: TooltipPropsExtended) => import("react/jsx-runtime").JSX.Element;
8
+ export default Tooltip;
@@ -0,0 +1 @@
1
+ export * from './Tooltip';
@@ -0,0 +1,42 @@
1
+ export * from './Icon';
2
+ export * from './Spinner';
3
+ export * from './Input';
4
+ export * from './Alert';
5
+ export * from './Button';
6
+ export * from './Card';
7
+ export * from './Cascader';
8
+ export * from './Cell';
9
+ export * from './Chart';
10
+ export * from './Checkbox';
11
+ export * from './ColorPicker';
12
+ export * from './Divider';
13
+ export * from './Dots';
14
+ export * from './Dropdown';
15
+ export * from './FieldGroup';
16
+ export * from './FormControl';
17
+ export * from './Heading';
18
+ export * from './Gauge';
19
+ export * from './Grid';
20
+ export * from './Loading';
21
+ export * from './Modal';
22
+ export * from './Paragraph';
23
+ export * from './Pagination';
24
+ export * from './Popover';
25
+ export * from './Progress';
26
+ export * from './Section';
27
+ export * from './Result';
28
+ export * from './Row';
29
+ export * from './Tag';
30
+ export * from './Tabs';
31
+ export * from './TagGroup';
32
+ export * from './Table';
33
+ export * from './Theme';
34
+ export * from './Toaster';
35
+ export * from './Tooltip';
36
+ export * from './Switch';
37
+ export * from './SwitchPeriodComparative';
38
+ export * from './Select';
39
+ export * from './DatePicker';
40
+ export { ConfigProvider } from 'antd';
41
+ export { DataIdProvider } from './DataId/DataIdProvider';
42
+ export { withDataId } from './DataId/withDataId';
@@ -0,0 +1,5 @@
1
+ import { GlobalStyle, IsolatedGlobalStyle, UIComponentsStyle } from './utils/global';
2
+ import { color as colors } from './utils/theme';
3
+
4
+ export * from './components';
5
+ export { GlobalStyle, IsolatedGlobalStyle, UIComponentsStyle, colors };
@@ -0,0 +1,12 @@
1
+ import { Theme } from '../../utils/theme';
2
+ import { ReactNode } from 'react';
3
+
4
+ type StyledAlertProps = {
5
+ $type: string;
6
+ $description?: string;
7
+ $message: ReactNode;
8
+ $showIcon?: boolean;
9
+ theme: Theme;
10
+ };
11
+ declare const StyledAlert: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledAlertProps>> & string;
12
+ export { StyledAlert };
@@ -0,0 +1,44 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ export declare const getSpinnerWhite: () => import('styled-components').RuleSet<object>;
4
+ export declare const getButtonBase: (theme: Theme) => import('styled-components').RuleSet<object>;
5
+ type ButtonSizeProps = {
6
+ $size: string;
7
+ theme: Theme;
8
+ };
9
+ export declare const getButtonSize: (props: ButtonSizeProps) => import('styled-components').RuleSet<object>;
10
+ export declare const getIconSize: (props: StyledButtonProps) => import('styled-components').RuleSet<object>;
11
+ export type ButtonVariantProps = {
12
+ theme: Theme;
13
+ disabled: boolean;
14
+ $isLoading: boolean;
15
+ $iconColor?: string;
16
+ };
17
+ export declare const getButtonVariantPrimary: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
18
+ export declare const getButtonVariantSecondary: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
19
+ export declare const getButtonVariantOutline: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
20
+ export declare const getButtonVariantDestructive: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
21
+ export declare const getButtonVariantLink: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
22
+ export declare const getButtonVariantIcon: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
23
+ export declare const getButtonVariantIconSecondary: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
24
+ export declare const getButtonVariantIconOutline: (props: ButtonVariantProps) => import('styled-components').RuleSet<object>;
25
+ export declare const getButtonExpanded: () => import('styled-components').RuleSet<object>;
26
+ export declare const getButtonDisabled: () => import('styled-components').RuleSet<object>;
27
+ export declare const getButtonLoading: (props: StyledButtonProps) => import('styled-components').RuleSet<object>;
28
+ export declare const getButtonCircle: (props: StyledButtonProps) => import('styled-components').RuleSet<object>;
29
+ declare const StyledButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledButtonProps>> & string;
30
+ export declare const getButtonGroupBase: () => import('styled-components').RuleSet<object>;
31
+ declare const StyledButtonGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
32
+ export type StyledButtonProps = {
33
+ $size: string;
34
+ $variant: string;
35
+ disabled: boolean;
36
+ $isCircle: boolean;
37
+ $isExpanded: boolean;
38
+ $isLoading: boolean;
39
+ $iconColor?: string;
40
+ $iconAfter?: string;
41
+ $text?: string;
42
+ theme: Theme;
43
+ };
44
+ export { StyledButton, StyledButtonGroup };
@@ -0,0 +1,14 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ export declare const getHorizontal: () => import('styled-components').RuleSet<object>;
4
+ export declare const getTextTruncate: () => import('styled-components').RuleSet<object>;
5
+ type StyledCardProps = {
6
+ theme: Theme;
7
+ $isHorizontal?: boolean;
8
+ $hasFooter?: boolean;
9
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
10
+ onFocus?: (event: React.FocusEvent<HTMLAnchorElement>) => void;
11
+ };
12
+ declare const StyledCard: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledCardProps>> & string;
13
+ declare const StyledCardLink: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, StyledCardProps>> & string;
14
+ export { StyledCard, StyledCardLink };
@@ -0,0 +1,11 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ type StyledTagSelectedProps = {
4
+ theme: Theme;
5
+ $closable: boolean;
6
+ icon?: string;
7
+ };
8
+ export declare const StyledTagSelected: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, StyledTagSelectedProps>> & string;
9
+ export declare const getCascaderStyle: import('styled-components').RuleSet<object>;
10
+ export declare const CascaderOptionStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
11
+ export {};
@@ -0,0 +1,16 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ type StyledCellProps = {
4
+ $direction?: string;
5
+ $xs?: number;
6
+ $xsOffset?: number;
7
+ $sm?: number;
8
+ $smOffset?: number;
9
+ $md?: number;
10
+ $mdOffset?: number;
11
+ $lg?: number;
12
+ $lgOffset?: number;
13
+ theme: Theme;
14
+ };
15
+ declare const StyledCell: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledCellProps>> & string;
16
+ export { StyledCell };
@@ -0,0 +1,3 @@
1
+ export declare const StyledChart: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const StyledChartError: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const StyledChartLoading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,50 @@
1
+ import { SketchPicker } from 'react-color';
2
+ import { Theme } from '../../utils/theme';
3
+
4
+ declare const StyledColorPickerLayout: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ declare const StyledColorPickerInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<{
6
+ placeholder?: string;
7
+ id?: string;
8
+ icon?: string;
9
+ label?: string | import('react').ReactNode;
10
+ title?: string;
11
+ value?: string;
12
+ isLoading?: boolean;
13
+ type?: string;
14
+ name?: string;
15
+ disabled?: boolean;
16
+ dataId?: string;
17
+ } & import('react').InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>, "dataId"> & Partial<{
18
+ dataId?: string;
19
+ }>, "ref"> & import('react').RefAttributes<unknown>, "ref"> & {
20
+ ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
21
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<Omit<{
22
+ placeholder?: string;
23
+ id?: string;
24
+ icon?: string;
25
+ label?: string | import('react').ReactNode;
26
+ title?: string;
27
+ value?: string;
28
+ isLoading?: boolean;
29
+ type?: string;
30
+ name?: string;
31
+ disabled?: boolean;
32
+ dataId?: string;
33
+ } & import('react').InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>, "dataId"> & Partial<{
34
+ dataId?: string;
35
+ }>, "ref"> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
36
+ declare const StyledSpinnerColorPicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
37
+ color?: string;
38
+ size?: number;
39
+ }, {
40
+ $showInput: boolean;
41
+ theme: Theme;
42
+ }>> & string & Omit<({ color, size, ...props }: {
43
+ color?: string;
44
+ size?: number;
45
+ }) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
46
+ declare const StyledColorPanel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
47
+ declare const StyledSketchPicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react-color').SketchPickerProps, "ref"> & import('react').RefAttributes<SketchPicker>, never>> & string & Omit<typeof SketchPicker, keyof import('react').Component<any, {}, any>>;
48
+ declare const StyledColorPickerSwatch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
49
+ declare const StyledColorPickerPopover: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
50
+ export { StyledColorPickerLayout, StyledColorPickerInput, StyledSketchPicker, StyledSpinnerColorPicker, StyledColorPanel, StyledColorPickerPopover, StyledColorPickerSwatch };
@@ -0,0 +1,25 @@
1
+ import { AntdDatePickerProps, AntdRangePickerProps } from '../../components/DatePicker';
2
+
3
+ declare const StyledAntdDatePicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<((import('antd/es/date-picker/generatePicker').PickerProps<import('dayjs').Dayjs> & {
4
+ status?: "" | "warning" | "error" | undefined;
5
+ hashId?: string | undefined;
6
+ popupClassName?: string | undefined;
7
+ rootClassName?: string | undefined;
8
+ }) & import('react').RefAttributes<import('react').Component<import('antd/es/date-picker/generatePicker').PickerProps<import('dayjs').Dayjs> & {
9
+ status?: "" | "warning" | "error" | undefined;
10
+ hashId?: string | undefined;
11
+ popupClassName?: string | undefined;
12
+ rootClassName?: string | undefined;
13
+ }, unknown, any>>) & import('styled-components/dist/types').BaseObject, AntdDatePickerProps>> & string & Omit<import('antd/es/date-picker').DatePickerType, keyof import('react').Component<any, {}, any>>;
14
+ declare const StyledAntdRangePicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<((import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
15
+ dropdownClassName?: string | undefined;
16
+ popupClassName?: string | undefined;
17
+ }) & import('react').RefAttributes<import('react').Component<import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
18
+ dropdownClassName?: string | undefined;
19
+ popupClassName?: string | undefined;
20
+ }, unknown, any>>) & import('styled-components/dist/types').BaseObject, AntdRangePickerProps>> & string & Omit<import('antd/es/date-picker/generatePicker/interface').PickerComponentClass<import('antd/es/date-picker/generatePicker').RangePickerProps<import('dayjs').Dayjs> & {
21
+ dropdownClassName?: string | undefined;
22
+ popupClassName?: string | undefined;
23
+ }, unknown>, keyof import('react').Component<any, {}, any>>;
24
+ declare const DropdownDatePickerStyles: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
25
+ export { StyledAntdDatePicker, StyledAntdRangePicker, DropdownDatePickerStyles };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {
4
+ $vertical?: boolean;
5
+ theme: Theme;
6
+ }>> & string;
7
+ export { StyledDivider };
@@ -0,0 +1,10 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledDot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ theme: Theme;
5
+ size: number;
6
+ }>> & string;
7
+ declare const StyledDots: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
8
+ size: number;
9
+ }>> & string;
10
+ export { StyledDots, StyledDot };
@@ -0,0 +1,88 @@
1
+ declare const StyledGlobalDropdown: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
2
+ export declare const StyledDropdownInnerButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<{
3
+ text?: string;
4
+ size?: string | import('../../components/index.ts').ButtonSize;
5
+ variant?: string;
6
+ iconBefore?: string;
7
+ iconAfter?: string;
8
+ iconColor?: string;
9
+ tooltip?: string;
10
+ onClick?: (e?: any) => void;
11
+ onFocus?: () => void;
12
+ isLoading?: boolean;
13
+ isDisabled?: boolean;
14
+ isCircle?: boolean;
15
+ isExpanded?: boolean;
16
+ debounceTime?: number;
17
+ children?: import('react').ReactNode;
18
+ dataId?: string;
19
+ 'data-testid'?: string;
20
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
21
+ dataId?: string;
22
+ }> & import('react').RefAttributes<unknown>, "ref"> & {
23
+ ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
24
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
25
+ text?: string;
26
+ size?: string | import('../../components/index.ts').ButtonSize;
27
+ variant?: string;
28
+ iconBefore?: string;
29
+ iconAfter?: string;
30
+ iconColor?: string;
31
+ tooltip?: string;
32
+ onClick?: (e?: any) => void;
33
+ onFocus?: () => void;
34
+ isLoading?: boolean;
35
+ isDisabled?: boolean;
36
+ isCircle?: boolean;
37
+ isExpanded?: boolean;
38
+ debounceTime?: number;
39
+ children?: import('react').ReactNode;
40
+ dataId?: string;
41
+ 'data-testid'?: string;
42
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
43
+ dataId?: string;
44
+ }> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
45
+ export declare const StyledDropdownButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<{
46
+ text?: string;
47
+ size?: string | import('../../components/index.ts').ButtonSize;
48
+ variant?: string;
49
+ iconBefore?: string;
50
+ iconAfter?: string;
51
+ iconColor?: string;
52
+ tooltip?: string;
53
+ onClick?: (e?: any) => void;
54
+ onFocus?: () => void;
55
+ isLoading?: boolean;
56
+ isDisabled?: boolean;
57
+ isCircle?: boolean;
58
+ isExpanded?: boolean;
59
+ debounceTime?: number;
60
+ children?: import('react').ReactNode;
61
+ dataId?: string;
62
+ 'data-testid'?: string;
63
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
64
+ dataId?: string;
65
+ }> & import('react').RefAttributes<unknown>, "ref"> & {
66
+ ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
67
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
68
+ text?: string;
69
+ size?: string | import('../../components/index.ts').ButtonSize;
70
+ variant?: string;
71
+ iconBefore?: string;
72
+ iconAfter?: string;
73
+ iconColor?: string;
74
+ tooltip?: string;
75
+ onClick?: (e?: any) => void;
76
+ onFocus?: () => void;
77
+ isLoading?: boolean;
78
+ isDisabled?: boolean;
79
+ isCircle?: boolean;
80
+ isExpanded?: boolean;
81
+ debounceTime?: number;
82
+ children?: import('react').ReactNode;
83
+ dataId?: string;
84
+ 'data-testid'?: string;
85
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
86
+ dataId?: string;
87
+ }> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
88
+ export { StyledGlobalDropdown };
@@ -0,0 +1,16 @@
1
+ import { Theme } from '../../utils/theme';
2
+ import { FieldGroupType } from '../../components/FieldGroup';
3
+
4
+ export declare const getSplitVariant: (props: StyledFieldGroupProps) => import('styled-components').RuleSet<object>;
5
+ export declare const getCustomVariant: (props: StyledFieldGroupProps) => import('styled-components').RuleSet<object>;
6
+ export declare const getVertical: () => import('styled-components').RuleSet<object>;
7
+ export declare const getHorizontal: () => import('styled-components').RuleSet<object>;
8
+ type StyledFieldGroupProps = {
9
+ $vertical?: boolean;
10
+ size?: string;
11
+ variant?: string;
12
+ type?: FieldGroupType;
13
+ theme: Theme;
14
+ };
15
+ declare const StyledFieldGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledFieldGroupProps>> & string;
16
+ export { StyledFieldGroup };
@@ -0,0 +1,5 @@
1
+ declare const StyledFormControl: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ $error?: boolean;
3
+ $success?: boolean;
4
+ }>> & string;
5
+ export { StyledFormControl };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledGrid: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $fluid?: boolean;
5
+ theme: Theme;
6
+ }>> & string;
7
+ export { StyledGrid };
@@ -0,0 +1,8 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledHeading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
+ $color: string;
6
+ theme: Theme;
7
+ }>> & string;
8
+ export { StyledHeading };
@@ -0,0 +1,5 @@
1
+ type StyledIconProps = {
2
+ $fillColor: string;
3
+ };
4
+ declare const StyledIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').SVGProps<SVGSVGElement>, StyledIconProps>> & string;
5
+ export { StyledIcon };
@@ -0,0 +1,11 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ export declare const getLoading: (props: any) => import('styled-components').RuleSet<object>;
4
+ export declare const getIcon: (props: any) => import('styled-components').RuleSet<object>;
5
+ declare const StyledInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
+ $focused: boolean;
7
+ $icon?: string;
8
+ $isLoading?: boolean;
9
+ theme: Theme;
10
+ }>> & string;
11
+ export { StyledInput };
@@ -0,0 +1,2 @@
1
+ declare const StyledLoading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { StyledLoading };
@@ -0,0 +1,14 @@
1
+ import { ModalProps as AntDModalProps } from 'antd';
2
+ import { Theme } from '../../utils/theme';
3
+
4
+ type ModalProps = AntDModalProps & {
5
+ theme: Theme;
6
+ };
7
+ declare const StyledModal: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<AntDModalProps, ModalProps>> & string & Omit<import('react').FC<AntDModalProps> & import('antd/es/modal/confirm').ModalStaticFunctions & {
8
+ useModal: typeof import('antd/es/modal/useModal').default;
9
+ destroyAll: () => void;
10
+ config: typeof import('antd/es/modal/confirm').modalGlobalConfig;
11
+ _InternalPanelDoNotUseOrYouWillBeFired: import('react').FC<import('antd/es/modal/PurePanel').PurePanelProps>;
12
+ }, keyof import('react').Component<any, {}, any>>;
13
+ declare const StyledModalGlobal: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
14
+ export { StyledModal, StyledModalGlobal };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ export declare const getStyledPagination: (theme: Theme) => import('styled-components').RuleSet<object>;
4
+ declare const StyledPagination: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ theme: Theme;
6
+ }>> & string;
7
+ export { StyledPagination };
@@ -0,0 +1,9 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledParagraph: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $margin: string;
5
+ color: string;
6
+ size: "small" | "medium" | "large" | "xlarge";
7
+ theme: Theme;
8
+ }>> & string;
9
+ export { StyledParagraph };
@@ -0,0 +1,14 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledProgress: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ theme: Theme;
5
+ $percent: number;
6
+ $color: string;
7
+ $isTransparent?: boolean;
8
+ }>> & string;
9
+ declare const StyledMark: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
10
+ theme: Theme;
11
+ $color: string;
12
+ $value: number;
13
+ }>> & string;
14
+ export { StyledProgress, StyledMark };
@@ -0,0 +1,10 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledResult: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
4
+ fluid?: boolean;
5
+ } & import('react').HTMLAttributes<HTMLDivElement>, {
6
+ theme: Theme;
7
+ }>> & string & Omit<({ fluid, children, ...props }: {
8
+ fluid?: boolean;
9
+ } & import('react').HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
10
+ export { StyledResult };
@@ -0,0 +1,8 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $reverse?: boolean;
5
+ $alignItems?: string;
6
+ theme: Theme;
7
+ }>> & string;
8
+ export { StyledRow };
@@ -0,0 +1,9 @@
1
+ type SectionProps = {
2
+ $title?: boolean;
3
+ $hasButtons: boolean;
4
+ };
5
+ declare const StyledSection: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
6
+ reverse?: boolean;
7
+ alignItems?: string;
8
+ } & import('react').HTMLAttributes<HTMLDivElement>, SectionProps>> & string & Omit<({ alignItems, reverse, children, ...props }: import('../../components/Row').RowhProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
9
+ export { StyledSection };