asma-ui-table 1.0.0 → 1.0.1
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type StyledTableProps, type TableState } from '../types';
|
|
2
3
|
import { TableBody } from './TableBody';
|
|
3
4
|
import type { ColumnSizingState } from '../types';
|
|
@@ -12,7 +13,7 @@ import type { ColumnSizingState } from '../types';
|
|
|
12
13
|
export declare const StyledTable: <TData extends {
|
|
13
14
|
id: string | number;
|
|
14
15
|
}, TCustomData = Record<string, unknown>>(props: StyledTableProps<TData, TCustomData> & {
|
|
15
|
-
getColumnSizing?: (
|
|
16
|
-
getTableState?: (
|
|
16
|
+
getColumnSizing?: (column_sizing: ColumnSizingState) => void;
|
|
17
|
+
getTableState?: (tableState: TableState) => void;
|
|
17
18
|
}) => JSX.Element;
|
|
18
19
|
export declare const MemoizedTableBody: typeof TableBody;
|
|
@@ -8,8 +8,8 @@ declare const _default: {
|
|
|
8
8
|
screens: {
|
|
9
9
|
[x: number]: string;
|
|
10
10
|
length: number;
|
|
11
|
-
toString
|
|
12
|
-
toLocaleString
|
|
11
|
+
toString(): string;
|
|
12
|
+
toLocaleString(): string;
|
|
13
13
|
pop(): string | undefined;
|
|
14
14
|
push(...items: string[]): number;
|
|
15
15
|
concat(...items: ConcatArray<string>[]): string[];
|
|
@@ -52,6 +52,11 @@ declare const _default: {
|
|
|
52
52
|
findLast<S_3 extends string>(predicate: (value: string, index: number, array: string[]) => value is S_3, thisArg?: any): S_3 | undefined;
|
|
53
53
|
findLast(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string | undefined;
|
|
54
54
|
findLastIndex(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): number;
|
|
55
|
+
toReversed(): string[];
|
|
56
|
+
toSorted(compareFn?: ((a: string, b: string) => number) | undefined): string[];
|
|
57
|
+
toSpliced(start: number, deleteCount: number, ...items: string[]): string[];
|
|
58
|
+
toSpliced(start: number, deleteCount?: number | undefined): string[];
|
|
59
|
+
with(index: number, value: string): string[];
|
|
55
60
|
[Symbol.iterator](): IterableIterator<string>;
|
|
56
61
|
[Symbol.unscopables]: {
|
|
57
62
|
[x: number]: boolean | undefined;
|
|
@@ -90,6 +95,10 @@ declare const _default: {
|
|
|
90
95
|
at?: boolean | undefined;
|
|
91
96
|
findLast?: boolean | undefined;
|
|
92
97
|
findLastIndex?: boolean | undefined;
|
|
98
|
+
toReversed?: boolean | undefined;
|
|
99
|
+
toSorted?: boolean | undefined;
|
|
100
|
+
toSpliced?: boolean | undefined;
|
|
101
|
+
with?: boolean | undefined;
|
|
93
102
|
[Symbol.iterator]?: boolean | undefined;
|
|
94
103
|
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
95
104
|
};
|
package/package.json
CHANGED
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
|
-
"dist/**/*"
|
|
10
|
-
"dist/style.css",
|
|
11
|
-
"tw-configs/**/*"
|
|
9
|
+
"dist/**/*"
|
|
12
10
|
],
|
|
13
11
|
"keywords": [],
|
|
14
12
|
"author": "asma-team",
|
|
@@ -113,8 +111,6 @@
|
|
|
113
111
|
"exports": {
|
|
114
112
|
".": {
|
|
115
113
|
"import": "./dist/asma-ui-table.es.js"
|
|
116
|
-
}
|
|
117
|
-
"./dist/style.css": "./dist/style.css",
|
|
118
|
-
"./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
|
|
114
|
+
}
|
|
119
115
|
}
|
|
120
116
|
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fontFamily": {
|
|
3
|
-
"roboto": ["Roboto"]
|
|
4
|
-
},
|
|
5
|
-
"colors": {
|
|
6
|
-
"inherit": "inherit",
|
|
7
|
-
"color-active-component": "var(--colors-active-component)",
|
|
8
|
-
"alpha-100": "var(--colors-alpha-100)",
|
|
9
|
-
"alpha-500": "var(--colors-alpha-500)",
|
|
10
|
-
"alpha-600": "var(--colors-alpha-600)",
|
|
11
|
-
"alpha-700": "var(--colors-alpha-700)",
|
|
12
|
-
"beta-100": "var(--colors-beta-100)",
|
|
13
|
-
"beta-500": "var(--colors-beta-500)",
|
|
14
|
-
"beta-600": "var(--colors-beta-600)",
|
|
15
|
-
"beta-700": "var(--colors-beta-700)",
|
|
16
|
-
"gama-25": "var(--colors-gama-25)",
|
|
17
|
-
"gama-50": "var(--colors-gama-50)",
|
|
18
|
-
"gama-100": "var(--colors-gama-100)",
|
|
19
|
-
"gama-200": "var(--colors-gama-200)",
|
|
20
|
-
"gama-300": "var(--colors-gama-300)",
|
|
21
|
-
"gama-400": "var(--colors-gama-400)",
|
|
22
|
-
"gama-500": "var(--colors-gama-500)",
|
|
23
|
-
"gama-600": "var(--colors-gama-600)",
|
|
24
|
-
"gama-700": "var(--colors-gama-700)",
|
|
25
|
-
"gama-800": "var(--colors-gama-800)",
|
|
26
|
-
"delta-10": "var(--colors-delta-10)",
|
|
27
|
-
"delta-50": "var(--colors-delta-50)",
|
|
28
|
-
"delta-100": "var(--colors-delta-100)",
|
|
29
|
-
"delta-200": "var(--colors-delta-200)",
|
|
30
|
-
"delta-300": "var(--colors-delta-300)",
|
|
31
|
-
"delta-400": "var(--colors-delta-400)",
|
|
32
|
-
"delta-500": "var(--colors-delta-500)",
|
|
33
|
-
"delta-600": "var(--colors-delta-600)",
|
|
34
|
-
"delta-700": "var(--colors-delta-700)",
|
|
35
|
-
"delta-800": "var(--colors-delta-800)",
|
|
36
|
-
"delta-900": "var(--colors-delta-900)",
|
|
37
|
-
"delta-9000": "var(--colors-gray-9000)",
|
|
38
|
-
"sigma-700": "var(--colors-sigma-700)",
|
|
39
|
-
"theta-100": "var(--colors-theta-100)",
|
|
40
|
-
"theta-200": "var(--colors-theta-200)",
|
|
41
|
-
"theta-300": "var(--colors-theta-300)",
|
|
42
|
-
"theta-400": "var(--colors-theta-400)",
|
|
43
|
-
"theta-500": "var(--colors-theta-500)",
|
|
44
|
-
"theta-600": "var(--colors-theta-600)",
|
|
45
|
-
"theta-700": "var(--colors-theta-700)",
|
|
46
|
-
"theta-800": "var(--colors-theta-800)",
|
|
47
|
-
"theta-hover": "var(--colors-theta-hover)",
|
|
48
|
-
"btn-bg": "var(--colors-btn-bg-standart)",
|
|
49
|
-
"btn-bg-active": "var(--colors-btn-bg-active)",
|
|
50
|
-
"btn-bg-hover": "var(--colors-btn-bg-hover)",
|
|
51
|
-
"btn-bg-disabled": "var(--colors-btn-bg-disabled)",
|
|
52
|
-
"btn-bg-danger": "var(--colors-btn-bg-danger)",
|
|
53
|
-
"btn-bg-danger-active": "var(--colors-btn-bg-danger-active)",
|
|
54
|
-
"btn-task-status-bg": "var(--colors-btn-task-status-bg)",
|
|
55
|
-
"btn-bg-mini-action": "var(--colors-btn-bg-mini-action)",
|
|
56
|
-
"btn-bg-mini-action-hover": "var(--colors-btn-bg-mini-action-hover)",
|
|
57
|
-
|
|
58
|
-
"chat-ticket-message-bg": "var(--colors-chat-ticket-message-bg)",
|
|
59
|
-
"colors-topbar-text": "var(--colors-topbar-text)",
|
|
60
|
-
"custom-grey-01": "hsl(var(--color-cardea--grey-01) / <alpha-value>)",
|
|
61
|
-
"custom-grey-02": "hsl(var(--color-cardea--grey-02) / <alpha-value>)",
|
|
62
|
-
"custom-grey-03": "hsl(var(--color-cardea--grey-03) / <alpha-value>)",
|
|
63
|
-
"custom-grey-04": "hsl(var(--color-cardea--grey-04) / <alpha-value>)",
|
|
64
|
-
"custom-grey-06": "hsl(var(--color-cardea--grey-06) / <alpha-value>)"
|
|
65
|
-
},
|
|
66
|
-
"boxShadow": {
|
|
67
|
-
"ash": "-1px 8px 18px -20px black",
|
|
68
|
-
"mui": "0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)"
|
|
69
|
-
},
|
|
70
|
-
"animation": {
|
|
71
|
-
"slide-in": "slide-in 0.3s linear",
|
|
72
|
-
"slide-out": "slide-out 0.3s linear",
|
|
73
|
-
"opacity-in": "opacity-in 0.1s linear",
|
|
74
|
-
"opacity-in-5": "opacity-in 0.5s linear",
|
|
75
|
-
"opacity-appear-3": "opacity-appear 0.3s linear",
|
|
76
|
-
"opacity-out": "opacity-out 0.3s linear"
|
|
77
|
-
},
|
|
78
|
-
"keyframes": {
|
|
79
|
-
"slide-in": {
|
|
80
|
-
"0%": { "margin": "0 0 0 -320px" },
|
|
81
|
-
"100%": { "margin": "0" }
|
|
82
|
-
},
|
|
83
|
-
"slide-out": {
|
|
84
|
-
"0%": { "margin": "0" },
|
|
85
|
-
"100%": { "margin": "0 0 0 -320px" }
|
|
86
|
-
},
|
|
87
|
-
"opacity-in": {
|
|
88
|
-
"0%": {
|
|
89
|
-
"opacity": "0",
|
|
90
|
-
"height": "100%"
|
|
91
|
-
},
|
|
92
|
-
"100%": {
|
|
93
|
-
"opacity": "1",
|
|
94
|
-
"height": "100%"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"opacity-appear": {
|
|
98
|
-
"0%": {
|
|
99
|
-
"opacity": "0"
|
|
100
|
-
},
|
|
101
|
-
"100%": {
|
|
102
|
-
"opacity": "1"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"opacity-out": {
|
|
106
|
-
"0%": { "opacity": "1", "height": "100%" },
|
|
107
|
-
"60%": { "opacity": "1", "height": "100%" },
|
|
108
|
-
"100%": { "opacity": "0", "height": "100%" }
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|