react-restyle-components 0.4.40 → 0.4.41

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.
@@ -0,0 +1,246 @@
1
+ /**
2
+ * AG Grid Styled Components
3
+ * Beautiful, responsive styled components for the AG Grid-like table
4
+ */
5
+ /// <reference types="react" />
6
+ import type { ThemeVariant, AgGridTheme } from './types';
7
+ declare const themes: Record<ThemeVariant, AgGridTheme>;
8
+ export declare const getTheme: (variant: ThemeVariant, custom?: Partial<AgGridTheme>) => AgGridTheme;
9
+ export declare const GridRoot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
10
+ $theme: AgGridTheme;
11
+ $responsive?: boolean | undefined;
12
+ }>> & string;
13
+ export declare const GridWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
+ export declare const GridToolbar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
+ $theme: AgGridTheme;
16
+ }>> & string;
17
+ export declare const ToolbarGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
+ export declare const ToolbarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
19
+ $theme: AgGridTheme;
20
+ $active?: boolean | undefined;
21
+ $variant?: "default" | "primary" | "danger" | undefined;
22
+ }>> & string;
23
+ export declare const QuickFilter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
24
+ $theme: AgGridTheme;
25
+ }>> & string;
26
+ export declare const TableContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
27
+ $stickyHeader?: boolean | undefined;
28
+ $maxHeight?: string | number | undefined;
29
+ }>> & string;
30
+ export declare const StyledTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
31
+ $theme: AgGridTheme;
32
+ $fixedLayout?: boolean | undefined;
33
+ }>> & string;
34
+ export declare const TableHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {
35
+ $theme: AgGridTheme;
36
+ $sticky?: boolean | undefined;
37
+ }>> & string;
38
+ export declare const HeaderRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
39
+ $theme: AgGridTheme;
40
+ $height?: number | undefined;
41
+ }>> & string;
42
+ export declare const HeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
43
+ $theme: AgGridTheme;
44
+ $align?: "center" | "left" | "right" | undefined;
45
+ $sortable?: boolean | undefined;
46
+ $sorted?: boolean | undefined;
47
+ $resizable?: boolean | undefined;
48
+ $pinned?: "left" | "right" | null | undefined;
49
+ $width?: number | undefined;
50
+ $minWidth?: number | undefined;
51
+ $maxWidth?: number | undefined;
52
+ }>> & string;
53
+ export declare const HeaderCellContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
54
+ export declare const HeaderText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
55
+ export declare const SortIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
56
+ $direction: 'asc' | 'desc' | null;
57
+ $active?: boolean | undefined;
58
+ }>> & string;
59
+ export declare const FilterIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
60
+ $active?: boolean | undefined;
61
+ $theme: AgGridTheme;
62
+ }>> & string;
63
+ export declare const ResizeHandle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
64
+ $theme: AgGridTheme;
65
+ $resizing?: boolean | undefined;
66
+ }>> & string;
67
+ export declare const GroupHeaderRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
68
+ $theme: AgGridTheme;
69
+ }>> & string;
70
+ export declare const GroupHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
71
+ $theme: AgGridTheme;
72
+ $colSpan: number;
73
+ }>> & string;
74
+ export declare const FloatingFilterRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
75
+ $theme: AgGridTheme;
76
+ $height?: number | undefined;
77
+ }>> & string;
78
+ export declare const FloatingFilterCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
79
+ $theme: AgGridTheme;
80
+ }>> & string;
81
+ export declare const TableBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {
82
+ $theme: AgGridTheme;
83
+ }>> & string;
84
+ export declare const TableRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
85
+ $theme: AgGridTheme;
86
+ $selected?: boolean | undefined;
87
+ $highlighted?: boolean | undefined;
88
+ $striped?: boolean | undefined;
89
+ $even?: boolean | undefined;
90
+ $height?: number | undefined;
91
+ $animate?: boolean | undefined;
92
+ $dragging?: boolean | undefined;
93
+ $dragOver?: boolean | undefined;
94
+ $group?: boolean | undefined;
95
+ $groupLevel?: number | undefined;
96
+ }>> & string;
97
+ export declare const TableCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
98
+ $theme: AgGridTheme;
99
+ $align?: "center" | "left" | "right" | undefined;
100
+ $pinned?: "left" | "right" | null | undefined;
101
+ $editing?: boolean | undefined;
102
+ $flashing?: boolean | undefined;
103
+ $width?: number | undefined;
104
+ }>> & string;
105
+ export declare const CellContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
106
+ $wrapText?: boolean | undefined;
107
+ }>> & string;
108
+ export declare const Checkbox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
109
+ $theme: AgGridTheme;
110
+ }>> & string;
111
+ export declare const CheckboxCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
112
+ export declare const ExpandButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
113
+ $theme: AgGridTheme;
114
+ $expanded?: boolean | undefined;
115
+ $level?: number | undefined;
116
+ }>> & string;
117
+ export declare const GroupCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
118
+ $level?: number | undefined;
119
+ }>> & string;
120
+ export declare const DragHandle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
121
+ $theme: AgGridTheme;
122
+ $dragging?: boolean | undefined;
123
+ }>> & string;
124
+ export declare const CellEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
125
+ $theme: AgGridTheme;
126
+ }>> & string;
127
+ export declare const TableFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {
128
+ $theme: AgGridTheme;
129
+ }>> & string;
130
+ export declare const FooterRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
131
+ $theme: AgGridTheme;
132
+ }>> & string;
133
+ export declare const FooterCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
134
+ $theme: AgGridTheme;
135
+ $align?: "center" | "left" | "right" | undefined;
136
+ }>> & string;
137
+ export declare const PaginationBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
138
+ $theme: AgGridTheme;
139
+ }>> & string;
140
+ export declare const PaginationInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
141
+ $theme: AgGridTheme;
142
+ }>> & string;
143
+ export declare const PaginationControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
144
+ export declare const PageButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
145
+ $theme: AgGridTheme;
146
+ $active?: boolean | undefined;
147
+ }>> & string;
148
+ export declare const PageSizeSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {
149
+ $theme: AgGridTheme;
150
+ }>> & string;
151
+ export declare const StatusBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
152
+ $theme: AgGridTheme;
153
+ }>> & string;
154
+ export declare const StatusItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
155
+ export declare const SideBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
156
+ $theme: AgGridTheme;
157
+ $position: 'left' | 'right';
158
+ $width?: number | undefined;
159
+ }>> & string;
160
+ export declare const SideBarTabs: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
161
+ $theme: AgGridTheme;
162
+ }>> & string;
163
+ export declare const SideBarTab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
164
+ $theme: AgGridTheme;
165
+ $active?: boolean | undefined;
166
+ }>> & string;
167
+ export declare const SideBarContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
168
+ $theme: AgGridTheme;
169
+ }>> & string;
170
+ export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
171
+ $theme: AgGridTheme;
172
+ }>> & string;
173
+ export declare const LoadingOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$theme"> & {
174
+ $theme: AgGridTheme;
175
+ }, "ref"> & {
176
+ ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
177
+ }, never>> & string;
178
+ export declare const Spinner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
179
+ $theme: AgGridTheme;
180
+ $size?: number | undefined;
181
+ }>> & string;
182
+ export declare const NoRowsOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$theme"> & {
183
+ $theme: AgGridTheme;
184
+ }, "ref"> & {
185
+ ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
186
+ }, never>> & string;
187
+ export declare const ContextMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
188
+ $theme: AgGridTheme;
189
+ $x: number;
190
+ $y: number;
191
+ }>> & string;
192
+ export declare const ContextMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
193
+ $theme: AgGridTheme;
194
+ $disabled?: boolean | undefined;
195
+ $danger?: boolean | undefined;
196
+ }>> & string;
197
+ export declare const ContextMenuDivider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
198
+ $theme: AgGridTheme;
199
+ }>> & string;
200
+ export declare const ColumnMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
201
+ $theme: AgGridTheme;
202
+ }>> & string;
203
+ export declare const MobileCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
204
+ $theme: AgGridTheme;
205
+ }>> & string;
206
+ export declare const MobileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
207
+ $theme: AgGridTheme;
208
+ $selected?: boolean | undefined;
209
+ }>> & string;
210
+ export declare const MobileCardHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
211
+ $theme: AgGridTheme;
212
+ }>> & string;
213
+ export declare const MobileCardRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
214
+ $theme: AgGridTheme;
215
+ }>> & string;
216
+ export declare const MobileCardLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
217
+ $theme: AgGridTheme;
218
+ }>> & string;
219
+ export declare const MobileCardValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
220
+ $theme: AgGridTheme;
221
+ }>> & string;
222
+ export declare const SkeletonRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
223
+ $theme: AgGridTheme;
224
+ }>> & string;
225
+ export declare const SkeletonCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
226
+ $theme: AgGridTheme;
227
+ }>> & string;
228
+ export declare const SkeletonBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
229
+ $theme: AgGridTheme;
230
+ $width?: string | undefined;
231
+ }>> & string;
232
+ export declare const TooltipContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
233
+ $theme: AgGridTheme;
234
+ $x: number;
235
+ $y: number;
236
+ }>> & string;
237
+ export declare const DragGhost: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
238
+ $theme: AgGridTheme;
239
+ $visible: boolean;
240
+ }>> & string;
241
+ export declare const SelectionBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
242
+ $theme: AgGridTheme;
243
+ $visible: boolean;
244
+ }>> & string;
245
+ export declare const SelectionActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
246
+ export { themes };