@addev-be/ui 1.2.1 → 2.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 (108) hide show
  1. package/dist/components/auth/styles.d.ts +1 -3
  2. package/dist/components/data/DataGrid/DataGridColumnsModal/styles.d.ts +6 -18
  3. package/dist/components/data/DataGrid/DataGridEditableCell/CheckboxEditableCell.d.ts +1 -1
  4. package/dist/components/data/DataGrid/DataGridEditableCell/CheckboxEditableCell.js +3 -3
  5. package/dist/components/data/DataGrid/DataGridEditableCell/DateEditableCell.d.ts +1 -1
  6. package/dist/components/data/DataGrid/DataGridEditableCell/DateEditableCell.js +4 -4
  7. package/dist/components/data/DataGrid/DataGridEditableCell/NumberEditableCell.d.ts +2 -2
  8. package/dist/components/data/DataGrid/DataGridEditableCell/NumberEditableCell.js +4 -4
  9. package/dist/components/data/DataGrid/DataGridEditableCell/TextEditableCell.d.ts +1 -1
  10. package/dist/components/data/DataGrid/DataGridEditableCell/TextEditableCell.js +3 -3
  11. package/dist/components/data/DataGrid/DataGridEditableCell/types.d.ts +3 -3
  12. package/dist/components/data/DataGrid/DataGridFilterMenu/styles.d.ts +5 -15
  13. package/dist/components/data/DataGrid/FilterModalContent/styles.d.ts +1 -3
  14. package/dist/components/data/DataGrid/helpers/columns.d.ts +1 -1
  15. package/dist/components/data/DataGrid/helpers/columns.js +18 -4
  16. package/dist/components/data/DataGrid/index.d.ts +3 -44
  17. package/dist/components/data/DataGrid/index.js +4 -5
  18. package/dist/components/data/DataGrid/styles.d.ts +6 -18
  19. package/dist/components/data/SqlRequestDataGrid/SqlRequestForeignListEditableCell.d.ts +2 -1
  20. package/dist/components/data/SqlRequestDataGrid/SqlRequestForeignListEditableCell.js +2 -3
  21. package/dist/components/data/SqlRequestDataGrid/helpers/columns.d.ts +1 -1
  22. package/dist/components/data/SqlRequestDataGrid/helpers/columns.js +33 -22
  23. package/dist/components/data/SqlRequestDataGrid/helpers/rows.d.ts +2 -0
  24. package/dist/components/data/SqlRequestDataGrid/helpers/rows.js +17 -0
  25. package/dist/components/data/SqlRequestDataGrid/index.d.ts +4 -11
  26. package/dist/components/data/SqlRequestDataGrid/index.js +4 -5
  27. package/dist/components/data/SqlRequestForeignList/index.d.ts +4 -3
  28. package/dist/components/data/SqlRequestForeignList/index.js +4 -5
  29. package/dist/components/data/SqlRequestGrid/index.d.ts +4 -3
  30. package/dist/components/data/SqlRequestGrid/index.js +18 -18
  31. package/dist/components/data/SqlRequestGrid/styles.d.ts +1 -3
  32. package/dist/components/data/VirtualScroller/styles.d.ts +2 -6
  33. package/dist/components/forms/Button.d.ts +1 -1
  34. package/dist/components/forms/Form/CustomSelect.d.ts +1 -1
  35. package/dist/components/forms/Form/CustomSelect.js +3 -4
  36. package/dist/components/forms/Form/Select.d.ts +1 -1
  37. package/dist/components/forms/Form/Select.js +3 -4
  38. package/dist/components/forms/Form/index.d.ts +4 -4
  39. package/dist/components/forms/Form/styles.d.ts +1 -3
  40. package/dist/components/forms/Form/styles.js +1 -1
  41. package/dist/components/forms/IconButton.d.ts +2 -2
  42. package/dist/components/forms/IconButton.js +4 -4
  43. package/dist/components/forms/NumberInput.d.ts +2 -2
  44. package/dist/components/forms/styles.d.ts +1 -3
  45. package/dist/components/layout/Dropdown/styles.d.ts +2 -6
  46. package/dist/components/layout/Grid/styles.d.ts +1 -3
  47. package/dist/components/layout/Loading/styles.d.ts +2 -6
  48. package/dist/components/layout/Modal/styles.d.ts +8 -26
  49. package/dist/components/search/styles.d.ts +9 -27
  50. package/dist/components/ui/Card/styles.d.ts +3 -9
  51. package/dist/components/ui/ContextMenu/styles.d.ts +4 -12
  52. package/dist/components/ui/Ellipsis.d.ts +0 -1
  53. package/dist/components/ui/Label.d.ts +2 -2
  54. package/dist/components/ui/Label.js +4 -4
  55. package/dist/components/ui/Message/index.js +1 -1
  56. package/dist/components/ui/Message/styles.d.ts +3 -6
  57. package/dist/components/ui/Message/styles.js +3 -2
  58. package/dist/helpers/components.d.ts +1 -2
  59. package/dist/helpers/components.js +1 -8
  60. package/dist/helpers/react.d.ts +2 -0
  61. package/dist/helpers/react.js +8 -0
  62. package/dist/hooks/useMutableState.d.ts +7 -1
  63. package/dist/providers/PortalsProvider/styles.d.ts +3 -9
  64. package/dist/providers/ThemeProvider/helpers.d.ts +1 -1
  65. package/dist/providers/ThemeProvider/types.d.ts +1 -1
  66. package/dist/providers/UiProviders/styles.d.ts +1 -3
  67. package/dist/services/requests/auth.d.ts +4 -4
  68. package/dist/services/requests/tracking.d.ts +2 -2
  69. package/dist/services/requests/userProfiles.d.ts +4 -4
  70. package/dist/services/requests/users.d.ts +8 -8
  71. package/dist/services/types/auth.d.ts +4 -4
  72. package/dist/services/types/base.d.ts +1 -1
  73. package/dist/services/types/base.js +1 -1
  74. package/dist/services/types/tracking.d.ts +3 -3
  75. package/dist/services/types/userProfiles.d.ts +5 -5
  76. package/dist/services/types/users.d.ts +10 -10
  77. package/dist/types.d.ts +3 -0
  78. package/dist/types.js +2 -0
  79. package/package.json +4 -4
  80. package/src/components/data/DataGrid/DataGridEditableCell/CheckboxEditableCell.tsx +7 -8
  81. package/src/components/data/DataGrid/DataGridEditableCell/DateEditableCell.tsx +7 -8
  82. package/src/components/data/DataGrid/DataGridEditableCell/NumberEditableCell.tsx +17 -21
  83. package/src/components/data/DataGrid/DataGridEditableCell/TextEditableCell.tsx +7 -8
  84. package/src/components/data/DataGrid/DataGridEditableCell/types.ts +5 -6
  85. package/src/components/data/DataGrid/helpers/columns.tsx +7 -8
  86. package/src/components/data/DataGrid/index.tsx +9 -20
  87. package/src/components/data/SqlRequestDataGrid/helpers/columns.tsx +32 -54
  88. package/src/components/data/SqlRequestDataGrid/helpers/rows.ts +24 -0
  89. package/src/components/data/SqlRequestDataGrid/index.tsx +9 -12
  90. package/src/components/data/SqlRequestForeignList/index.tsx +20 -23
  91. package/src/components/data/SqlRequestGrid/index.tsx +7 -8
  92. package/src/components/forms/Form/CustomSelect.tsx +14 -22
  93. package/src/components/forms/Form/Select.tsx +14 -19
  94. package/src/components/forms/Form/styles.ts +1 -1
  95. package/src/components/forms/IconButton.tsx +11 -17
  96. package/src/components/ui/Ellipsis.tsx +0 -1
  97. package/src/components/ui/Label.tsx +11 -17
  98. package/src/components/ui/Message/index.tsx +1 -1
  99. package/src/components/ui/Message/styles.ts +4 -0
  100. package/src/helpers/components.ts +1 -15
  101. package/src/hooks/useMutableState.ts +9 -1
  102. package/src/providers/ThemeProvider/helpers.ts +1 -1
  103. package/src/providers/ThemeProvider/types.ts +1 -1
  104. package/src/services/types/base.ts +1 -1
  105. package/src/types.ts +8 -0
  106. package/src/typings.d.ts +0 -15
  107. package/tsconfig.tsbuildinfo +1 -1
  108. package/src/components/data/SqlRequestDataGrid/SqlRequestForeignListEditableCell.tsx +0 -16
@@ -1,28 +1,10 @@
1
- export declare const QuickSearchDropdownContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
3
- }>, never>, never>> & string;
4
- export declare const QuickSearchResultsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
6
- }>, never>, never>> & string;
7
- export declare const QuickSearchResultsListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
9
- }>, never>, never>> & string;
10
- export declare const QuickSearchResultsTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
12
- }>, never>, never>> & string;
13
- export declare const QuickSearchResultsItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
15
- }>, never>, never>> & string;
16
- export declare const QuickSearchResultsDetailsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
18
- }>, never>, never>> & string;
1
+ export declare const QuickSearchDropdownContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
2
+ export declare const QuickSearchResultsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
3
+ export declare const QuickSearchResultsListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
4
+ export declare const QuickSearchResultsTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
5
+ export declare const QuickSearchResultsItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
6
+ export declare const QuickSearchResultsDetailsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
19
7
  export declare const QuickSearchResultsDetailsDivider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>> & string;
20
- export declare const QuickSearchResultDetailsTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
22
- }>, never>, never>> & string;
23
- export declare const QuickSearchResultsDetailsList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & {
24
- ref?: ((instance: HTMLDListElement | null) => 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<HTMLDListElement> | null | undefined;
25
- }>, never>, never>> & string;
26
- export declare const QuickSearchResultsDetailsTerm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
27
- ref?: ((instance: HTMLElement | null) => 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<HTMLElement> | null | undefined;
28
- }>, never>, never>> & string;
8
+ export declare const QuickSearchResultDetailsTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
9
+ export declare const QuickSearchResultsDetailsList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>>, never>, never>> & string;
10
+ export declare const QuickSearchResultsDetailsTerm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>, never>, never>> & string;
@@ -1,9 +1,3 @@
1
- export declare const CardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
3
- }>, never>, never>> & string;
4
- export declare const CardHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
6
- }>, never>, never>> & string;
7
- export declare const CardFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
9
- }>, never>, never>> & string;
1
+ export declare const CardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
2
+ export declare const CardHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
3
+ export declare const CardFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
@@ -1,18 +1,10 @@
1
1
  import { ThemeColor } from '../../../providers/ThemeProvider/types';
2
- export declare const MenuContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
4
- }>, never>, never>> & string;
5
- export declare const SubMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
7
- }>, never>, never>> & string;
8
- export declare const MenuItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
10
- }>, never>, {
2
+ export declare const MenuContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
3
+ export declare const SubMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
4
+ export declare const MenuItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, {
11
5
  $color?: ThemeColor;
12
6
  disabled?: boolean;
13
7
  $withArrow?: boolean;
14
8
  $opened?: boolean;
15
9
  }>> & string;
16
- export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
18
- }>, never>, never>> & string;
10
+ export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
@@ -1,5 +1,4 @@
1
1
  type EllipsisProps = React.HTMLAttributes<HTMLElement> & {
2
- as?: keyof JSX.IntrinsicElements;
3
2
  $width?: string;
4
3
  $maxWidth?: string;
5
4
  $multiline?: boolean;
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ForwardedRef } from 'react';
1
+ import { ComponentProps } from 'react';
2
2
  import { ThemeColor } from '../../providers/ThemeProvider/types';
3
3
  export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, LabelProps>> & string;
4
4
  export type LabelProps = {
@@ -7,4 +7,4 @@ export type LabelProps = {
7
7
  rounded?: boolean;
8
8
  bordered?: boolean;
9
9
  };
10
- export declare const Label: ({ children, size, className, ...props }: ComponentProps<typeof StyledLabel> & LabelProps, ref: ForwardedRef<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Label: ({ children, size, className, ref, ...props }: ComponentProps<typeof StyledLabel> & LabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -62,7 +62,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
62
62
  exports.Label = exports.StyledLabel = void 0;
63
63
  var jsx_runtime_1 = require("react/jsx-runtime");
64
64
  var styled_components_1 = __importStar(require("styled-components"));
65
- var components_1 = require("../../helpers/components");
66
65
  exports.StyledLabel = styled_components_1.default.span.withConfig({
67
66
  shouldForwardProp: function () { return true; },
68
67
  })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-sans);\n font-weight: 500;\n\n ", "\n\n ", "\n\n ", "\n\n &.small {\n padding: var(--space-0_5) var(--space-1_5);\n font-size: var(--text-xs);\n border-radius: var(--rounded-sm);\n svg {\n margin-right: var(--space-1);\n width: var(--space-3);\n height: var(--space-3);\n }\n }\n\n &.medium {\n padding: var(--space-1) var(--space-2);\n font-size: var(--text-sm);\n border-radius: var(--rounded-md);\n svg {\n margin-right: var(--space-1);\n width: var(--space-3_5);\n height: var(--space-3_5);\n }\n }\n\n &.large {\n padding: var(--space-1_5) var(--space-2_5);\n font-size: var(--text-base);\n border-radius: var(--rounded-lg);\n svg {\n margin-right: var(--space-1_5);\n width: var(--space-4);\n height: var(--space-4);\n }\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-sans);\n font-weight: 500;\n\n ", "\n\n ", "\n\n ", "\n\n &.small {\n padding: var(--space-0_5) var(--space-1_5);\n font-size: var(--text-xs);\n border-radius: var(--rounded-sm);\n svg {\n margin-right: var(--space-1);\n width: var(--space-3);\n height: var(--space-3);\n }\n }\n\n &.medium {\n padding: var(--space-1) var(--space-2);\n font-size: var(--text-sm);\n border-radius: var(--rounded-md);\n svg {\n margin-right: var(--space-1);\n width: var(--space-3_5);\n height: var(--space-3_5);\n }\n }\n\n &.large {\n padding: var(--space-1_5) var(--space-2_5);\n font-size: var(--text-base);\n border-radius: var(--rounded-lg);\n svg {\n margin-right: var(--space-1_5);\n width: var(--space-4);\n height: var(--space-4);\n }\n }\n"])), function (_a) {
@@ -77,8 +76,9 @@ exports.StyledLabel = styled_components_1.default.span.withConfig({
77
76
  var rounded = _a.rounded;
78
77
  return rounded && 'border-radius: var(--rounded-full);';
79
78
  });
80
- exports.Label = (0, components_1.forwardRefWithName)(function (_a, ref) {
81
- var children = _a.children, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, props = __rest(_a, ["children", "size", "className"]);
79
+ var Label = function (_a) {
80
+ var children = _a.children, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, ref = _a.ref, props = __rest(_a, ["children", "size", "className", "ref"]);
82
81
  return ((0, jsx_runtime_1.jsx)(exports.StyledLabel, __assign({ ref: ref, className: "".concat(size, " ").concat(className) }, props, { children: children })));
83
- }, 'Label');
82
+ };
83
+ exports.Label = Label;
84
84
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -58,6 +58,6 @@ var colorsMap = {
58
58
  var Message = function (_a) {
59
59
  var children = _a.children, title = _a.title, type = _a.type;
60
60
  var _b = colorsMap[type], Icon = _b.iconComponent, _c = _b.baseColor, baseColor = _c === void 0 ? 'base' : _c;
61
- return ((0, jsx_runtime_1.jsxs)(styles.MessageContainer, { "$baseColor": baseColor, children: [(0, jsx_runtime_1.jsx)(Icon, { className: "MessageIcon" }), (0, jsx_runtime_1.jsxs)(styles.MessageContent, { children: [title && (0, jsx_runtime_1.jsx)("h3", { children: title }), (0, jsx_runtime_1.jsx)("div", { children: children })] })] }));
61
+ return ((0, jsx_runtime_1.jsxs)(styles.MessageContainer, { "$baseColor": baseColor, children: [(0, jsx_runtime_1.jsx)(Icon, { className: "MessageIcon" }), (0, jsx_runtime_1.jsxs)(styles.MessageContent, { children: [title && (0, jsx_runtime_1.jsx)(styles.MessageTitle, { children: title }), (0, jsx_runtime_1.jsx)("div", { children: children })] })] }));
62
62
  };
63
63
  exports.Message = Message;
@@ -1,9 +1,6 @@
1
1
  import { ThemeColor } from '../../../providers';
2
- export declare const MessageContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
4
- }>, never>, {
2
+ export declare const MessageContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, {
5
3
  $baseColor: ThemeColor;
6
4
  }>> & string;
7
- export declare const MessageContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
9
- }>, never>, never>> & string;
5
+ export declare const MessageContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
6
+ export declare const MessageTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
@@ -37,7 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  };
38
38
  })();
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.MessageContent = exports.MessageContainer = void 0;
40
+ exports.MessageTitle = exports.MessageContent = exports.MessageContainer = void 0;
41
41
  var styled_components_1 = __importStar(require("styled-components"));
42
42
  exports.MessageContainer = styled_components_1.default.div.attrs({
43
43
  className: 'MessageContainer',
@@ -48,4 +48,5 @@ exports.MessageContainer = styled_components_1.default.div.attrs({
48
48
  exports.MessageContent = styled_components_1.default.div.attrs({
49
49
  className: 'MessageContent',
50
50
  })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n"], ["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n"])));
51
- var templateObject_1, templateObject_2, templateObject_3;
51
+ exports.MessageTitle = styled_components_1.default.h3(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));
52
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -1,3 +1,2 @@
1
- import { FC, ForwardRefRenderFunction } from 'react';
2
- export declare const forwardRefWithName: <C extends ForwardRefRenderFunction<any, any>, R = C extends ForwardRefRenderFunction<infer R_1, unknown> ? R_1 : unknown, P = C extends ForwardRefRenderFunction<unknown, infer P_1> ? P_1 : unknown>(render: C, displayName: string) => C;
1
+ import { FC } from 'react';
3
2
  export declare const withDisplayName: <P = {}>(component: FC<P>, displayName: string) => FC<P>;
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withDisplayName = exports.forwardRefWithName = void 0;
4
- var react_1 = require("react");
5
- var forwardRefWithName = function (render, displayName) {
6
- var forwardedComponent = (0, react_1.forwardRef)(render);
7
- forwardedComponent.displayName = displayName;
8
- return forwardedComponent;
9
- };
10
- exports.forwardRefWithName = forwardRefWithName;
3
+ exports.withDisplayName = void 0;
11
4
  var withDisplayName = function (component, displayName) {
12
5
  component.displayName = displayName;
13
6
  return component;
@@ -0,0 +1,2 @@
1
+ import { ForwardRefExoticComponent, ForwardRefRenderFunction, PropsWithoutRef, RefAttributes } from 'react';
2
+ export declare const forwardRefGeneric: <T, P = {}>(render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>) => ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.forwardRefGeneric = void 0;
4
+ var react_1 = require("react");
5
+ var forwardRefGeneric = function (render) {
6
+ return (0, react_1.forwardRef)(render);
7
+ };
8
+ exports.forwardRefGeneric = forwardRefGeneric;
@@ -1,2 +1,8 @@
1
- import { DeepPartial } from '../typings';
1
+ import { DeepPartial } from '../types';
2
+ export type PartialSetStateAction<T> = (partialValue: DeepPartial<T>) => void;
3
+ export type UseMutableStateReturn<T> = readonly [
4
+ T,
5
+ React.Dispatch<React.SetStateAction<T>>,
6
+ PartialSetStateAction<T>
7
+ ];
2
8
  export declare const useMutableState: <T>(initialValue?: T | (() => T)) => readonly [T, import("react").Dispatch<import("react").SetStateAction<T>>, (partialValue: DeepPartial<T>) => void];
@@ -1,9 +1,3 @@
1
- export declare const BackdropContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
3
- }>, never>, never>> & string;
4
- export declare const PortalsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
6
- }>, never>, never>> & string;
7
- export declare const PortalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
9
- }>, never>, never>> & string;
1
+ export declare const BackdropContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
2
+ export declare const PortalsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
3
+ export declare const PortalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
@@ -1,5 +1,5 @@
1
1
  import { Theme, ThemeColor, ThemeColorIntensity, ThemeColorWithIntensity } from './types';
2
- import { DeepPartial } from '../../typings';
2
+ import { DeepPartial } from '../../types';
3
3
  export declare const extendTheme: (base: Theme, override?: DeepPartial<Theme>) => Theme;
4
4
  export declare const extendDefaultTheme: (override?: DeepPartial<Theme>) => Theme;
5
5
  export declare const extendDefaultDarkTheme: (override?: DeepPartial<Theme>) => Theme;
@@ -1,4 +1,4 @@
1
- import { DeepPartial } from '../../typings';
1
+ import { DeepPartial } from '../../types';
2
2
  export type ThemeColorIntensity = 0 | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 | 1000;
3
3
  export type ThemeColorDefinition = Record<ThemeColorIntensity, string>;
4
4
  export type ThemeRawColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
@@ -1,3 +1 @@
1
- export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
- ref?: ((instance: HTMLDivElement | null) => 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<HTMLDivElement> | null | undefined;
3
- }>, never>, never>> & string;
1
+ export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, never>, never>> & string;
@@ -3,12 +3,12 @@ export declare const useAuthenticateRequestHandler: (name?: string) => (data: {
3
3
  }) => Promise<{
4
4
  status: number;
5
5
  user: {
6
- id: string | null;
6
+ id: string;
7
7
  username: string;
8
8
  permissions: string[];
9
9
  isAdmin: boolean;
10
10
  profile: {
11
- id: string | null;
11
+ id: string;
12
12
  name: string;
13
13
  permissions: string[];
14
14
  isAdmin: boolean;
@@ -25,12 +25,12 @@ export declare const useLoginRequestHandler: () => (data: {
25
25
  status: number;
26
26
  token: string;
27
27
  user: {
28
- id: string | null;
28
+ id: string;
29
29
  username: string;
30
30
  permissions: string[];
31
31
  isAdmin: boolean;
32
32
  profile: {
33
- id: string | null;
33
+ id: string;
34
34
  name: string;
35
35
  permissions: string[];
36
36
  isAdmin: boolean;
@@ -1,13 +1,13 @@
1
1
  export declare const useSendTrackingEventRequestHandler: () => (data: {
2
2
  data: {
3
- id: string | null;
3
+ id: string;
4
4
  name: string;
5
5
  details: Record<string, string | number | boolean | null>;
6
6
  };
7
7
  }) => Promise<{
8
8
  status: number;
9
9
  data: {
10
- id: string | null;
10
+ id: string;
11
11
  name: string;
12
12
  details: Record<string, string | number | boolean | null>;
13
13
  };
@@ -3,7 +3,7 @@ export declare const useGetUserProfileRequestHandler: () => (data: {
3
3
  }) => Promise<{
4
4
  status: number;
5
5
  data: {
6
- id: string | null;
6
+ id: string;
7
7
  name: string;
8
8
  permissions: string[];
9
9
  isAdmin: boolean;
@@ -11,7 +11,7 @@ export declare const useGetUserProfileRequestHandler: () => (data: {
11
11
  }>;
12
12
  export declare const useGetAllUserProfilesRequestHandler: () => (data: Record<string, never>) => Promise<{
13
13
  data: {
14
- id: string | null;
14
+ id: string;
15
15
  name: string;
16
16
  permissions: string[];
17
17
  isAdmin: boolean;
@@ -19,7 +19,7 @@ export declare const useGetAllUserProfilesRequestHandler: () => (data: Record<st
19
19
  }>;
20
20
  export declare const useSaveUserProfileRequestHandler: () => (data: {
21
21
  data: {
22
- id: string | null;
22
+ id: string;
23
23
  name: string;
24
24
  permissions: string[];
25
25
  isAdmin: boolean;
@@ -27,7 +27,7 @@ export declare const useSaveUserProfileRequestHandler: () => (data: {
27
27
  }) => Promise<{
28
28
  status: number;
29
29
  data: {
30
- id: string | null;
30
+ id: string;
31
31
  name: string;
32
32
  permissions: string[];
33
33
  isAdmin: boolean;
@@ -3,12 +3,12 @@ export declare const useGetUserRequestHandler: () => (data: {
3
3
  }) => Promise<{
4
4
  status: number;
5
5
  data: {
6
- id: string | null;
6
+ id: string;
7
7
  username: string;
8
8
  permissions: string[];
9
9
  isAdmin: boolean;
10
10
  profile: {
11
- id: string | null;
11
+ id: string;
12
12
  name: string;
13
13
  permissions: string[];
14
14
  isAdmin: boolean;
@@ -21,12 +21,12 @@ export declare const useGetUserRequestHandler: () => (data: {
21
21
  export declare const useGetAllUsersRequestHandler: () => (data: Record<string, never>) => Promise<{
22
22
  status: number;
23
23
  data: {
24
- id: string | null;
24
+ id: string;
25
25
  username: string;
26
26
  permissions: string[];
27
27
  isAdmin: boolean;
28
28
  profile: {
29
- id: string | null;
29
+ id: string;
30
30
  name: string;
31
31
  permissions: string[];
32
32
  isAdmin: boolean;
@@ -38,12 +38,12 @@ export declare const useGetAllUsersRequestHandler: () => (data: Record<string, n
38
38
  }>;
39
39
  export declare const useSaveUserRequestHandler: () => (data: {
40
40
  data: {
41
- id: string | null;
41
+ id: string;
42
42
  username: string;
43
43
  permissions: string[];
44
44
  isAdmin: boolean;
45
45
  profile: {
46
- id: string | null;
46
+ id: string;
47
47
  name: string;
48
48
  permissions: string[];
49
49
  isAdmin: boolean;
@@ -57,12 +57,12 @@ export declare const useSaveUserRequestHandler: () => (data: {
57
57
  }) => Promise<{
58
58
  status: number;
59
59
  data: {
60
- id: string | null;
60
+ id: string;
61
61
  username: string;
62
62
  permissions: string[];
63
63
  isAdmin: boolean;
64
64
  profile: {
65
- id: string | null;
65
+ id: string;
66
66
  name: string;
67
67
  permissions: string[];
68
68
  isAdmin: boolean;
@@ -7,12 +7,12 @@ export declare const loginResponseDtoSchema: z.ZodObject<{
7
7
  status: z.ZodNumber;
8
8
  token: z.ZodString;
9
9
  user: z.ZodNullable<z.ZodObject<{
10
- id: z.ZodNullable<z.ZodString>;
10
+ id: z.ZodUUID;
11
11
  username: z.ZodString;
12
12
  permissions: z.ZodArray<z.ZodString>;
13
13
  isAdmin: z.ZodBoolean;
14
14
  profile: z.ZodNullable<z.ZodObject<{
15
- id: z.ZodNullable<z.ZodString>;
15
+ id: z.ZodUUID;
16
16
  name: z.ZodString;
17
17
  permissions: z.ZodArray<z.ZodString>;
18
18
  isAdmin: z.ZodBoolean;
@@ -38,12 +38,12 @@ export declare const authenticateRequestDtoSchema: z.ZodObject<{
38
38
  export declare const authenticateResponseDtoSchema: z.ZodObject<{
39
39
  status: z.ZodNumber;
40
40
  user: z.ZodNullable<z.ZodObject<{
41
- id: z.ZodNullable<z.ZodString>;
41
+ id: z.ZodUUID;
42
42
  username: z.ZodString;
43
43
  permissions: z.ZodArray<z.ZodString>;
44
44
  isAdmin: z.ZodBoolean;
45
45
  profile: z.ZodNullable<z.ZodObject<{
46
- id: z.ZodNullable<z.ZodString>;
46
+ id: z.ZodUUID;
47
47
  name: z.ZodString;
48
48
  permissions: z.ZodArray<z.ZodString>;
49
49
  isAdmin: z.ZodBoolean;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
2
  export declare const baseModelDtoSchema: z.ZodObject<{
3
- id: z.ZodNullable<z.ZodString>;
3
+ id: z.ZodUUID;
4
4
  }, z.core.$strip>;
5
5
  export type BaseModelDTO = z.infer<typeof baseModelDtoSchema>;
6
6
  export declare const UUID_REGEX: RegExp;
@@ -36,6 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.UUID_REGEX = exports.baseModelDtoSchema = void 0;
37
37
  var z = __importStar(require("zod"));
38
38
  exports.baseModelDtoSchema = z.object({
39
- id: z.string().nullable(),
39
+ id: z.uuid(),
40
40
  });
41
41
  exports.UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
@@ -1,13 +1,13 @@
1
1
  import * as z from 'zod';
2
2
  export declare const trackingEventDtoSchema: z.ZodObject<{
3
- id: z.ZodNullable<z.ZodString>;
3
+ id: z.ZodUUID;
4
4
  name: z.ZodString;
5
5
  details: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
6
6
  }, z.core.$strip>;
7
7
  export type TrackingEventDTO = z.infer<typeof trackingEventDtoSchema>;
8
8
  export declare const sendTrackingEventRequestDtoSchema: z.ZodObject<{
9
9
  data: z.ZodObject<{
10
- id: z.ZodNullable<z.ZodString>;
10
+ id: z.ZodUUID;
11
11
  name: z.ZodString;
12
12
  details: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
13
13
  }, z.core.$strip>;
@@ -15,7 +15,7 @@ export declare const sendTrackingEventRequestDtoSchema: z.ZodObject<{
15
15
  export declare const sendTrackingEventResponseDtoSchema: z.ZodObject<{
16
16
  status: z.ZodNumber;
17
17
  data: z.ZodObject<{
18
- id: z.ZodNullable<z.ZodString>;
18
+ id: z.ZodUUID;
19
19
  name: z.ZodString;
20
20
  details: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
21
21
  }, z.core.$strip>;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
2
  export declare const userProfileDtoSchema: z.ZodObject<{
3
- id: z.ZodNullable<z.ZodString>;
3
+ id: z.ZodUUID;
4
4
  name: z.ZodString;
5
5
  permissions: z.ZodArray<z.ZodString>;
6
6
  isAdmin: z.ZodBoolean;
@@ -13,7 +13,7 @@ export declare const getUserProfileRequestDtoSchema: z.ZodObject<{
13
13
  export declare const getUserProfileResponseDtoSchema: z.ZodObject<{
14
14
  status: z.ZodNumber;
15
15
  data: z.ZodObject<{
16
- id: z.ZodNullable<z.ZodString>;
16
+ id: z.ZodUUID;
17
17
  name: z.ZodString;
18
18
  permissions: z.ZodArray<z.ZodString>;
19
19
  isAdmin: z.ZodBoolean;
@@ -25,7 +25,7 @@ export type GetUserProfileResponseDTO = z.infer<typeof getUserProfileResponseDto
25
25
  export declare const getAllUserProfilesRequestDtoSchema: z.ZodObject<{}, z.core.$strip>;
26
26
  export declare const getAllUserProfilesResponseDtoSchema: z.ZodObject<{
27
27
  data: z.ZodArray<z.ZodObject<{
28
- id: z.ZodNullable<z.ZodString>;
28
+ id: z.ZodUUID;
29
29
  name: z.ZodString;
30
30
  permissions: z.ZodArray<z.ZodString>;
31
31
  isAdmin: z.ZodBoolean;
@@ -36,7 +36,7 @@ export type GetAllUserProfilesResponseDTO = z.infer<typeof getAllUserProfilesRes
36
36
  /*****/
37
37
  export declare const saveUserProfileRequestDtoSchema: z.ZodObject<{
38
38
  data: z.ZodObject<{
39
- id: z.ZodNullable<z.ZodString>;
39
+ id: z.ZodUUID;
40
40
  name: z.ZodString;
41
41
  permissions: z.ZodArray<z.ZodString>;
42
42
  isAdmin: z.ZodBoolean;
@@ -45,7 +45,7 @@ export declare const saveUserProfileRequestDtoSchema: z.ZodObject<{
45
45
  export declare const saveUserProfileResponseDtoSchema: z.ZodObject<{
46
46
  status: z.ZodNumber;
47
47
  data: z.ZodObject<{
48
- id: z.ZodNullable<z.ZodString>;
48
+ id: z.ZodUUID;
49
49
  name: z.ZodString;
50
50
  permissions: z.ZodArray<z.ZodString>;
51
51
  isAdmin: z.ZodBoolean;