@uxf/data-grid 5.0.0-beta.2 → 5.0.0-beta.21
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/DataGrid.d.ts +1 -0
- package/DataGrid.js +6 -6
- package/hooks/useCallbackRef.d.ts +1 -0
- package/hooks/useColumns.js +22 -18
- package/icons-config/index.js +64 -0
- package/package.json +6 -5
- package/tailwindui/DataGrid.d.ts +1 -0
- package/tailwindui/body-cell/body-cell-boolean.js +5 -3
- package/tailwindui/body-cell/body-cell-date.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-date.js +16 -0
- package/tailwindui/body-cell/body-cell-datetime.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-datetime.js +16 -0
- package/tailwindui/body-cell/body-cell-email.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-email.js +17 -0
- package/tailwindui/body-cell/body-cell-phone.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-phone.js +17 -0
- package/tailwindui/body-cell/body-cell-to-many.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-to-many.js +18 -0
- package/tailwindui/body-cell/body-cell-to-one.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-to-one.js +15 -0
- package/tailwindui/body-cell/body-cell-url.d.ts +2 -0
- package/tailwindui/body-cell/body-cell-url.js +17 -0
- package/tailwindui/body-cell/index.js +15 -1
- package/tailwindui/components/action-cell-base.js +1 -1
- package/tailwindui/components/drawer.js +11 -11
- package/tailwindui/components/filter-list.js +3 -3
- package/tailwindui/components/no-rows-fallback.js +3 -3
- package/tailwindui/components/pagination-rows-per-page-select.js +2 -2
- package/tailwindui/components/select-row-checkbox.js +10 -4
- package/tailwindui/components/selected-rows-toolbar.js +3 -3
- package/tailwindui/components/toolbar-control.js +6 -5
- package/tailwindui/components/toolbar-customs.js +9 -4
- package/tailwindui/components/toolbar-tabs.js +19 -3
- package/tailwindui/filter-handler/bool-filter.d.ts +3 -0
- package/tailwindui/filter-handler/bool-filter.js +32 -0
- package/tailwindui/filter-handler/boolean-filter.js +5 -6
- package/tailwindui/filter-handler/index.js +8 -1
- package/tailwindui/filter-handler/interval-filter.d.ts +3 -0
- package/tailwindui/filter-handler/interval-filter.js +50 -0
- package/tailwindui/filter-handler/select-filter.d.ts +3 -0
- package/tailwindui/filter-handler/select-filter.js +33 -0
- package/tailwindui/styles.css +202 -23
- package/types/components.d.ts +8 -1
- package/types/core.d.ts +6 -4
- package/utils.js +2 -2
- package/icons.config.js +0 -14
package/tailwindui/styles.css
CHANGED
|
@@ -1,22 +1,88 @@
|
|
|
1
1
|
.uxf-data-grid {
|
|
2
|
-
@apply border border-gray-300 rounded;
|
|
2
|
+
@apply border border-gray-300 dark:border-gray-700 rounded;
|
|
3
3
|
|
|
4
4
|
&.no-border {
|
|
5
5
|
@apply border-0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
@apply
|
|
8
|
+
&__action-cell {
|
|
9
|
+
@apply sticky right-0;
|
|
10
|
+
|
|
11
|
+
border-inline-start: 1px solid theme("colors.gray.200");
|
|
12
|
+
|
|
13
|
+
:root .dark & {
|
|
14
|
+
border-inline-start: 1px solid theme("colors.gray.700");
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
|
|
12
18
|
&__action-cell-wrapper {
|
|
13
19
|
@apply flex items-center justify-center text-center w-full h-full space-x-2;
|
|
20
|
+
|
|
21
|
+
.uxf-icon {
|
|
22
|
+
@apply text-gray-400 dark:text-gray-500;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__body-cell {
|
|
27
|
+
&--boolean {
|
|
28
|
+
@apply w-full h-full flex items-center;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__drawer {
|
|
33
|
+
@apply fixed overflow-hidden z-10 bg-gray-900 bg-opacity-25 dark:bg-opacity-75 inset-0 transform ease-in-out;
|
|
34
|
+
|
|
35
|
+
&--open {
|
|
36
|
+
@apply transition-opacity opacity-100 duration-500 translate-x-0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--closed {
|
|
40
|
+
@apply transition-all delay-500 opacity-0 translate-x-full;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-body-wrapper {
|
|
44
|
+
@apply w-11/12 max-w-sm right-0 absolute bg-white h-full shadow-xl duration-500 ease-in-out transition-all transform translate-x-full;
|
|
45
|
+
|
|
46
|
+
&--open {
|
|
47
|
+
@apply translate-x-0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-body {
|
|
52
|
+
@apply relative w-full max-w-sm pb-10 flex flex-col overflow-y-scroll h-full dark:bg-gray-950 dark:text-gray-100;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-close-button {
|
|
56
|
+
@apply ml-auto !mt-4 mr-4;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-header {
|
|
60
|
+
@apply p-4 pt-8 font-bold text-lg;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&-content {
|
|
64
|
+
@apply p-4;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-backdrop {
|
|
68
|
+
@apply w-screen h-full cursor-pointer;
|
|
69
|
+
}
|
|
14
70
|
}
|
|
15
71
|
|
|
16
72
|
&__fallback {
|
|
17
73
|
grid-column: 1/-1;
|
|
18
74
|
|
|
19
|
-
@apply flex items-center justify-center text-center text-gray-600;
|
|
75
|
+
@apply flex items-center justify-center text-center text-gray-600; /* ?? */
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__filter {
|
|
79
|
+
&--interval {
|
|
80
|
+
@apply gap-4 grid grid-cols-[1fr_min-content_1fr];
|
|
81
|
+
|
|
82
|
+
.uxf-data-grid__filter-gap {
|
|
83
|
+
@apply flex items-center pt-5;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
20
86
|
}
|
|
21
87
|
|
|
22
88
|
&__filters {
|
|
@@ -24,11 +90,11 @@
|
|
|
24
90
|
}
|
|
25
91
|
|
|
26
92
|
&__filter-list {
|
|
27
|
-
@apply p-2;
|
|
93
|
+
@apply p-2 space-x-2;
|
|
28
94
|
}
|
|
29
95
|
|
|
30
96
|
&__footer {
|
|
31
|
-
@apply flex items-center justify-end p-2 gap-4;
|
|
97
|
+
@apply flex flex-wrap items-center justify-end p-2 gap-4;
|
|
32
98
|
|
|
33
99
|
&.no-border {
|
|
34
100
|
@apply px-0;
|
|
@@ -52,7 +118,7 @@
|
|
|
52
118
|
left: -50%;
|
|
53
119
|
height: 3px;
|
|
54
120
|
width: 40%;
|
|
55
|
-
background-color:
|
|
121
|
+
background-color: theme("colors.dataGridSecondary");
|
|
56
122
|
-webkit-animation: datagridLineAnim 1s linear infinite;
|
|
57
123
|
-moz-animation: datagridLineAnim 1s linear infinite;
|
|
58
124
|
animation: datagridLineAnim 1s linear infinite;
|
|
@@ -70,20 +136,44 @@
|
|
|
70
136
|
@apply text-sm text-neutral-700 text-lightLow;
|
|
71
137
|
}
|
|
72
138
|
|
|
139
|
+
&__plugin-fulltext {
|
|
140
|
+
@apply my-2 text-gray-400 w-full sm:w-auto;
|
|
141
|
+
|
|
142
|
+
.uxf-icon {
|
|
143
|
+
@apply text-gray-400;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&__plugin-filter {
|
|
148
|
+
@apply my-2 shrink-0;
|
|
149
|
+
|
|
150
|
+
.uxf-icon {
|
|
151
|
+
@apply text-gray-400;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
73
155
|
&__rows-per-page {
|
|
74
|
-
@apply flex gap-2 text-sm text-gray-700 items-center text-lightLow;
|
|
156
|
+
@apply flex flex-wrap gap-2 text-sm text-gray-700 items-center text-lightLow;
|
|
75
157
|
|
|
76
158
|
.uxf-select {
|
|
77
159
|
@apply w-28;
|
|
78
160
|
}
|
|
79
161
|
}
|
|
80
162
|
|
|
163
|
+
&__select-row-checkbox-wrapper {
|
|
164
|
+
@apply flex items-center justify-center text-white w-full h-full;
|
|
165
|
+
}
|
|
166
|
+
|
|
81
167
|
&__selected-rows-toolbar-wrapper {
|
|
82
168
|
@apply fixed bottom-8 left-0 right-0 flex flex-row justify-center items-center;
|
|
83
169
|
}
|
|
84
170
|
|
|
85
171
|
&__selected-rows-toolbar {
|
|
86
|
-
@apply text-white bg-dataGridPrimary rounded-full px-6 py-2 flex items-center justify-center drop-shadow-xl border border-gray-100;
|
|
172
|
+
@apply text-white text-sm bg-dataGridPrimary rounded-full px-6 py-2 flex items-center justify-center drop-shadow-xl border border-gray-100 dark:border-gray-800;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&__selected-rows-toolbar-actions {
|
|
176
|
+
@apply pl-4 space-x-2;
|
|
87
177
|
}
|
|
88
178
|
|
|
89
179
|
&__table {
|
|
@@ -91,15 +181,11 @@
|
|
|
91
181
|
}
|
|
92
182
|
|
|
93
183
|
&__toolbar {
|
|
94
|
-
@apply flex items-center justify-end
|
|
95
|
-
|
|
96
|
-
.uxf-button {
|
|
97
|
-
@apply my-2;
|
|
98
|
-
}
|
|
184
|
+
@apply flex flex-wrap gap-2 items-center justify-end border-b border-b-gray-300 dark:border-b-gray-700 px-2 md:pl-0 py-2 md:py-0;
|
|
99
185
|
}
|
|
100
186
|
|
|
101
187
|
&__toolbar-tab {
|
|
102
|
-
@apply inline-flex items-center hover:text-gray-700 whitespace-nowrap
|
|
188
|
+
@apply inline-flex items-center hover:text-gray-700 whitespace-nowrap p-4 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700;
|
|
103
189
|
|
|
104
190
|
&.is-active {
|
|
105
191
|
@apply border-dataGridPrimary text-dataGridPrimary;
|
|
@@ -110,17 +196,68 @@
|
|
|
110
196
|
@apply flex flex-1 self-stretch;
|
|
111
197
|
|
|
112
198
|
&-nav {
|
|
113
|
-
|
|
199
|
+
&--desktop {
|
|
200
|
+
@apply -mb-px space-x-4 hidden;
|
|
201
|
+
|
|
202
|
+
@media screen(md) {
|
|
203
|
+
@apply flex;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&--mobile {
|
|
208
|
+
@apply flex items-center z-10 w-max;
|
|
209
|
+
|
|
210
|
+
@media screen(md) {
|
|
211
|
+
@apply hidden;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.uxf-data-grid__toolbar-tabs-button {
|
|
215
|
+
@apply m-0 flex items-center;
|
|
216
|
+
|
|
217
|
+
&-icon {
|
|
218
|
+
@apply ml-1 text-lightHigh dark:text-darkHigh;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&-text {
|
|
224
|
+
@apply text-lightHigh dark:text-darkHigh;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&-modal-content {
|
|
229
|
+
@apply flex flex-col items-start divide-y divide-lightBorder dark:divide-darkBorder pb-4 pt-1 text-left;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&-modal-button {
|
|
233
|
+
@apply justify-start w-full;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&-modal-button-text {
|
|
237
|
+
@apply text-lightHigh dark:text-darkHigh;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&-modal-active-tab-icon {
|
|
241
|
+
@apply text-lightMedium dark:text-darkMedium mr-3;
|
|
114
242
|
}
|
|
115
243
|
}
|
|
116
244
|
|
|
117
245
|
&__toolbar-control {
|
|
118
|
-
@apply flex flex-row items-center gap-2
|
|
246
|
+
@apply flex flex-row items-center justify-between gap-2 order-3 xs:order-2 w-full xs:w-auto;
|
|
119
247
|
}
|
|
120
|
-
}
|
|
121
248
|
|
|
249
|
+
&__toolbar-customs {
|
|
250
|
+
@apply flex flex-row items-center gap-2 order-2 xs:order-3 md:my-2;
|
|
122
251
|
|
|
252
|
+
&-mobile {
|
|
253
|
+
@apply md:hidden;
|
|
254
|
+
}
|
|
123
255
|
|
|
256
|
+
&-desktop {
|
|
257
|
+
@apply hidden md:block;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
124
261
|
|
|
125
262
|
.rdg-cell.action {
|
|
126
263
|
text-align: right;
|
|
@@ -132,28 +269,70 @@
|
|
|
132
269
|
box-shadow: -3px 0 15px rgba(221, 221, 221, 0.5);
|
|
133
270
|
right: 0;
|
|
134
271
|
}
|
|
272
|
+
|
|
135
273
|
.rdg-header-row {
|
|
136
|
-
@apply bg-gray-200 text-gray-400 font-medium;
|
|
274
|
+
@apply bg-gray-200 dark:bg-gray-800 text-gray-400 dark:text-gray-600 font-medium;
|
|
137
275
|
|
|
138
276
|
.rdg-cell {
|
|
139
|
-
@apply rounded-none;
|
|
277
|
+
@apply rounded-none bg-gray-50 dark:bg-gray-900 dark:text-darkMedium;
|
|
278
|
+
|
|
279
|
+
&:not(:first-child) {
|
|
280
|
+
border-inline-start: 1px solid theme("colors.gray.200");
|
|
281
|
+
|
|
282
|
+
:root .dark & {
|
|
283
|
+
border-inline-start: 1px solid theme("colors.gray.700");
|
|
284
|
+
}
|
|
285
|
+
}
|
|
140
286
|
}
|
|
141
287
|
}
|
|
288
|
+
|
|
142
289
|
.rdg-header-sort-name + span {
|
|
143
290
|
display: flex;
|
|
144
291
|
align-items: center;
|
|
145
292
|
}
|
|
293
|
+
|
|
294
|
+
.rdg-cell {
|
|
295
|
+
border-inline-end: none;
|
|
296
|
+
}
|
|
297
|
+
|
|
146
298
|
.rdg-cell.rdg-cell-frozen {
|
|
147
299
|
box-shadow: none;
|
|
148
300
|
}
|
|
301
|
+
|
|
149
302
|
.rdg-cell[aria-selected=true] {
|
|
150
|
-
outline-color:
|
|
303
|
+
outline-color: theme("colors.gray.300");
|
|
304
|
+
|
|
305
|
+
:root .dark & {
|
|
306
|
+
outline-color: theme("colors.gray.700");
|
|
307
|
+
}
|
|
151
308
|
}
|
|
309
|
+
|
|
152
310
|
.rdg-row[aria-selected=true] {
|
|
153
|
-
|
|
311
|
+
@apply bg-gray-100/75 dark:bg-gray-900/75;
|
|
312
|
+
|
|
313
|
+
.uxf-data-grid__action-cell {
|
|
314
|
+
background-color: white;
|
|
315
|
+
|
|
316
|
+
:root .dark & {
|
|
317
|
+
background-color: theme("colors.gray.900");
|
|
318
|
+
}
|
|
319
|
+
}
|
|
154
320
|
}
|
|
321
|
+
|
|
322
|
+
.rdg-row:hover {
|
|
323
|
+
@apply bg-gray-50 dark:bg-gray-950;
|
|
324
|
+
|
|
325
|
+
.uxf-data-grid__action-cell {
|
|
326
|
+
background-color: white;
|
|
327
|
+
|
|
328
|
+
:root .dark & {
|
|
329
|
+
background-color: theme("colors.gray.950");
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
155
334
|
.rdg-row[aria-selected=true]:hover {
|
|
156
|
-
|
|
335
|
+
@apply bg-gray-200/75 dark:bg-gray-800/75;
|
|
157
336
|
}
|
|
158
337
|
|
|
159
338
|
@keyframes datagridLineAnim {
|
package/types/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentType, FC, ReactNode } from "react";
|
|
1
|
+
import React, { ComponentType, FC, ReactElement, ReactNode } from "react";
|
|
2
2
|
import { BaseGridType, Columns, Filter, Filters, Schema } from "./schema";
|
|
3
3
|
import { RequestFilter, Response } from "./api";
|
|
4
4
|
import { PaginationProps } from "@uxf/ui/pagination/pagination";
|
|
@@ -159,12 +159,19 @@ export interface ToolbarControlProps {
|
|
|
159
159
|
noBorder: boolean | null | undefined;
|
|
160
160
|
onChangeHiddenColumns?: ChangeHiddenColumnsHandler;
|
|
161
161
|
hiddenColumns?: string[];
|
|
162
|
+
showFulltext?: boolean;
|
|
162
163
|
}
|
|
163
164
|
export declare type ToolbarControlComponent = React.FC<ToolbarControlProps>;
|
|
164
165
|
/**
|
|
165
166
|
* Toolbar customs
|
|
166
167
|
*/
|
|
167
168
|
export interface ToolbarCustomsProps {
|
|
169
|
+
buttons?: {
|
|
170
|
+
label: string | ReactElement;
|
|
171
|
+
onClick?: () => void;
|
|
172
|
+
href?: string;
|
|
173
|
+
variant?: "default" | "outlined" | "text";
|
|
174
|
+
}[];
|
|
168
175
|
}
|
|
169
176
|
export declare type ToolbarCustomsComponent = React.FC<ToolbarCustomsProps>;
|
|
170
177
|
/**
|
package/types/core.d.ts
CHANGED
|
@@ -2,9 +2,8 @@ import { MutableRefObject, ReactNode } from "react";
|
|
|
2
2
|
import { DataGridProps as RDGProps } from "react-data-grid";
|
|
3
3
|
import { Request, Response, ResultItem } from "./api";
|
|
4
4
|
import { BaseGridType, Schema } from "./schema";
|
|
5
|
-
import { ActionCellComponent, BodyCellComponents, ContainerComponent, FilterHandlers, FilterListComponent, LinearProgressComponent, NoRowsFallbackComponent, PaginationComponent, PaginationCountsComponent, PaginationRowsPerPageSelectComponent, SelectedRowsToolbarActionsComponent, SelectedRowsToolbarComponent, SelectRowCheckboxComponent, ToolbarComponent, ToolbarControlComponent, ToolbarCustomsComponent, ToolbarTabsComponent } from "./components";
|
|
5
|
+
import { ActionCellComponent, BodyCellComponents, ContainerComponent, FilterHandlers, FilterListComponent, LinearProgressComponent, NoRowsFallbackComponent, PaginationComponent, PaginationCountsComponent, PaginationRowsPerPageSelectComponent, SelectedRowsToolbarActionsComponent, SelectedRowsToolbarComponent, SelectRowCheckboxComponent, ToolbarComponent, ToolbarControlComponent, ToolbarCustomsComponent, ToolbarCustomsProps, ToolbarTabsComponent } from "./components";
|
|
6
6
|
export declare type KeyExtractor = (row: ResultItem) => number;
|
|
7
|
-
export declare type CsvDownloadHandler = (request: Request) => void;
|
|
8
7
|
export declare type ChangeHiddenColumnsHandler = (hiddenColumns: string[]) => void;
|
|
9
8
|
export declare type Loader = (gridName: string | undefined, request: Request, encodedRequest: string) => Promise<Response>;
|
|
10
9
|
export declare type CallbackRef = {
|
|
@@ -13,8 +12,10 @@ export declare type CallbackRef = {
|
|
|
13
12
|
export declare type Config<C extends BaseGridType["columns"]> = {
|
|
14
13
|
columns: Partial<{
|
|
15
14
|
[columnName in keyof C]: {
|
|
16
|
-
width?: number;
|
|
17
15
|
hidden?: boolean;
|
|
16
|
+
maxWidth?: number;
|
|
17
|
+
minWidth?: number;
|
|
18
|
+
width?: number;
|
|
18
19
|
};
|
|
19
20
|
}>;
|
|
20
21
|
};
|
|
@@ -53,7 +54,6 @@ export declare type DataGridBaseProps<GridType extends BaseGridType, R> = {
|
|
|
53
54
|
initialState?: Request | string;
|
|
54
55
|
onChangeHiddenColumns?: ChangeHiddenColumnsHandler;
|
|
55
56
|
hiddenColumns?: string[];
|
|
56
|
-
onCsvDownload?: CsvDownloadHandler;
|
|
57
57
|
onChangeSelectedRows?: (selectedRows: Set<number>) => void;
|
|
58
58
|
selectedRows?: Set<number>;
|
|
59
59
|
onOpen?: (row: R) => void;
|
|
@@ -68,6 +68,8 @@ export declare type DataGridBaseProps<GridType extends BaseGridType, R> = {
|
|
|
68
68
|
rowClass?: (row: R) => "success" | "warning" | "error" | "primary" | "secondary" | string | null | undefined;
|
|
69
69
|
debug?: boolean;
|
|
70
70
|
className?: string;
|
|
71
|
+
customActions?: ToolbarCustomsProps["buttons"];
|
|
72
|
+
mode?: "light" | "dark";
|
|
71
73
|
};
|
|
72
74
|
export declare type DataGridProps<GridType extends BaseGridType, R> = DataGridBaseProps<GridType, R> & {
|
|
73
75
|
ui: UIComponents<GridType, R>;
|
package/utils.js
CHANGED
|
@@ -28,7 +28,7 @@ function createRequest(state, defaultSort, defaultDir) {
|
|
|
28
28
|
dir: (_b = state.request.dir) !== null && _b !== void 0 ? _b : defaultDir,
|
|
29
29
|
perPage: state.request.perPage,
|
|
30
30
|
page: state.request.page,
|
|
31
|
-
f: state.request.f.filter(function (f) { return
|
|
31
|
+
f: state.request.f.filter(function (f) { return f.value !== undefined && f.value !== null && f.value !== ""; }),
|
|
32
32
|
search: state.request.search,
|
|
33
33
|
tab: state.request.tab,
|
|
34
34
|
};
|
|
@@ -89,4 +89,4 @@ function cx() {
|
|
|
89
89
|
return str;
|
|
90
90
|
}
|
|
91
91
|
exports.cx = cx;
|
|
92
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
92
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsU0FBZ0IsWUFBWSxDQUFDLFlBQW9CO0lBQzdDLElBQUk7UUFDQSxJQUFNLE1BQU0sR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFFMUUsT0FBTztZQUNILENBQUMsRUFBRSxNQUFNLENBQUMsQ0FBQyxJQUFJLEVBQUU7WUFDakIsT0FBTyxFQUFFLE1BQU0sQ0FBQyxPQUFPLElBQUksRUFBRTtZQUM3QixJQUFJLEVBQUUsTUFBTSxDQUFDLElBQUksSUFBSSxDQUFDO1lBQ3RCLEdBQUcsRUFBRSxNQUFNLENBQUMsR0FBRyxJQUFJLEtBQUs7WUFDeEIsSUFBSSxFQUFFLE1BQU0sQ0FBQyxJQUFJLElBQUksSUFBSTtTQUM1QixDQUFDO0tBQ0w7SUFBQyxPQUFPLENBQUMsRUFBRTtRQUNSLE9BQU8sSUFBSSxDQUFDO0tBQ2Y7QUFDTCxDQUFDO0FBZEQsb0NBY0M7QUFFRCxTQUFnQixZQUFZLENBQUMsT0FBZ0I7SUFDekMsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLGtCQUFrQixDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDdkUsQ0FBQztBQUZELG9DQUVDO0FBRUQsU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csR0FBRyxPQUFPLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFO1lBQ3RCLElBQUksQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUU7Z0JBQ2xCLElBQUksR0FBRyxFQUFFO29CQUNMLEdBQUcsSUFBSSxHQUFHLENBQUM7aUJBQ2Q7Z0JBQ0QsR0FBRyxJQUFJLENBQUMsQ0FBQzthQUNaO1NBQ0o7S0FDSjtJQUVELE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQztBQWxCRCxnQkFrQkMifQ==
|
package/icons.config.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
mode: "simple",
|
|
3
|
-
typescript: true,
|
|
4
|
-
configDirectory: "/config/",
|
|
5
|
-
generatedDirectory: "/public/icons-generated/",
|
|
6
|
-
spriteFileName: "_icon-sprite.svg",
|
|
7
|
-
typeName: "IconsType",
|
|
8
|
-
moduleDefinition: {
|
|
9
|
-
moduleName: "@uxf/ui/icon/theme",
|
|
10
|
-
typeName: "IconsSet",
|
|
11
|
-
format: "interface",
|
|
12
|
-
},
|
|
13
|
-
icons: require("./src/icons-config"),
|
|
14
|
-
};
|