@pushwoosh/smart-components-kit 1.0.77 → 1.0.88

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 (55) hide show
  1. package/DocsButton/DocsButton.js +5 -1
  2. package/DocsButton/polyglot/index.d.ts +5 -0
  3. package/DocsButton/polyglot/index.js +10 -0
  4. package/DocsButton/polyglot/messages_en.d.ts +3 -0
  5. package/DocsButton/polyglot/messages_en.js +3 -0
  6. package/DocsButton/polyglot/messages_ru.d.ts +3 -0
  7. package/DocsButton/polyglot/messages_ru.js +3 -0
  8. package/DocsButton/polyglot/types.d.ts +4 -0
  9. package/DocsButton/polyglot/types.js +1 -0
  10. package/DynamicContentPicker/styled.d.ts +16 -104
  11. package/DynamicContentPickerForm/styled.d.ts +18 -106
  12. package/LanguagesSelector/LanguagesModal.js +11 -3
  13. package/LanguagesSelector/LanguagesSelectForm.js +34 -16
  14. package/LanguagesSelector/LanguagesSelector.js +10 -6
  15. package/LanguagesSelector/polyglot/index.d.ts +2 -0
  16. package/LanguagesSelector/polyglot/index.js +10 -0
  17. package/LanguagesSelector/polyglot/messages_en.d.ts +3 -0
  18. package/LanguagesSelector/polyglot/messages_en.js +13 -0
  19. package/LanguagesSelector/polyglot/messages_ru.d.ts +3 -0
  20. package/LanguagesSelector/polyglot/messages_ru.js +13 -0
  21. package/LanguagesSelector/polyglot/types.d.ts +17 -0
  22. package/LanguagesSelector/polyglot/types.js +1 -0
  23. package/LanguagesSelector/styled.d.ts +8 -52
  24. package/ModalCloningJourney/ModalCloningJourney.js +67 -22
  25. package/ModalCloningJourney/polyglot/index.d.ts +2 -0
  26. package/ModalCloningJourney/polyglot/index.js +10 -0
  27. package/ModalCloningJourney/polyglot/messages_en.d.ts +3 -0
  28. package/ModalCloningJourney/polyglot/messages_en.js +22 -0
  29. package/ModalCloningJourney/polyglot/messages_ru.d.ts +3 -0
  30. package/ModalCloningJourney/polyglot/messages_ru.js +22 -0
  31. package/ModalCloningJourney/polyglot/types.d.ts +25 -0
  32. package/ModalCloningJourney/polyglot/types.js +1 -0
  33. package/OpenActions/components/OpenActionsSummary/styles.d.ts +8 -52
  34. package/RichMessageEditorSmart/NewDynamicContentForm.js +5 -1
  35. package/RichMessageEditorSmart/polyglot/index.d.ts +5 -0
  36. package/RichMessageEditorSmart/polyglot/index.js +10 -0
  37. package/RichMessageEditorSmart/polyglot/messages_en.d.ts +3 -0
  38. package/RichMessageEditorSmart/polyglot/messages_en.js +3 -0
  39. package/RichMessageEditorSmart/polyglot/messages_ru.d.ts +3 -0
  40. package/RichMessageEditorSmart/polyglot/messages_ru.js +3 -0
  41. package/RichMessageEditorSmart/polyglot/types.d.ts +4 -0
  42. package/RichMessageEditorSmart/polyglot/types.js +1 -0
  43. package/Table/components/DataTable/DataTable.js +27 -8
  44. package/Table/components/DataTableList/DataTableList.js +29 -9
  45. package/Table/components/TablePagination/TablePagination.js +5 -1
  46. package/Table/polyglot/index.d.ts +2 -0
  47. package/Table/polyglot/index.js +10 -0
  48. package/Table/polyglot/messages_en.d.ts +3 -0
  49. package/Table/polyglot/messages_en.js +18 -0
  50. package/Table/polyglot/messages_ru.d.ts +3 -0
  51. package/Table/polyglot/messages_ru.js +18 -0
  52. package/Table/polyglot/types.d.ts +21 -0
  53. package/Table/polyglot/types.js +1 -0
  54. package/Table/styles.d.ts +34 -210
  55. package/package.json +3 -2
@@ -5,6 +5,7 @@ import Box from '../../assets/box.svg?url';
5
5
  import Error from '../../assets/error.svg?url';
6
6
  import NotFound from '../../assets/notfound.svg?url';
7
7
  import { DataTableContext } from '../../context';
8
+ import { useLang } from '../../polyglot';
8
9
  import { LockedText } from '../../styles';
9
10
  import { Loading } from '../Loading';
10
11
  export function DataTableList({
@@ -15,6 +16,7 @@ export function DataTableList({
15
16
  data,
16
17
  params
17
18
  } = useContext(DataTableContext);
19
+ const lang = useLang();
18
20
  if (data.loading) {
19
21
  return React.createElement(Loading, null);
20
22
  }
@@ -29,17 +31,23 @@ export function DataTableList({
29
31
  "$gap": 16
30
32
  }, React.createElement("img", {
31
33
  src: Error,
32
- alt: "Request failed"
34
+ alt: lang({
35
+ message: 'SMART.TABLE.ERROR_IMG_ALT'
36
+ })
33
37
  }), React.createElement(Vertical, {
34
38
  "$alignContent": "center",
35
39
  "$gap": 8
36
40
  }, React.createElement(LockedText, {
37
41
  "$fontWeight": FontWeight.MEDIUM,
38
42
  "$maxWidth": "250px"
39
- }, "Something went wrong"), React.createElement(LockedText, {
43
+ }, lang({
44
+ message: 'SMART.TABLE.ERROR_TITLE'
45
+ })), React.createElement(LockedText, {
40
46
  "$fontSize": FontSize.SMALL,
41
47
  "$maxWidth": "250px"
42
- }, "Give it another try or refresh the page to see if we can fix this glitch!"))));
48
+ }, lang({
49
+ message: 'SMART.TABLE.ERROR_DESCRIPTION'
50
+ })))));
43
51
  }
44
52
  const isFiltered = ((_data$value2 = data.value) === null || _data$value2 === void 0 ? void 0 : _data$value2.isFiltered) || params.search;
45
53
  return isFiltered ? React.createElement(Horizontal, {
@@ -49,32 +57,44 @@ export function DataTableList({
49
57
  "$gap": 16
50
58
  }, React.createElement("img", {
51
59
  src: NotFound,
52
- alt: "Not found"
60
+ alt: lang({
61
+ message: 'SMART.TABLE.NO_MATCH_IMG_ALT'
62
+ })
53
63
  }), React.createElement(Vertical, {
54
64
  "$alignContent": "center",
55
65
  "$gap": 8
56
66
  }, React.createElement(LockedText, {
57
67
  "$fontWeight": FontWeight.MEDIUM,
58
68
  "$maxWidth": "250px"
59
- }, "No match found"), React.createElement(LockedText, {
69
+ }, lang({
70
+ message: 'SMART.TABLE.NO_MATCH'
71
+ })), React.createElement(LockedText, {
60
72
  "$fontSize": FontSize.SMALL,
61
73
  "$maxWidth": "250px"
62
- }, "Please try using different search terms with a minimum of two characters.")))) : React.createElement(Horizontal, {
74
+ }, lang({
75
+ message: 'SMART.TABLE.NO_MATCH_DESCRIPTION'
76
+ }))))) : React.createElement(Horizontal, {
63
77
  "$placeItems": "center",
64
78
  "$padding": 64
65
79
  }, React.createElement(Horizontal, {
66
80
  "$gap": 16
67
81
  }, React.createElement("img", {
68
82
  src: Box,
69
- alt: "Empty box"
83
+ alt: lang({
84
+ message: 'SMART.TABLE.EMPTY_IMG_ALT'
85
+ })
70
86
  }), React.createElement(Vertical, {
71
87
  "$alignContent": "center",
72
88
  "$gap": 8
73
89
  }, React.createElement(LockedText, {
74
90
  "$fontWeight": FontWeight.MEDIUM,
75
91
  "$maxWidth": "250px"
76
- }, "This list is empty"), React.createElement(LockedText, {
92
+ }, lang({
93
+ message: 'SMART.TABLE.EMPTY_TITLE'
94
+ })), React.createElement(LockedText, {
77
95
  "$fontSize": FontSize.SMALL,
78
96
  "$maxWidth": "250px"
79
- }, "Looks like there's nothing here yet. Time to create \u2014 let's bring this list to life!"))));
97
+ }, lang({
98
+ message: 'SMART.TABLE.EMPTY_DESCRIPTION'
99
+ })))));
80
100
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { NativeSelect, Pagination } from '@pushwoosh/dumb-components';
3
3
  import { Horizontal } from '@pushwoosh/kit-helpers';
4
+ import { useLang } from '../../polyglot';
4
5
  export function TablePagination({
5
6
  activePage,
6
7
  totalPages,
@@ -12,6 +13,7 @@ export function TablePagination({
12
13
  onChangeLimit,
13
14
  children
14
15
  }) {
16
+ const lang = useLang();
15
17
  return React.createElement(Horizontal, {
16
18
  "$alignItems": "center",
17
19
  "$justifyContent": "space-between",
@@ -26,7 +28,9 @@ export function TablePagination({
26
28
  }), children), !hidePageSizeSelector && React.createElement(Horizontal, {
27
29
  "$gap": 8,
28
30
  "$alignItems": "center"
29
- }, React.createElement("span", null, "Show on page:"), React.createElement(NativeSelect, {
31
+ }, React.createElement("span", null, lang({
32
+ message: 'SMART.TABLE.SHOW_ON_PAGE'
33
+ })), React.createElement(NativeSelect, {
30
34
  name: "page",
31
35
  value: limit,
32
36
  onChange: event => {
@@ -0,0 +1,2 @@
1
+ import { type TableMessages } from './types';
2
+ export declare const Lang: import("react").FC<import("@pushwoosh/dumb-components/polyglot").LangProps<TableMessages>>, useLang: () => (props: import("@pushwoosh/dumb-components/polyglot").LangProps<TableMessages>) => string;
@@ -0,0 +1,10 @@
1
+ import { createLang } from '@pushwoosh/dumb-components/polyglot';
2
+ import { messages as en } from './messages_en';
3
+ import { messages as ru } from './messages_ru';
4
+ export const {
5
+ Lang,
6
+ useLang
7
+ } = createLang({
8
+ en,
9
+ ru
10
+ });
@@ -0,0 +1,3 @@
1
+ import type { LangMessages } from '@pushwoosh/dumb-components/polyglot';
2
+ import { type TableMessages } from './types';
3
+ export declare const messages: LangMessages<TableMessages>;
@@ -0,0 +1,18 @@
1
+ export const messages = {
2
+ 'SMART.TABLE.LOADING': 'Loading...',
3
+ 'SMART.TABLE.REQUEST_FAILED': 'Request failed',
4
+ 'SMART.TABLE.RESULT_LABEL': 'Result:',
5
+ 'SMART.TABLE.RESULT_COUNT': '{{total}} {{total | pluralize: "item", "items"}}',
6
+ 'SMART.TABLE.NO_ITEMS': 'No items yet',
7
+ 'SMART.TABLE.NO_MATCH': 'No match found',
8
+ 'SMART.TABLE.CLEAR_REQUEST': 'Clear request',
9
+ 'SMART.TABLE.ERROR_IMG_ALT': 'Request failed',
10
+ 'SMART.TABLE.ERROR_TITLE': 'Something went wrong',
11
+ 'SMART.TABLE.ERROR_DESCRIPTION': 'Give it another try or refresh the page to see if we can fix this glitch!',
12
+ 'SMART.TABLE.NO_MATCH_IMG_ALT': 'Not found',
13
+ 'SMART.TABLE.NO_MATCH_DESCRIPTION': 'Please try using different search terms with a minimum of two characters.',
14
+ 'SMART.TABLE.EMPTY_IMG_ALT': 'Empty box',
15
+ 'SMART.TABLE.EMPTY_TITLE': 'This list is empty',
16
+ 'SMART.TABLE.EMPTY_DESCRIPTION': 'Looks like there’s nothing here yet. Time to create — let’s bring this list to life!',
17
+ 'SMART.TABLE.SHOW_ON_PAGE': 'Show on page:'
18
+ };
@@ -0,0 +1,3 @@
1
+ import type { LangMessages } from '@pushwoosh/dumb-components/polyglot';
2
+ import { type TableMessages } from './types';
3
+ export declare const messages: LangMessages<TableMessages>;
@@ -0,0 +1,18 @@
1
+ export const messages = {
2
+ 'SMART.TABLE.LOADING': 'Загрузка...',
3
+ 'SMART.TABLE.REQUEST_FAILED': 'Ошибка запроса',
4
+ 'SMART.TABLE.RESULT_LABEL': 'Результат:',
5
+ 'SMART.TABLE.RESULT_COUNT': '{{total}} {{total | pluralize: "элемент", "элемента", "элементов"}}',
6
+ 'SMART.TABLE.NO_ITEMS': 'Пока нет элементов',
7
+ 'SMART.TABLE.NO_MATCH': 'Ничего не найдено',
8
+ 'SMART.TABLE.CLEAR_REQUEST': 'Сбросить запрос',
9
+ 'SMART.TABLE.ERROR_IMG_ALT': 'Ошибка запроса',
10
+ 'SMART.TABLE.ERROR_TITLE': 'Что-то пошло не так',
11
+ 'SMART.TABLE.ERROR_DESCRIPTION': 'Попробуйте ещё раз или обновите страницу — возможно, это поможет!',
12
+ 'SMART.TABLE.NO_MATCH_IMG_ALT': 'Ничего не найдено',
13
+ 'SMART.TABLE.NO_MATCH_DESCRIPTION': 'Попробуйте изменить поисковый запрос (минимум два символа).',
14
+ 'SMART.TABLE.EMPTY_IMG_ALT': 'Пустой список',
15
+ 'SMART.TABLE.EMPTY_TITLE': 'Список пуст',
16
+ 'SMART.TABLE.EMPTY_DESCRIPTION': 'Похоже, здесь пока ничего нет. Самое время создать что-нибудь и оживить этот список!',
17
+ 'SMART.TABLE.SHOW_ON_PAGE': 'Показывать на странице:'
18
+ };
@@ -0,0 +1,21 @@
1
+ import type { NoParams } from '@pushwoosh/dumb-components/polyglot';
2
+ export type TableMessages = {
3
+ 'SMART.TABLE.LOADING': NoParams;
4
+ 'SMART.TABLE.REQUEST_FAILED': NoParams;
5
+ 'SMART.TABLE.RESULT_LABEL': NoParams;
6
+ 'SMART.TABLE.RESULT_COUNT': {
7
+ total: number;
8
+ };
9
+ 'SMART.TABLE.NO_ITEMS': NoParams;
10
+ 'SMART.TABLE.NO_MATCH': NoParams;
11
+ 'SMART.TABLE.CLEAR_REQUEST': NoParams;
12
+ 'SMART.TABLE.ERROR_IMG_ALT': NoParams;
13
+ 'SMART.TABLE.ERROR_TITLE': NoParams;
14
+ 'SMART.TABLE.ERROR_DESCRIPTION': NoParams;
15
+ 'SMART.TABLE.NO_MATCH_IMG_ALT': NoParams;
16
+ 'SMART.TABLE.NO_MATCH_DESCRIPTION': NoParams;
17
+ 'SMART.TABLE.EMPTY_IMG_ALT': NoParams;
18
+ 'SMART.TABLE.EMPTY_TITLE': NoParams;
19
+ 'SMART.TABLE.EMPTY_DESCRIPTION': NoParams;
20
+ 'SMART.TABLE.SHOW_ON_PAGE': NoParams;
21
+ };
@@ -0,0 +1 @@
1
+ export {};
package/Table/styles.d.ts CHANGED
@@ -5,232 +5,56 @@ export type TableProps = {
5
5
  isBordered?: boolean;
6
6
  $bgColor?: string;
7
7
  };
8
- export declare const Table: import("styled-components").StyledComponent<"div", any, {
9
- $alignContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
10
- $alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
11
- $bgColor?: string | undefined;
12
- $border?: string | ({
13
- top?: string | undefined;
14
- right?: string | undefined;
15
- bottom?: string | undefined;
16
- left?: string | undefined;
17
- } | {
18
- horizontal: string;
19
- top?: string | undefined;
20
- bottom?: string | undefined;
21
- } | {
22
- vertical: string;
23
- right?: string | undefined;
24
- left?: string | undefined;
25
- }) | undefined;
26
- $borderRadius?: (string | number) | undefined;
27
- $boxShadow?: string | undefined;
28
- $gap?: (string | number) | undefined;
8
+ export declare const Table: import("styled-components").StyledComponent<"div", any, import("@pushwoosh/kit-helpers/styled-helpers").CommonBoxProps & {
9
+ $alignContent?: import("@pushwoosh/kit-helpers/styled-helpers").AlignContentValue | undefined;
10
+ $alignItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
11
+ $gap?: import("@pushwoosh/kit-helpers/styled-helpers").StrNum | undefined;
12
+ $justifyContent?: import("@pushwoosh/kit-helpers/styled-helpers").JustifyContentValue | undefined;
13
+ } & {
29
14
  $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense" | undefined;
30
- $justifyContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
31
- $justifyItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
32
- $margin?: (string | number) | ({
33
- top?: (string | number) | undefined;
34
- right?: (string | number) | undefined;
35
- bottom?: (string | number) | undefined;
36
- left?: (string | number) | undefined;
37
- } | {
38
- horizontal: string | number;
39
- top?: (string | number) | undefined;
40
- bottom?: (string | number) | undefined;
41
- } | {
42
- vertical: string | number;
43
- right?: (string | number) | undefined;
44
- left?: (string | number) | undefined;
45
- }) | undefined;
46
- $padding?: (string | number) | ({
47
- top?: (string | number) | undefined;
48
- right?: (string | number) | undefined;
49
- bottom?: (string | number) | undefined;
50
- left?: (string | number) | undefined;
51
- } | {
52
- horizontal: string | number;
53
- top?: (string | number) | undefined;
54
- bottom?: (string | number) | undefined;
55
- } | {
56
- vertical: string | number;
57
- right?: (string | number) | undefined;
58
- left?: (string | number) | undefined;
59
- }) | undefined;
60
- $placeItems?: "end" | "start" | "center" | "stretch" | undefined;
15
+ $justifyItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
16
+ $placeItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
61
17
  } & {
62
18
  $gridAutoFlow: string;
63
19
  } & TableProps, "$gridAutoFlow">;
64
- export declare const Td: import("styled-components").StyledComponent<"div", any, {
65
- $alignContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
66
- $alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
67
- $bgColor?: string | undefined;
68
- $border?: string | ({
69
- top?: string | undefined;
70
- right?: string | undefined;
71
- bottom?: string | undefined;
72
- left?: string | undefined;
73
- } | {
74
- horizontal: string;
75
- top?: string | undefined;
76
- bottom?: string | undefined;
77
- } | {
78
- vertical: string;
79
- right?: string | undefined;
80
- left?: string | undefined;
81
- }) | undefined;
82
- $borderRadius?: (string | number) | undefined;
83
- $boxShadow?: string | undefined;
84
- $gap?: (string | number) | undefined;
85
- $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense" | undefined;
86
- $justifyContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
87
- $justifyItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
88
- $margin?: (string | number) | ({
89
- top?: (string | number) | undefined;
90
- right?: (string | number) | undefined;
91
- bottom?: (string | number) | undefined;
92
- left?: (string | number) | undefined;
93
- } | {
94
- horizontal: string | number;
95
- top?: (string | number) | undefined;
96
- bottom?: (string | number) | undefined;
97
- } | {
98
- vertical: string | number;
99
- right?: (string | number) | undefined;
100
- left?: (string | number) | undefined;
101
- }) | undefined;
102
- $padding?: (string | number) | ({
103
- top?: (string | number) | undefined;
104
- right?: (string | number) | undefined;
105
- bottom?: (string | number) | undefined;
106
- left?: (string | number) | undefined;
107
- } | {
108
- horizontal: string | number;
109
- top?: (string | number) | undefined;
110
- bottom?: (string | number) | undefined;
111
- } | {
112
- vertical: string | number;
113
- right?: (string | number) | undefined;
114
- left?: (string | number) | undefined;
115
- }) | undefined;
116
- $placeItems?: "end" | "start" | "center" | "stretch" | undefined;
20
+ export declare const Td: import("styled-components").StyledComponent<"div", any, import("@pushwoosh/kit-helpers/styled-helpers").CommonBoxProps & {
21
+ $alignContent?: import("@pushwoosh/kit-helpers/styled-helpers").AlignContentValue;
22
+ $alignItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
23
+ $gap?: import("@pushwoosh/kit-helpers/styled-helpers").StrNum;
24
+ $justifyContent?: import("@pushwoosh/kit-helpers/styled-helpers").JustifyContentValue;
25
+ } & {
26
+ $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense";
27
+ $justifyItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
28
+ $placeItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
117
29
  } & {
118
30
  $padding: number;
119
31
  } & {
120
32
  $color?: string;
121
33
  }, "$padding">;
122
34
  export declare const ElementHover: import("styled-components").StyledComponent<"div", any, {}, never>;
123
- export declare const Tr: import("styled-components").StyledComponent<"div", any, {
124
- $alignContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
125
- $alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
126
- $bgColor?: string | undefined;
127
- $border?: string | ({
128
- top?: string | undefined;
129
- right?: string | undefined;
130
- bottom?: string | undefined;
131
- left?: string | undefined;
132
- } | {
133
- horizontal: string;
134
- top?: string | undefined;
135
- bottom?: string | undefined;
136
- } | {
137
- vertical: string;
138
- right?: string | undefined;
139
- left?: string | undefined;
140
- }) | undefined;
141
- $borderRadius?: (string | number) | undefined;
142
- $boxShadow?: string | undefined;
143
- $gap?: (string | number) | undefined;
35
+ export declare const Tr: import("styled-components").StyledComponent<"div", any, import("@pushwoosh/kit-helpers/styled-helpers").CommonBoxProps & {
36
+ $alignContent?: import("@pushwoosh/kit-helpers/styled-helpers").AlignContentValue | undefined;
37
+ $alignItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
38
+ $gap?: import("@pushwoosh/kit-helpers/styled-helpers").StrNum | undefined;
39
+ $justifyContent?: import("@pushwoosh/kit-helpers/styled-helpers").JustifyContentValue | undefined;
40
+ } & {
144
41
  $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense" | undefined;
145
- $justifyContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
146
- $justifyItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
147
- $margin?: (string | number) | ({
148
- top?: (string | number) | undefined;
149
- right?: (string | number) | undefined;
150
- bottom?: (string | number) | undefined;
151
- left?: (string | number) | undefined;
152
- } | {
153
- horizontal: string | number;
154
- top?: (string | number) | undefined;
155
- bottom?: (string | number) | undefined;
156
- } | {
157
- vertical: string | number;
158
- right?: (string | number) | undefined;
159
- left?: (string | number) | undefined;
160
- }) | undefined;
161
- $padding?: (string | number) | ({
162
- top?: (string | number) | undefined;
163
- right?: (string | number) | undefined;
164
- bottom?: (string | number) | undefined;
165
- left?: (string | number) | undefined;
166
- } | {
167
- horizontal: string | number;
168
- top?: (string | number) | undefined;
169
- bottom?: (string | number) | undefined;
170
- } | {
171
- vertical: string | number;
172
- right?: (string | number) | undefined;
173
- left?: (string | number) | undefined;
174
- }) | undefined;
175
- $placeItems?: "end" | "start" | "center" | "stretch" | undefined;
42
+ $justifyItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
43
+ $placeItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue | undefined;
176
44
  } & {
177
45
  $gridAutoFlow: string;
178
46
  } & {
179
47
  $padding: string;
180
48
  }, "$gridAutoFlow" | "$padding">;
181
- export declare const Th: import("styled-components").StyledComponent<"div", any, {
182
- $alignContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
183
- $alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
184
- $bgColor?: string | undefined;
185
- $border?: string | ({
186
- top?: string | undefined;
187
- right?: string | undefined;
188
- bottom?: string | undefined;
189
- left?: string | undefined;
190
- } | {
191
- horizontal: string;
192
- top?: string | undefined;
193
- bottom?: string | undefined;
194
- } | {
195
- vertical: string;
196
- right?: string | undefined;
197
- left?: string | undefined;
198
- }) | undefined;
199
- $borderRadius?: (string | number) | undefined;
200
- $boxShadow?: string | undefined;
201
- $gap?: (string | number) | undefined;
202
- $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense" | undefined;
203
- $justifyContent?: "end" | "start" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | undefined;
204
- $justifyItems?: "end" | "start" | "center" | "stretch" | "baseline" | undefined;
205
- $margin?: (string | number) | ({
206
- top?: (string | number) | undefined;
207
- right?: (string | number) | undefined;
208
- bottom?: (string | number) | undefined;
209
- left?: (string | number) | undefined;
210
- } | {
211
- horizontal: string | number;
212
- top?: (string | number) | undefined;
213
- bottom?: (string | number) | undefined;
214
- } | {
215
- vertical: string | number;
216
- right?: (string | number) | undefined;
217
- left?: (string | number) | undefined;
218
- }) | undefined;
219
- $padding?: (string | number) | ({
220
- top?: (string | number) | undefined;
221
- right?: (string | number) | undefined;
222
- bottom?: (string | number) | undefined;
223
- left?: (string | number) | undefined;
224
- } | {
225
- horizontal: string | number;
226
- top?: (string | number) | undefined;
227
- bottom?: (string | number) | undefined;
228
- } | {
229
- vertical: string | number;
230
- right?: (string | number) | undefined;
231
- left?: (string | number) | undefined;
232
- }) | undefined;
233
- $placeItems?: "end" | "start" | "center" | "stretch" | undefined;
49
+ export declare const Th: import("styled-components").StyledComponent<"div", any, import("@pushwoosh/kit-helpers/styled-helpers").CommonBoxProps & {
50
+ $alignContent?: import("@pushwoosh/kit-helpers/styled-helpers").AlignContentValue;
51
+ $alignItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
52
+ $gap?: import("@pushwoosh/kit-helpers/styled-helpers").StrNum;
53
+ $justifyContent?: import("@pushwoosh/kit-helpers/styled-helpers").JustifyContentValue;
54
+ } & {
55
+ $gridAutoFlow?: "row" | "column" | "dense" | "row dense" | "column dense";
56
+ $justifyItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
57
+ $placeItems?: import("@pushwoosh/kit-helpers/styled-helpers").ItemAlignmentValue;
234
58
  } & {
235
59
  $padding: number;
236
60
  } & {
package/package.json CHANGED
@@ -21,11 +21,12 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@floating-ui/react-dom": "^2.1.2",
24
- "@pushwoosh/dumb-components": "^1.1.66",
24
+ "@pushwoosh/dumb-components": "^1.1.134",
25
25
  "@pushwoosh/kit-constants": "^1.6.9",
26
26
  "@pushwoosh/kit-helpers": "^4.9.1",
27
27
  "@pushwoosh/kit-icons": "^2.1.6",
28
28
  "@pushwoosh/kit-typography": "^1.7.3",
29
+ "@pushwoosh/rpc-v2-http-api-data": "^0.1.974",
29
30
  "@pushwoosh/spa-context": "^1.1.2",
30
31
  "idb-keyval": "^6.2.2",
31
32
  "react-hook-form": "^7.68.0",
@@ -48,5 +49,5 @@
48
49
  "react": "^16.14.0 || ^18.0.0",
49
50
  "react-dom": "^16.14.0 || ^18.0.0"
50
51
  },
51
- "version": "1.0.77"
52
+ "version": "1.0.88"
52
53
  }