infinity-ui-elements 1.7.12 → 1.8.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.
- package/dist/components/Alert/Alert.d.ts +60 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.stories.d.ts +16 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +3 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Counter/Counter.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.stories.d.ts +60 -60
- package/dist/components/IconButton/IconButton.d.ts +22 -0
- package/dist/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +17 -0
- package/dist/components/IconButton/IconButton.stories.d.ts.map +1 -0
- package/dist/components/IconButton/index.d.ts +3 -0
- package/dist/components/IconButton/index.d.ts.map +1 -0
- package/dist/components/Link/Link.d.ts +3 -3
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/SearchableDropdown/SearchableDropdown.stories.d.ts +74 -74
- package/dist/components/Select/Select.d.ts +2 -2
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/TabItem/TabItem.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +1 -5
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.stories.d.ts.map +1 -1
- package/dist/components/Table/TableBody.d.ts +2 -5
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableHeader.d.ts +1 -3
- package/dist/components/Table/TableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableVariants.d.ts +3 -3
- package/dist/components/TextArea/TextArea.d.ts +2 -2
- package/dist/components/TextField/TextField.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +961 -600
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +963 -598
- package/dist/index.js.map +1 -1
- package/dist/lib/icons.d.ts +3 -0
- package/dist/lib/icons.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -34,64 +34,30 @@ declare const meta: {
|
|
|
34
34
|
dropdownClassName?: string | undefined;
|
|
35
35
|
minSearchLength?: number | undefined;
|
|
36
36
|
showOnFocus?: boolean | undefined;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
37
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
38
|
+
dangerouslySetInnerHTML?: {
|
|
39
|
+
__html: string | TrustedHTML;
|
|
40
|
+
} | undefined | undefined;
|
|
42
41
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
43
|
-
accessKey?: string | undefined | undefined;
|
|
44
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
45
|
-
autoFocus?: boolean | undefined | undefined;
|
|
46
42
|
className?: string | undefined | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
dir?: string | undefined | undefined;
|
|
50
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
51
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
52
|
-
hidden?: boolean | undefined | undefined;
|
|
43
|
+
color?: string | undefined | undefined;
|
|
44
|
+
height?: number | string | undefined | undefined;
|
|
53
45
|
id?: string | undefined | undefined;
|
|
54
46
|
lang?: string | undefined | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
max?: number | string | undefined | undefined;
|
|
48
|
+
min?: number | string | undefined | undefined;
|
|
49
|
+
name?: string | undefined | undefined;
|
|
58
50
|
style?: React.CSSProperties | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
62
|
-
radioGroup?: string | undefined | undefined;
|
|
51
|
+
type?: React.HTMLInputTypeAttribute | undefined;
|
|
52
|
+
width?: number | string | undefined | undefined;
|
|
63
53
|
role?: React.AriaRole | undefined;
|
|
64
|
-
|
|
65
|
-
content?: string | undefined | undefined;
|
|
66
|
-
datatype?: string | undefined | undefined;
|
|
67
|
-
inlist?: any;
|
|
68
|
-
prefix?: React.ReactNode;
|
|
69
|
-
property?: string | undefined | undefined;
|
|
70
|
-
rel?: string | undefined | undefined;
|
|
71
|
-
resource?: string | undefined | undefined;
|
|
72
|
-
rev?: string | undefined | undefined;
|
|
73
|
-
typeof?: string | undefined | undefined;
|
|
74
|
-
vocab?: string | undefined | undefined;
|
|
75
|
-
autoCorrect?: string | undefined | undefined;
|
|
76
|
-
autoSave?: string | undefined | undefined;
|
|
77
|
-
itemProp?: string | undefined | undefined;
|
|
78
|
-
itemScope?: boolean | undefined | undefined;
|
|
79
|
-
itemType?: string | undefined | undefined;
|
|
80
|
-
itemID?: string | undefined | undefined;
|
|
81
|
-
itemRef?: string | undefined | undefined;
|
|
82
|
-
results?: number | undefined | undefined;
|
|
83
|
-
security?: string | undefined | undefined;
|
|
84
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
85
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
86
|
-
is?: string | undefined | undefined;
|
|
87
|
-
exportparts?: string | undefined | undefined;
|
|
88
|
-
part?: string | undefined | undefined;
|
|
54
|
+
tabIndex?: number | undefined | undefined;
|
|
89
55
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
90
|
-
"aria-atomic"?: (boolean | "
|
|
56
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
91
57
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
92
58
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
93
59
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
94
|
-
"aria-busy"?: (boolean | "
|
|
60
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
95
61
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
96
62
|
"aria-colcount"?: number | undefined | undefined;
|
|
97
63
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -102,37 +68,37 @@ declare const meta: {
|
|
|
102
68
|
"aria-describedby"?: string | undefined | undefined;
|
|
103
69
|
"aria-description"?: string | undefined | undefined;
|
|
104
70
|
"aria-details"?: string | undefined | undefined;
|
|
105
|
-
"aria-disabled"?: (boolean | "
|
|
71
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
106
72
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
107
73
|
"aria-errormessage"?: string | undefined | undefined;
|
|
108
|
-
"aria-expanded"?: (boolean | "
|
|
74
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
109
75
|
"aria-flowto"?: string | undefined | undefined;
|
|
110
|
-
"aria-grabbed"?: (boolean | "
|
|
76
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
111
77
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
112
|
-
"aria-hidden"?: (boolean | "
|
|
78
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
113
79
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
114
80
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
115
81
|
"aria-label"?: string | undefined | undefined;
|
|
116
82
|
"aria-labelledby"?: string | undefined | undefined;
|
|
117
83
|
"aria-level"?: number | undefined | undefined;
|
|
118
84
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
119
|
-
"aria-modal"?: (boolean | "
|
|
120
|
-
"aria-multiline"?: (boolean | "
|
|
121
|
-
"aria-multiselectable"?: (boolean | "
|
|
85
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
86
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
122
88
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
123
89
|
"aria-owns"?: string | undefined | undefined;
|
|
124
90
|
"aria-placeholder"?: string | undefined | undefined;
|
|
125
91
|
"aria-posinset"?: number | undefined | undefined;
|
|
126
92
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
127
|
-
"aria-readonly"?: (boolean | "
|
|
93
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
128
94
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
129
|
-
"aria-required"?: (boolean | "
|
|
95
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
130
96
|
"aria-roledescription"?: string | undefined | undefined;
|
|
131
97
|
"aria-rowcount"?: number | undefined | undefined;
|
|
132
98
|
"aria-rowindex"?: number | undefined | undefined;
|
|
133
99
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
134
100
|
"aria-rowspan"?: number | undefined | undefined;
|
|
135
|
-
"aria-selected"?: (boolean | "
|
|
101
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
136
102
|
"aria-setsize"?: number | undefined | undefined;
|
|
137
103
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
138
104
|
"aria-valuemax"?: number | undefined | undefined;
|
|
@@ -140,9 +106,6 @@ declare const meta: {
|
|
|
140
106
|
"aria-valuenow"?: number | undefined | undefined;
|
|
141
107
|
"aria-valuetext"?: string | undefined | undefined;
|
|
142
108
|
children?: React.ReactNode;
|
|
143
|
-
dangerouslySetInnerHTML?: {
|
|
144
|
-
__html: string | TrustedHTML;
|
|
145
|
-
} | undefined | undefined;
|
|
146
109
|
onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
147
110
|
onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
148
111
|
onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
@@ -300,30 +263,67 @@ declare const meta: {
|
|
|
300
263
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
301
264
|
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
302
265
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
303
|
-
|
|
304
|
-
|
|
266
|
+
hidden?: boolean | undefined | undefined;
|
|
267
|
+
content?: string | undefined | undefined;
|
|
268
|
+
multiple?: boolean | undefined | undefined;
|
|
269
|
+
disabled?: boolean | undefined | undefined;
|
|
305
270
|
form?: string | undefined | undefined;
|
|
271
|
+
label?: string | undefined;
|
|
272
|
+
slot?: string | undefined | undefined;
|
|
273
|
+
title?: string | undefined | undefined;
|
|
274
|
+
pattern?: string | undefined | undefined;
|
|
306
275
|
list?: string | undefined | undefined;
|
|
307
276
|
step?: number | string | undefined | undefined;
|
|
308
|
-
src?: string | undefined | undefined;
|
|
309
|
-
alt?: string | undefined | undefined;
|
|
310
|
-
containerClassName?: string | undefined;
|
|
311
277
|
isDisabled?: boolean | undefined;
|
|
312
278
|
formAction?: string | undefined;
|
|
313
279
|
formEncType?: string | undefined | undefined;
|
|
314
280
|
formMethod?: string | undefined | undefined;
|
|
315
281
|
formNoValidate?: boolean | undefined | undefined;
|
|
316
282
|
formTarget?: string | undefined | undefined;
|
|
317
|
-
|
|
318
|
-
|
|
283
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
284
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
285
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
286
|
+
accessKey?: string | undefined | undefined;
|
|
287
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
288
|
+
autoFocus?: boolean | undefined | undefined;
|
|
289
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
290
|
+
contextMenu?: string | undefined | undefined;
|
|
291
|
+
dir?: string | undefined | undefined;
|
|
292
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
293
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
294
|
+
nonce?: string | undefined | undefined;
|
|
295
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
296
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
297
|
+
radioGroup?: string | undefined | undefined;
|
|
298
|
+
about?: string | undefined | undefined;
|
|
299
|
+
datatype?: string | undefined | undefined;
|
|
300
|
+
inlist?: any;
|
|
301
|
+
prefix?: React.ReactNode;
|
|
302
|
+
property?: string | undefined | undefined;
|
|
303
|
+
rel?: string | undefined | undefined;
|
|
304
|
+
resource?: string | undefined | undefined;
|
|
305
|
+
rev?: string | undefined | undefined;
|
|
306
|
+
typeof?: string | undefined | undefined;
|
|
307
|
+
vocab?: string | undefined | undefined;
|
|
308
|
+
autoCorrect?: string | undefined | undefined;
|
|
309
|
+
autoSave?: string | undefined | undefined;
|
|
310
|
+
itemProp?: string | undefined | undefined;
|
|
311
|
+
itemScope?: boolean | undefined | undefined;
|
|
312
|
+
itemType?: string | undefined | undefined;
|
|
313
|
+
itemID?: string | undefined | undefined;
|
|
314
|
+
itemRef?: string | undefined | undefined;
|
|
315
|
+
results?: number | undefined | undefined;
|
|
316
|
+
security?: string | undefined | undefined;
|
|
317
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
318
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
319
|
+
is?: string | undefined | undefined;
|
|
320
|
+
exportparts?: string | undefined | undefined;
|
|
321
|
+
part?: string | undefined | undefined;
|
|
322
|
+
src?: string | undefined | undefined;
|
|
323
|
+
alt?: string | undefined | undefined;
|
|
324
|
+
containerClassName?: string | undefined;
|
|
319
325
|
helperText?: string | undefined;
|
|
320
326
|
validationState?: "none" | "positive" | "negative" | undefined;
|
|
321
|
-
height?: number | string | undefined | undefined;
|
|
322
|
-
max?: number | string | undefined | undefined;
|
|
323
|
-
min?: number | string | undefined | undefined;
|
|
324
|
-
width?: number | string | undefined | undefined;
|
|
325
|
-
multiple?: boolean | undefined | undefined;
|
|
326
|
-
pattern?: string | undefined | undefined;
|
|
327
327
|
accept?: string | undefined | undefined;
|
|
328
328
|
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
329
329
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -5,8 +5,8 @@ export interface SelectOption extends DropdownMenuItem {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
}
|
|
7
7
|
declare const selectVariants: (props?: ({
|
|
8
|
-
size?: "
|
|
9
|
-
validationState?: "
|
|
8
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
9
|
+
validationState?: "none" | "positive" | "negative" | null | undefined;
|
|
10
10
|
isDisabled?: boolean | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
12
|
export interface SelectProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "prefix"> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const switchVariants: (props?: ({
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
4
4
|
isChecked?: boolean | null | undefined;
|
|
5
5
|
isDisabled?: boolean | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const tabItemVariants: (props?: ({
|
|
3
3
|
variant?: "bordered" | "borderless" | null | undefined;
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
5
5
|
isSelected?: boolean | null | undefined;
|
|
6
6
|
isDisabled?: boolean | null | undefined;
|
|
7
7
|
isFullWidth?: boolean | null | undefined;
|
|
@@ -26,10 +26,6 @@ export interface TableProps<TData extends RowData> extends React.HTMLAttributes<
|
|
|
26
26
|
headerClassName?: string;
|
|
27
27
|
cellClassName?: string;
|
|
28
28
|
showHeaderBackground?: boolean;
|
|
29
|
-
detailPanel?: (row: TData) => React.ReactNode;
|
|
30
|
-
hideColumnsOnDetailOpen?: number;
|
|
31
|
-
selectedRowId?: string;
|
|
32
|
-
onRowSelectionChange?: (rowId: string | null) => void;
|
|
33
29
|
loading?: boolean;
|
|
34
30
|
loadingSkeletonRows?: number;
|
|
35
31
|
loadingSkeletonHeight?: number | string;
|
|
@@ -37,7 +33,7 @@ export interface TableProps<TData extends RowData> extends React.HTMLAttributes<
|
|
|
37
33
|
columnMinWidths?: Partial<Record<string, string | number>>;
|
|
38
34
|
columnMaxWidths?: Partial<Record<string, string | number>>;
|
|
39
35
|
}
|
|
40
|
-
declare function TableComponent<TData extends RowData>({ className, wrapperClassName, containerClassName, variant, size, table, enableRowSelection, enableSelectAll, isLoading, loading, loadingComponent, emptyComponent, enableHorizontalScroll, stickyHeader, maxHeight, showRowHover, onRowClick, rowClassName, headerClassName, cellClassName, showHeaderBackground,
|
|
36
|
+
declare function TableComponent<TData extends RowData>({ className, wrapperClassName, containerClassName, variant, size, table, enableRowSelection, enableSelectAll, isLoading, loading, loadingComponent, emptyComponent, enableHorizontalScroll, stickyHeader, maxHeight, showRowHover, onRowClick, rowClassName, headerClassName, cellClassName, showHeaderBackground, loadingSkeletonRows, loadingSkeletonHeight, columnWidths, columnMinWidths, columnMaxWidths, ...props }: TableProps<TData>, ref: React.ForwardedRef<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
41
37
|
export declare const Table: <TData extends RowData>(props: TableProps<TData> & {
|
|
42
38
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
43
39
|
}) => ReturnType<typeof TableComponent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAI7E,OAAO,EAAE,aAAa,EAAqB,MAAM,iBAAiB,CAAC;AAQnE,OAAO,QAAQ,uBAAuB,CAAC;IACrC,UAAU,UAAU,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM;QAChD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;CACF;AAID,MAAM,WAAW,UAAU,CAAC,KAAK,SAAS,OAAO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EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;CAC5D;AAID,iBAAS,cAAc,CAAC,KAAK,SAAS,OAAO,EAC3C,EACE,SAAS,EACT,gBAAgB,EAChB,kBAAkB,EAClB,OAAO,EACP,IAAe,EACf,KAAK,EACL,kBAA0B,EAC1B,eAAuB,EACvB,SAAiB,EACjB,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,sBAA8B,EAC9B,YAAoB,EACpB,SAAS,EACT,YAAmB,EACnB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,aAAa,EACb,oBAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,CAAC,KAAK,CAAC,EACpB,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,2CAmNxC;AAID,eAAO,MAAM,KAAK,EAAuC,CACvD,KAAK,SAAS,OAAO,EAErB,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAA;CAAE,KACpE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAIvC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAyThC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAO5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,YAAY,EAAE,KAmC1B,CAAC;AAEF,eAAO,MA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,KAgC9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAgD5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAoC9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAyB5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAyBvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAyBvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAkB1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAyC9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAiC1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAyC7C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAwC1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KA6B9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAuChC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA0B7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAyBrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAyBlC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8B7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAoD1C,CAAC"}
|
|
@@ -7,18 +7,15 @@ interface TableBodyProps<TData> {
|
|
|
7
7
|
variant: "default" | "bordered" | "striped";
|
|
8
8
|
showRowHover: boolean;
|
|
9
9
|
cellClassName?: string;
|
|
10
|
-
isDetailPanelOpen: boolean;
|
|
11
|
-
visibleHeadersCount: number;
|
|
12
|
-
effectiveSelectedRowId: string | null;
|
|
13
10
|
onRowClick?: (row: TData) => void;
|
|
14
11
|
getRowClassName: (row: TData) => string;
|
|
15
|
-
handleRowClick: (row: TData
|
|
12
|
+
handleRowClick: (row: TData) => void;
|
|
16
13
|
getColumnStyle: (columnId: string, fallback?: {
|
|
17
14
|
width?: number;
|
|
18
15
|
minWidth?: number;
|
|
19
16
|
maxWidth?: number;
|
|
20
17
|
}) => React.CSSProperties;
|
|
21
18
|
}
|
|
22
|
-
export declare function TableBody<TData>({ rows, enableRowSelection, size, variant, showRowHover, cellClassName,
|
|
19
|
+
export declare function TableBody<TData>({ rows, enableRowSelection, size, variant, showRowHover, cellClassName, onRowClick, getRowClassName, handleRowClick, getColumnStyle, }: TableBodyProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
23
20
|
export {};
|
|
24
21
|
//# sourceMappingURL=TableBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAK7D,UAAU,cAAc,CAAC,KAAK;IAC5B,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAK7D,UAAU,cAAc,CAAC,KAAK;IAC5B,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,eAAe,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,MAAM,CAAC;IACxC,cAAc,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,cAAc,EAAE,CACd,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,KAChE,KAAK,CAAC,aAAa,CAAC;CAC1B;AAOD,wBAAgB,SAAS,CAAC,KAAK,EAAE,EAC/B,IAAI,EACJ,kBAAkB,EAClB,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,UAAU,EACV,eAAe,EACf,cAAc,EACd,cAAc,GACf,EAAE,cAAc,CAAC,KAAK,CAAC,2CA2FvB"}
|
|
@@ -8,8 +8,6 @@ interface TableHeaderProps<TData> {
|
|
|
8
8
|
stickyHeader: boolean;
|
|
9
9
|
size: "small" | "medium" | "large";
|
|
10
10
|
headerClassName?: string;
|
|
11
|
-
isDetailPanelOpen: boolean;
|
|
12
|
-
visibleHeadersCount: number;
|
|
13
11
|
onToggleAllRows: (e?: unknown) => void;
|
|
14
12
|
isAllRowsSelected: boolean;
|
|
15
13
|
isSomeRowsSelected: boolean;
|
|
@@ -19,6 +17,6 @@ interface TableHeaderProps<TData> {
|
|
|
19
17
|
maxWidth?: number;
|
|
20
18
|
}) => React.CSSProperties;
|
|
21
19
|
}
|
|
22
|
-
export declare function TableHeader<TData>({ headerGroups, enableRowSelection, enableSelectAll, showHeaderBackground, stickyHeader, size, headerClassName,
|
|
20
|
+
export declare function TableHeader<TData>({ headerGroups, enableRowSelection, enableSelectAll, showHeaderBackground, stickyHeader, size, headerClassName, onToggleAllRows, isAllRowsSelected, isSomeRowsSelected, getColumnStyle, }: TableHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
23
21
|
export {};
|
|
24
22
|
//# sourceMappingURL=TableHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAC;AAK/B,UAAU,gBAAgB,CAAC,KAAK;IAC9B,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;IACnC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAC;AAK/B,UAAU,gBAAgB,CAAC,KAAK;IAC9B,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;IACnC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,CACd,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,KAChE,KAAK,CAAC,aAAa,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,EACjC,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,IAAI,EACJ,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,GACf,EAAE,gBAAgB,CAAC,KAAK,CAAC,2CAkGzB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const tableVariants: (props?: ({
|
|
2
2
|
variant?: "default" | "bordered" | "striped" | null | undefined;
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
5
5
|
export declare const tableHeaderVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
8
|
export declare const tableCellVariants: (props?: ({
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
10
10
|
state?: "default" | "focus" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
12
|
//# sourceMappingURL=tableVariants.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const textAreaVariants: (props?: ({
|
|
3
|
-
size?: "
|
|
4
|
-
validationState?: "
|
|
3
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
4
|
+
validationState?: "none" | "positive" | "negative" | null | undefined;
|
|
5
5
|
isDisabled?: boolean | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const textFieldVariants: (props?: ({
|
|
3
|
-
size?: "
|
|
4
|
-
validationState?: "
|
|
3
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
4
|
+
validationState?: "none" | "positive" | "negative" | null | undefined;
|
|
5
5
|
isDisabled?: boolean | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> {
|