@alfalab/core-components-table 2.3.9 → 2.3.11

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 (85) hide show
  1. package/components/pagination/Component.js +1 -1
  2. package/components/pagination/index.css +8 -8
  3. package/components/pagination/select-field/index.css +4 -4
  4. package/components/pagination/select-field/index.js +1 -1
  5. package/components/table/Component.js +1 -1
  6. package/components/table/index.css +7 -7
  7. package/components/tbody/Component.js +1 -1
  8. package/components/tbody/index.css +2 -2
  9. package/components/tcell/Component.js +1 -1
  10. package/components/tcell/index.css +6 -6
  11. package/components/texpandable-row/Component.js +1 -1
  12. package/components/texpandable-row/index.css +5 -5
  13. package/components/thead/Component.js +1 -1
  14. package/components/thead/index.css +6 -6
  15. package/components/thead-cell/Component.js +1 -1
  16. package/components/thead-cell/index.css +9 -9
  17. package/components/trow/Component.js +1 -1
  18. package/components/trow/index.css +8 -8
  19. package/components/tsortable-head-cell/Component.js +1 -1
  20. package/components/tsortable-head-cell/index.css +8 -8
  21. package/cssm/index-72308007.d.ts +54 -0
  22. package/cssm/index-c76d6398.d.ts +1 -1
  23. package/cssm/index-f12ee135.d.ts +1 -1
  24. package/esm/components/pagination/Component.js +1 -1
  25. package/esm/components/pagination/index.css +8 -8
  26. package/esm/components/pagination/select-field/index.css +4 -4
  27. package/esm/components/pagination/select-field/index.js +1 -1
  28. package/esm/components/table/Component.js +1 -1
  29. package/esm/components/table/index.css +7 -7
  30. package/esm/components/tbody/Component.js +1 -1
  31. package/esm/components/tbody/index.css +2 -2
  32. package/esm/components/tcell/Component.js +1 -1
  33. package/esm/components/tcell/index.css +6 -6
  34. package/esm/components/texpandable-row/Component.js +1 -1
  35. package/esm/components/texpandable-row/index.css +5 -5
  36. package/esm/components/thead/Component.js +1 -1
  37. package/esm/components/thead/index.css +6 -6
  38. package/esm/components/thead-cell/Component.js +1 -1
  39. package/esm/components/thead-cell/index.css +9 -9
  40. package/esm/components/trow/Component.js +1 -1
  41. package/esm/components/trow/index.css +8 -8
  42. package/esm/components/tsortable-head-cell/Component.js +1 -1
  43. package/esm/components/tsortable-head-cell/index.css +8 -8
  44. package/esm/index-72308007.d.ts +54 -0
  45. package/esm/index-c76d6398.d.ts +1 -1
  46. package/esm/index-f12ee135.d.ts +1 -1
  47. package/index-72308007.d.ts +54 -0
  48. package/index-c76d6398.d.ts +1 -1
  49. package/index-f12ee135.d.ts +1 -1
  50. package/modern/components/pagination/Component.js +1 -1
  51. package/modern/components/pagination/index.css +8 -8
  52. package/modern/components/pagination/select-field/index.css +4 -4
  53. package/modern/components/pagination/select-field/index.js +1 -1
  54. package/modern/components/table/Component.js +1 -1
  55. package/modern/components/table/index.css +7 -7
  56. package/modern/components/tbody/Component.js +1 -1
  57. package/modern/components/tbody/index.css +2 -2
  58. package/modern/components/tcell/Component.js +1 -1
  59. package/modern/components/tcell/index.css +6 -6
  60. package/modern/components/texpandable-row/Component.js +1 -1
  61. package/modern/components/texpandable-row/index.css +5 -5
  62. package/modern/components/thead/Component.js +1 -1
  63. package/modern/components/thead/index.css +6 -6
  64. package/modern/components/thead-cell/Component.js +1 -1
  65. package/modern/components/thead-cell/index.css +9 -9
  66. package/modern/components/trow/Component.js +1 -1
  67. package/modern/components/trow/index.css +8 -8
  68. package/modern/components/tsortable-head-cell/Component.js +1 -1
  69. package/modern/components/tsortable-head-cell/index.css +8 -8
  70. package/modern/index-72308007.d.ts +54 -0
  71. package/modern/index-c76d6398.d.ts +1 -1
  72. package/modern/index-f12ee135.d.ts +1 -1
  73. package/package.json +3 -3
  74. package/cssm/index-1a4fbd11.d.ts +0 -22
  75. package/esm/index-1a4fbd11.d.ts +0 -22
  76. package/index-1a4fbd11.d.ts +0 -22
  77. package/modern/index-1a4fbd11.d.ts +0 -22
  78. /package/{Component-1a4fbd11.d.ts → Component-72308007.d.ts} +0 -0
  79. /package/{component-1a4fbd11.d.ts → component-72308007.d.ts} +0 -0
  80. /package/cssm/{Component-1a4fbd11.d.ts → Component-72308007.d.ts} +0 -0
  81. /package/cssm/{component-1a4fbd11.d.ts → component-72308007.d.ts} +0 -0
  82. /package/esm/{Component-1a4fbd11.d.ts → Component-72308007.d.ts} +0 -0
  83. /package/esm/{component-1a4fbd11.d.ts → component-72308007.d.ts} +0 -0
  84. /package/modern/{Component-1a4fbd11.d.ts → Component-72308007.d.ts} +0 -0
  85. /package/modern/{component-1a4fbd11.d.ts → component-72308007.d.ts} +0 -0
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- const styles = {"component":"table__component_10mo3","compactHorizontal":"table__compactHorizontal_10mo3","compact":"table__compact_10mo3"};
5
+ const styles = {"component":"table__component_sma90","compactHorizontal":"table__compactHorizontal_sma90","compact":"table__compact_sma90"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: idga3 */
1
+ /* hash: 2fu39 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_10mo3 {
23
+ } .table__component_sma90 {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_10mo3:first-child {
34
+ } .table__component_sma90:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_10mo3:last-child {
36
+ } .table__component_sma90:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_10mo3 {
38
+ } .table__compactHorizontal_sma90 {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_10mo3 {
41
+ } .table__compact_sma90 {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TRow } from '../trow/Component.js';
4
4
 
5
- const styles = {"row":"table__row_mziq8","selected":"table__selected_mziq8","expanded":"table__expanded_mziq8","expandable":"table__expandable_mziq8"};
5
+ const styles = {"row":"table__row_uzwks","selected":"table__selected_uzwks","expanded":"table__expanded_uzwks","expandable":"table__expandable_uzwks"};
6
6
  require('./index.css')
7
7
 
8
8
  const TExpandableRow = ({ className, selected, expanded, defaultExpanded = false, onToggle = () => null, renderContent = () => null, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 37mzw */
1
+ /* hash: 1bbdb */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_mziq8 {
17
+ } .table__row_uzwks {
18
18
  cursor: pointer;
19
- } .table__selected_mziq8.table__expanded_mziq8 {
19
+ } .table__selected_uzwks.table__expanded_uzwks {
20
20
  background-color: inherit;
21
- } .table__expanded_mziq8:hover {
21
+ } .table__expanded_uzwks:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_mziq8 td {
23
+ } .table__expandable_uzwks td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_mf0wu","row":"table__row_mf0wu"};
4
+ const styles = {"component":"table__component_een2a","row":"table__row_een2a"};
5
5
  require('./index.css')
6
6
 
7
7
  const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => (React.createElement("thead", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps },
@@ -1,4 +1,4 @@
1
- /* hash: 720bh */
1
+ /* hash: 1sys1 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dcdcdd; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_mf0wu {
19
+ } .table__component_een2a {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_mf0wu th:not(:last-child):not(:empty):after {
23
+ } .table__component_een2a th:not(:last-child):not(:empty):after {
24
24
  transition: opacity 0.2s;
25
25
  position: absolute;
26
26
  content: '';
@@ -31,10 +31,10 @@
31
31
  top: var(--gap-xs);
32
32
  bottom: var(--gap-xs);
33
33
  background-color: var(--color-light-graphic-quaternary);
34
- } .table__component_mf0wu th:after {
34
+ } .table__component_een2a th:after {
35
35
  opacity: 0;
36
- } .table__component_mf0wu:hover th:after {
36
+ } .table__component_een2a:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_mf0wu {
38
+ } .table__row_een2a {
39
39
  height: 72px;
40
40
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- const styles = {"component":"table__component_129iw","stickyHeader":"table__stickyHeader_129iw","sortable":"table__sortable_129iw","sorted":"table__sorted_129iw","compactHorizontal":"table__compactHorizontal_129iw"};
5
+ const styles = {"component":"table__component_m3ymr","stickyHeader":"table__stickyHeader_m3ymr","sortable":"table__sortable_m3ymr","sorted":"table__sorted_m3ymr","compactHorizontal":"table__compactHorizontal_m3ymr"};
6
6
  require('./index.css')
7
7
 
8
8
  const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1057g */
1
+ /* hash: 3hpvl */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  --gap-2xl: 32px;
22
22
  } :root {
23
23
  } :root {
24
- } .table__component_129iw {
24
+ } .table__component_m3ymr {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -36,23 +36,23 @@
36
36
  background: var(--color-light-bg-primary);
37
37
  vertical-align: top;
38
38
  box-sizing: border-box
39
- } .table__component_129iw:first-child {
39
+ } .table__component_m3ymr:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_129iw:last-child {
41
+ } .table__component_m3ymr:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_129iw:not(.table__stickyHeader_129iw) {
43
+ } .table__component_m3ymr:not(.table__stickyHeader_m3ymr) {
44
44
  position: relative;
45
- } .table__sortable_129iw {
45
+ } .table__sortable_m3ymr {
46
46
  cursor: pointer;
47
- } .table__sorted_129iw {
47
+ } .table__sorted_m3ymr {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_129iw {
49
+ } .table__stickyHeader_m3ymr {
50
50
  top: 0;
51
51
  position: sticky;
52
52
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
53
53
  border: none;
54
54
  z-index: 1;
55
- } .table__compactHorizontal_129iw {
55
+ } .table__compactHorizontal_m3ymr {
56
56
  padding-left: 6px;
57
57
  padding-right: 6px;
58
58
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_rxjqj","withoutBorder":"table__withoutBorder_rxjqj","clickable":"table__clickable_rxjqj","selected":"table__selected_rxjqj"};
4
+ const styles = {"component":"table__component_jx5vy","withoutBorder":"table__withoutBorder_jx5vy","clickable":"table__clickable_jx5vy","selected":"table__selected_jx5vy"};
5
5
  require('./index.css')
6
6
 
7
7
  const TRow = ({ children, className, selected, withoutBorder, dataTestId, ...restProps }) => (React.createElement("tr", { className: cn(styles.component, className, {
@@ -1,4 +1,4 @@
1
- /* hash: 1pnqt */
1
+ /* hash: 9gimf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -17,22 +17,22 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- } .table__component_rxjqj {
20
+ } .table__component_jx5vy {
21
21
  padding-top: 1px;
22
22
  width: 100%;
23
23
  transition: background-color 0.2s;
24
24
  box-sizing: border-box;
25
25
  background: var(--color-light-bg-primary)
26
- } .table__component_rxjqj:first-child td {
26
+ } .table__component_jx5vy:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_rxjqj td {
28
+ } .table__withoutBorder_jx5vy td {
29
29
  border: none;
30
- } .table__clickable_rxjqj {
30
+ } .table__clickable_jx5vy {
31
31
  cursor: pointer
32
- } .table__clickable_rxjqj:hover {
32
+ } .table__clickable_jx5vy:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_rxjqj {
34
+ } .table__selected_jx5vy {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_rxjqj:hover {
36
+ } .table__selected_jx5vy:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -6,7 +6,7 @@ import { SortIconDesc } from './sort-icon-desc.js';
6
6
  import { SortIconUnset } from './sort-icon-unset.js';
7
7
  import '../table-context/index.js';
8
8
 
9
- const styles = {"content":"table__content_p06j7","icon":"table__icon_p06j7","reverse":"table__reverse_p06j7","sorted":"table__sorted_p06j7"};
9
+ const styles = {"content":"table__content_gzson","icon":"table__icon_gzson","reverse":"table__reverse_gzson","sorted":"table__sorted_gzson"};
10
10
  require('./index.css')
11
11
 
12
12
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: i1ma9 */
1
+ /* hash: 4pjoi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #0072ef;
@@ -18,10 +18,10 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__content_p06j7 {
21
+ } .table__content_gzson {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
- } .table__icon_p06j7 {
24
+ } .table__icon_gzson {
25
25
  cursor: pointer;
26
26
  margin-left: var(--gap-xs);
27
27
 
@@ -33,15 +33,15 @@
33
33
  color: var(--color-light-graphic-secondary);
34
34
  transition: color 0.2s ease;
35
35
  flex-shrink: 0
36
- } .table__icon_p06j7:hover {
36
+ } .table__icon_gzson:hover {
37
37
  color: var(--color-light-graphic-primary);
38
- } .table__reverse_p06j7 {
38
+ } .table__reverse_gzson {
39
39
  flex-direction: row-reverse
40
- } .table__reverse_p06j7 .table__icon_p06j7 {
40
+ } .table__reverse_gzson .table__icon_gzson {
41
41
  margin-left: 0;
42
42
  margin-right: var(--gap-xs);
43
- } .table__sorted_p06j7 {
43
+ } .table__sorted_gzson {
44
44
  color: var(--color-light-graphic-link)
45
- } .table__sorted_p06j7:hover {
45
+ } .table__sorted_gzson:hover {
46
46
  color: var(--color-light-graphic-link);
47
47
  }
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { PaddingType } from "./index-72dda473";
4
+ /* eslint-disable no-plusplus, no-param-reassign */
5
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
6
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
7
+ declare const isClient: () => boolean;
8
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
9
+ declare function easeInOutQuad(x: number): number;
10
+ declare const easingFns: {
11
+ easeInOutQuad: typeof easeInOutQuad;
12
+ };
13
+ declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
14
+ declare const inputUtils: {
15
+ disableUserInput: typeof disableUserInput;
16
+ };
17
+ /**
18
+ * Возвращает true, если значение равно null или undefined
19
+ */
20
+ declare function isNil(value: unknown): boolean;
21
+ /**
22
+ * Выбор значения между min max границами
23
+ */
24
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
25
+ declare function noop(): void;
26
+ declare const fnUtils: {
27
+ clamp: typeof clamp;
28
+ noop: typeof noop;
29
+ isNil: typeof isNil;
30
+ };
31
+ /**
32
+ * Запрещает каретке становиться за указанные границы
33
+ */
34
+ declare function caretGuard(guard: (value: string, selection: readonly [
35
+ from: number,
36
+ to: number
37
+ ]) => [
38
+ from: number,
39
+ to: number
40
+ ]): MaskitoPlugin;
41
+ /**
42
+ * Запрещает удалять указанный префикс
43
+ */
44
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
45
+ /**
46
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
47
+ */
48
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
49
+ declare const maskUtils: {
50
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
51
+ prefixPostprocessor: typeof prefixPostprocessor;
52
+ caretGuard: typeof caretGuard;
53
+ };
54
+ export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils, maskUtils };
@@ -1,2 +1,2 @@
1
- export * from "./Component-1a4fbd11";
1
+ export * from "./Component-72308007";
2
2
  export type { NavigationBarProps } from "./types-83e2bd9e";
@@ -1,3 +1,3 @@
1
- export * from "./component-1a4fbd11";
1
+ export * from "./component-72308007";
2
2
  export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-e40becc7";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,9 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-button": "^9.0.4",
18
+ "@alfalab/core-components-button": "^9.0.5",
19
19
  "@alfalab/core-components-pagination": "^2.1.2",
20
- "@alfalab/core-components-select": "^15.1.4",
20
+ "@alfalab/core-components-select": "^15.1.6",
21
21
  "classnames": "^2.3.1",
22
22
  "tslib": "^2.4.0"
23
23
  }
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { PaddingType } from "./index-72dda473";
4
- declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
- declare const isClient: () => boolean;
6
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
7
- declare function easeInOutQuad(x: number): number;
8
- declare const easingFns: {
9
- easeInOutQuad: typeof easeInOutQuad;
10
- };
11
- declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
12
- declare const inputUtils: {
13
- disableUserInput: typeof disableUserInput;
14
- };
15
- /**
16
- * Возвращает true, если значение равно null или undefined
17
- */
18
- declare function isNil(value: unknown): boolean;
19
- declare const fnUtils: {
20
- isNil: typeof isNil;
21
- };
22
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { PaddingType } from "./index-72dda473";
4
- declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
- declare const isClient: () => boolean;
6
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
7
- declare function easeInOutQuad(x: number): number;
8
- declare const easingFns: {
9
- easeInOutQuad: typeof easeInOutQuad;
10
- };
11
- declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
12
- declare const inputUtils: {
13
- disableUserInput: typeof disableUserInput;
14
- };
15
- /**
16
- * Возвращает true, если значение равно null или undefined
17
- */
18
- declare function isNil(value: unknown): boolean;
19
- declare const fnUtils: {
20
- isNil: typeof isNil;
21
- };
22
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { PaddingType } from "./index-72dda473";
4
- declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
- declare const isClient: () => boolean;
6
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
7
- declare function easeInOutQuad(x: number): number;
8
- declare const easingFns: {
9
- easeInOutQuad: typeof easeInOutQuad;
10
- };
11
- declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
12
- declare const inputUtils: {
13
- disableUserInput: typeof disableUserInput;
14
- };
15
- /**
16
- * Возвращает true, если значение равно null или undefined
17
- */
18
- declare function isNil(value: unknown): boolean;
19
- declare const fnUtils: {
20
- isNil: typeof isNil;
21
- };
22
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { PaddingType } from "./index-72dda473";
4
- declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
- declare const isClient: () => boolean;
6
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
7
- declare function easeInOutQuad(x: number): number;
8
- declare const easingFns: {
9
- easeInOutQuad: typeof easeInOutQuad;
10
- };
11
- declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
12
- declare const inputUtils: {
13
- disableUserInput: typeof disableUserInput;
14
- };
15
- /**
16
- * Возвращает true, если значение равно null или undefined
17
- */
18
- declare function isNil(value: unknown): boolean;
19
- declare const fnUtils: {
20
- isNil: typeof isNil;
21
- };
22
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };