@kumix/ui 0.4.1 → 0.4.2
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/README.md +37 -30
- package/dist/{cascader-types-DVT-znZ-.d.ts → cascader-types-zhnUQ4sP.d.ts} +11 -3
- package/dist/cascader-types-zhnUQ4sP.d.ts.map +1 -0
- package/dist/components/agents/agent-code.js +1 -1
- package/dist/components/charts/candlestick-chart/context.d.ts.map +1 -1
- package/dist/components/charts/donut-chart/context.d.ts.map +1 -1
- package/dist/components/charts/liquidity-heatmap.d.ts.map +1 -1
- package/dist/components/charts/order-book.d.ts.map +1 -1
- package/dist/components/charts/treemap.d.ts.map +1 -1
- package/dist/components/charts/volume-profile.d.ts.map +1 -1
- package/dist/components/motion/action-swap.d.ts +1 -1
- package/dist/components/motion/action-swap.d.ts.map +1 -1
- package/dist/components/motion/action-swap.js +43 -20
- package/dist/components/motion/action-swap.js.map +1 -1
- package/dist/components/motion/animated-badge.d.ts +1 -1
- package/dist/components/motion/animated-badge.d.ts.map +1 -1
- package/dist/components/motion/animated-badge.js +60 -101
- package/dist/components/motion/animated-badge.js.map +1 -1
- package/dist/components/motion/animated-sidebar.js +1 -1
- package/dist/components/motion/animated-toast-stack.js +1 -1
- package/dist/components/motion/attachment-upload.js +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.js +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +1 -1
- package/dist/components/motion/availability-scheduler/index.js +1 -1
- package/dist/components/motion/bloom-menu.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.js +73 -8
- package/dist/components/motion/bloom-menu.js.map +1 -1
- package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
- package/dist/components/motion/bottom-sheet.js +6 -10
- package/dist/components/motion/bottom-sheet.js.map +1 -1
- package/dist/components/motion/bouncy-accordion.d.ts.map +1 -1
- package/dist/components/motion/bouncy-accordion.js +35 -22
- package/dist/components/motion/bouncy-accordion.js.map +1 -1
- package/dist/components/motion/center-morph-modal.js +1 -1
- package/dist/components/motion/color-picker.d.ts.map +1 -1
- package/dist/components/motion/command-palette.js +1 -1
- package/dist/components/motion/context-menu.js +1 -1
- package/dist/components/motion/date-range-picker.d.ts.map +1 -1
- package/dist/components/motion/drawer.d.ts +1 -1
- package/dist/components/motion/drawer.d.ts.map +1 -1
- package/dist/components/motion/drawer.js +10 -10
- package/dist/components/motion/drawer.js.map +1 -1
- package/dist/components/motion/expandable-action-bar.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.js +4 -1
- package/dist/components/motion/feedback-widget.js.map +1 -1
- package/dist/components/motion/morphing-lightbox.d.ts.map +1 -1
- package/dist/components/motion/morphing-lightbox.js +1 -1
- package/dist/components/motion/morphing-modal.d.ts +6 -1
- package/dist/components/motion/morphing-modal.d.ts.map +1 -1
- package/dist/components/motion/morphing-modal.js +37 -5
- package/dist/components/motion/morphing-modal.js.map +1 -1
- package/dist/components/motion/morphing-search.js +1 -1
- package/dist/components/motion/morphing-tabs.js +1 -1
- package/dist/components/motion/otp-input.js +19 -11
- package/dist/components/motion/otp-input.js.map +1 -1
- package/dist/components/motion/popover-morph.d.ts +4 -3
- package/dist/components/motion/popover-morph.d.ts.map +1 -1
- package/dist/components/motion/popover-morph.js +47 -55
- package/dist/components/motion/popover-morph.js.map +1 -1
- package/dist/components/motion/popover.js +7 -1
- package/dist/components/motion/popover.js.map +1 -1
- package/dist/components/motion/prediction-market-card.js +1 -1
- package/dist/components/motion/prediction-market.js +1 -1
- package/dist/components/motion/project-folder.js +1 -1
- package/dist/components/motion/radio.d.ts +5 -1
- package/dist/components/motion/radio.d.ts.map +1 -1
- package/dist/components/motion/radio.js +53 -5
- package/dist/components/motion/radio.js.map +1 -1
- package/dist/components/motion/select-morph.d.ts +1 -1
- package/dist/components/motion/select-morph.d.ts.map +1 -1
- package/dist/components/motion/select-morph.js +89 -21
- package/dist/components/motion/select-morph.js.map +1 -1
- package/dist/components/motion/select.d.ts.map +1 -1
- package/dist/components/motion/select.js +153 -135
- package/dist/components/motion/select.js.map +1 -1
- package/dist/components/motion/shader-background.d.ts +3 -2
- package/dist/components/motion/shader-background.d.ts.map +1 -1
- package/dist/components/motion/shader-background.js +9 -3
- package/dist/components/motion/shader-background.js.map +1 -1
- package/dist/components/motion/shared-layout-bg.d.ts.map +1 -1
- package/dist/components/motion/shared-layout-bg.js +17 -3
- package/dist/components/motion/shared-layout-bg.js.map +1 -1
- package/dist/components/motion/swipeable-list.d.ts.map +1 -1
- package/dist/components/motion/swipeable-list.js +61 -4
- package/dist/components/motion/swipeable-list.js.map +1 -1
- package/dist/components/motion/table/row-handle.js +1 -1
- package/dist/components/motion/table/table-header.js +1 -1
- package/dist/components/motion/tabs.d.ts +12 -3
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/tabs.js +248 -26
- package/dist/components/motion/tabs.js.map +1 -1
- package/dist/components/motion/theme-toggle.js +1 -1
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/autocomplete.d.ts +1 -1
- package/dist/components/reui/autocomplete.d.ts.map +1 -1
- package/dist/components/reui/autocomplete.js +1 -1
- package/dist/components/reui/autocomplete.js.map +1 -1
- package/dist/components/reui/badge.d.ts +2 -2
- package/dist/components/reui/cascader/cascader-async.d.ts +21 -5
- package/dist/components/reui/cascader/cascader-async.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-async.js +61 -34
- package/dist/components/reui/cascader/cascader-async.js.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.js +5 -2
- package/dist/components/reui/cascader/cascader-columns.js.map +1 -1
- package/dist/components/reui/cascader/cascader-context.d.ts +3 -1
- package/dist/components/reui/cascader/cascader-context.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-context.js.map +1 -1
- package/dist/components/reui/cascader/cascader-i18n.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-item.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-lib.d.ts +34 -8
- package/dist/components/reui/cascader/cascader-lib.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-lib.js +145 -29
- package/dist/components/reui/cascader/cascader-lib.js.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-types.d.ts +1 -1
- package/dist/components/reui/cascader/cascader.d.ts +13 -8
- package/dist/components/reui/cascader/cascader.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader.js +31 -16
- package/dist/components/reui/cascader/cascader.js.map +1 -1
- package/dist/components/reui/code-block/code-block.d.ts.map +1 -1
- package/dist/components/reui/color-picker.js +1 -1
- package/dist/components/reui/data-grid/data-grid-cell-selection.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-cell-selection.js +1 -0
- package/dist/components/reui/data-grid/data-grid-cell-selection.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.js +1 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts +6 -8
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-header.js +7 -8
- package/dist/components/reui/data-grid/data-grid-column-header.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-visibility.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-visibility.js +1 -0
- package/dist/components/reui/data-grid/data-grid-column-visibility.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-pagination.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-pagination.js +1 -0
- package/dist/components/reui/data-grid/data-grid-pagination.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-scroll-area.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-scroll-area.js +1 -0
- package/dist/components/reui/data-grid/data-grid-scroll-area.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +3 -2
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.js +2 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.js +2 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.d.ts +6 -11
- package/dist/components/reui/data-grid/data-grid-table.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.js +22 -22
- package/dist/components/reui/data-grid/data-grid-table.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid.d.ts +16 -1
- package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid.js +80 -22
- package/dist/components/reui/data-grid/data-grid.js.map +1 -1
- package/dist/components/reui/date-selector.d.ts.map +1 -1
- package/dist/components/reui/date-selector.js +21 -15
- package/dist/components/reui/date-selector.js.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js +3 -5
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar-nav.d.ts.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar-nav.js +2 -2
- package/dist/components/reui/event-calendar/event-calendar-nav.js.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar.js +34 -31
- package/dist/components/reui/event-calendar/event-calendar.js.map +1 -1
- package/dist/components/reui/file-type.d.ts +302 -6
- package/dist/components/reui/file-type.d.ts.map +1 -1
- package/dist/components/reui/file-type.js +416 -13
- package/dist/components/reui/file-type.js.map +1 -1
- package/dist/components/reui/filters/filters-builder.d.ts +1 -1
- package/dist/components/reui/filters/filters-lib.d.ts +1 -1
- package/dist/components/reui/frame.d.ts +1 -1
- package/dist/components/reui/gantt/gantt-nav.d.ts.map +1 -1
- package/dist/components/reui/gantt/gantt-nav.js +2 -2
- package/dist/components/reui/gantt/gantt-nav.js.map +1 -1
- package/dist/components/reui/gantt/gantt.d.ts.map +1 -1
- package/dist/components/reui/gantt/gantt.js +5 -2
- package/dist/components/reui/gantt/gantt.js.map +1 -1
- package/dist/components/reui/icon-tile.d.ts +2 -2
- package/dist/components/reui/number-field.d.ts +3 -3
- package/dist/components/reui/phone-input.js +30 -27
- package/dist/components/reui/phone-input.js.map +1 -1
- package/dist/components/reui/rating.d.ts +1 -1
- package/dist/components/reui/time-picker.js +1 -1
- package/dist/components/ui/attachment.d.ts +2 -2
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/bubble.d.ts +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/chart.d.ts.map +1 -1
- package/dist/components/ui/code-block.d.ts +29 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +124 -0
- package/dist/components/ui/code-block.js.map +1 -0
- package/dist/components/ui/empty.d.ts +1 -1
- package/dist/components/ui/item.d.ts +2 -2
- package/dist/components/ui/marker.d.ts +1 -1
- package/dist/components/ui/sidebar.d.ts +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/trace.d.ts +21 -0
- package/dist/components/ui/trace.d.ts.map +1 -0
- package/dist/components/ui/trace.js +77 -0
- package/dist/components/ui/trace.js.map +1 -0
- package/dist/context-BYXeJQnz.d.ts.map +1 -1
- package/dist/{copy-menu-BXUh52bu.js → copy-menu-DOg9Jh-U.js} +2 -2
- package/dist/{copy-menu-BXUh52bu.js.map → copy-menu-DOg9Jh-U.js.map} +1 -1
- package/dist/hooks/use-focus-trap.d.ts +22 -0
- package/dist/hooks/use-focus-trap.d.ts.map +1 -0
- package/dist/hooks/use-focus-trap.js +80 -0
- package/dist/hooks/use-focus-trap.js.map +1 -0
- package/dist/hooks/use-highlighted-code.d.ts +5 -0
- package/dist/hooks/use-highlighted-code.d.ts.map +1 -0
- package/dist/hooks/use-highlighted-code.js +128 -0
- package/dist/hooks/use-highlighted-code.js.map +1 -0
- package/dist/hooks/use-listbox.d.ts +29 -0
- package/dist/hooks/use-listbox.d.ts.map +1 -0
- package/dist/hooks/use-listbox.js +75 -0
- package/dist/hooks/use-listbox.js.map +1 -0
- package/dist/tooltip-C01qUgsW.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/cascader-types-DVT-znZ-.d.ts.map +0 -1
|
@@ -6,9 +6,9 @@ type FileTypeCategory = "archive" | "audio" | "code" | "design" | "document" | "
|
|
|
6
6
|
/**
|
|
7
7
|
* Known extensions. A format takes its brand's color (Word blue, Excel green,
|
|
8
8
|
* the GitHub language colors for code), else its family's, and a format with
|
|
9
|
-
* neither (archives, plain text, data, fonts, installers) is neutral.
|
|
10
|
-
* color is the 600 step, so the set reads as one palette with white
|
|
11
|
-
* text at 3:1 or better.
|
|
9
|
+
* neither (archives, plain text, data, config, fonts, installers) is neutral.
|
|
10
|
+
* Every color is the 600 step, so the set reads as one palette with white
|
|
11
|
+
* label text at 3:1 or better.
|
|
12
12
|
*/
|
|
13
13
|
declare const FILE_TYPE_EXTENSIONS: {
|
|
14
14
|
pdf: {
|
|
@@ -47,6 +47,26 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
47
47
|
category: "document";
|
|
48
48
|
color: string;
|
|
49
49
|
};
|
|
50
|
+
mdx: {
|
|
51
|
+
category: "document";
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
mdc: {
|
|
55
|
+
category: "document";
|
|
56
|
+
color: string;
|
|
57
|
+
};
|
|
58
|
+
eml: {
|
|
59
|
+
category: "document";
|
|
60
|
+
color: string;
|
|
61
|
+
};
|
|
62
|
+
srt: {
|
|
63
|
+
category: "document";
|
|
64
|
+
color: string;
|
|
65
|
+
};
|
|
66
|
+
vtt: {
|
|
67
|
+
category: "document";
|
|
68
|
+
color: string;
|
|
69
|
+
};
|
|
50
70
|
xls: {
|
|
51
71
|
category: "spreadsheet";
|
|
52
72
|
color: string;
|
|
@@ -71,6 +91,24 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
71
91
|
category: "spreadsheet";
|
|
72
92
|
color: string;
|
|
73
93
|
};
|
|
94
|
+
numbers: {
|
|
95
|
+
category: "spreadsheet";
|
|
96
|
+
color: string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
parquet: {
|
|
100
|
+
category: "spreadsheet";
|
|
101
|
+
color: string;
|
|
102
|
+
label: string;
|
|
103
|
+
};
|
|
104
|
+
sqlite: {
|
|
105
|
+
category: "spreadsheet";
|
|
106
|
+
color: string;
|
|
107
|
+
};
|
|
108
|
+
db: {
|
|
109
|
+
category: "spreadsheet";
|
|
110
|
+
color: string;
|
|
111
|
+
};
|
|
74
112
|
ppt: {
|
|
75
113
|
category: "presentation";
|
|
76
114
|
color: string;
|
|
@@ -139,6 +177,10 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
139
177
|
category: "image";
|
|
140
178
|
color: string;
|
|
141
179
|
};
|
|
180
|
+
jxl: {
|
|
181
|
+
category: "image";
|
|
182
|
+
color: string;
|
|
183
|
+
};
|
|
142
184
|
mp4: {
|
|
143
185
|
category: "video";
|
|
144
186
|
color: string;
|
|
@@ -171,6 +213,10 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
171
213
|
category: "video";
|
|
172
214
|
color: string;
|
|
173
215
|
};
|
|
216
|
+
m3u8: {
|
|
217
|
+
category: "video";
|
|
218
|
+
color: string;
|
|
219
|
+
};
|
|
174
220
|
mp3: {
|
|
175
221
|
category: "audio";
|
|
176
222
|
color: string;
|
|
@@ -199,6 +245,10 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
199
245
|
category: "audio";
|
|
200
246
|
color: string;
|
|
201
247
|
};
|
|
248
|
+
opus: {
|
|
249
|
+
category: "audio";
|
|
250
|
+
color: string;
|
|
251
|
+
};
|
|
202
252
|
js: {
|
|
203
253
|
category: "code";
|
|
204
254
|
color: string;
|
|
@@ -303,6 +353,201 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
303
353
|
category: "code";
|
|
304
354
|
color: string;
|
|
305
355
|
};
|
|
356
|
+
cjs: {
|
|
357
|
+
category: "code";
|
|
358
|
+
color: string;
|
|
359
|
+
};
|
|
360
|
+
mts: {
|
|
361
|
+
category: "code";
|
|
362
|
+
color: string;
|
|
363
|
+
};
|
|
364
|
+
vue: {
|
|
365
|
+
category: "code";
|
|
366
|
+
color: string;
|
|
367
|
+
};
|
|
368
|
+
svelte: {
|
|
369
|
+
category: "code";
|
|
370
|
+
color: string;
|
|
371
|
+
};
|
|
372
|
+
astro: {
|
|
373
|
+
category: "code";
|
|
374
|
+
color: string;
|
|
375
|
+
};
|
|
376
|
+
graphql: {
|
|
377
|
+
category: "code";
|
|
378
|
+
color: string;
|
|
379
|
+
label: string;
|
|
380
|
+
};
|
|
381
|
+
gql: {
|
|
382
|
+
category: "code";
|
|
383
|
+
color: string;
|
|
384
|
+
};
|
|
385
|
+
prisma: {
|
|
386
|
+
category: "code";
|
|
387
|
+
color: string;
|
|
388
|
+
};
|
|
389
|
+
wasm: {
|
|
390
|
+
category: "code";
|
|
391
|
+
color: string;
|
|
392
|
+
};
|
|
393
|
+
map: {
|
|
394
|
+
category: "code";
|
|
395
|
+
color: string;
|
|
396
|
+
};
|
|
397
|
+
kt: {
|
|
398
|
+
category: "code";
|
|
399
|
+
color: string;
|
|
400
|
+
};
|
|
401
|
+
kts: {
|
|
402
|
+
category: "code";
|
|
403
|
+
color: string;
|
|
404
|
+
};
|
|
405
|
+
swift: {
|
|
406
|
+
category: "code";
|
|
407
|
+
color: string;
|
|
408
|
+
};
|
|
409
|
+
dart: {
|
|
410
|
+
category: "code";
|
|
411
|
+
color: string;
|
|
412
|
+
};
|
|
413
|
+
lua: {
|
|
414
|
+
category: "code";
|
|
415
|
+
color: string;
|
|
416
|
+
};
|
|
417
|
+
r: {
|
|
418
|
+
category: "code";
|
|
419
|
+
color: string;
|
|
420
|
+
};
|
|
421
|
+
scala: {
|
|
422
|
+
category: "code";
|
|
423
|
+
color: string;
|
|
424
|
+
};
|
|
425
|
+
ex: {
|
|
426
|
+
category: "code";
|
|
427
|
+
color: string;
|
|
428
|
+
};
|
|
429
|
+
exs: {
|
|
430
|
+
category: "code";
|
|
431
|
+
color: string;
|
|
432
|
+
};
|
|
433
|
+
hpp: {
|
|
434
|
+
category: "code";
|
|
435
|
+
color: string;
|
|
436
|
+
};
|
|
437
|
+
cc: {
|
|
438
|
+
category: "code";
|
|
439
|
+
color: string;
|
|
440
|
+
};
|
|
441
|
+
cu: {
|
|
442
|
+
category: "code";
|
|
443
|
+
color: string;
|
|
444
|
+
};
|
|
445
|
+
ps1: {
|
|
446
|
+
category: "code";
|
|
447
|
+
color: string;
|
|
448
|
+
};
|
|
449
|
+
bat: {
|
|
450
|
+
category: "code";
|
|
451
|
+
color: string;
|
|
452
|
+
};
|
|
453
|
+
bash: {
|
|
454
|
+
category: "code";
|
|
455
|
+
color: string;
|
|
456
|
+
};
|
|
457
|
+
zsh: {
|
|
458
|
+
category: "code";
|
|
459
|
+
color: string;
|
|
460
|
+
};
|
|
461
|
+
gradle: {
|
|
462
|
+
category: "code";
|
|
463
|
+
color: string;
|
|
464
|
+
};
|
|
465
|
+
ipynb: {
|
|
466
|
+
category: "code";
|
|
467
|
+
color: string;
|
|
468
|
+
};
|
|
469
|
+
env: {
|
|
470
|
+
category: "code";
|
|
471
|
+
color: string;
|
|
472
|
+
};
|
|
473
|
+
toml: {
|
|
474
|
+
category: "code";
|
|
475
|
+
color: string;
|
|
476
|
+
};
|
|
477
|
+
ini: {
|
|
478
|
+
category: "code";
|
|
479
|
+
color: string;
|
|
480
|
+
};
|
|
481
|
+
conf: {
|
|
482
|
+
category: "code";
|
|
483
|
+
color: string;
|
|
484
|
+
};
|
|
485
|
+
jsonc: {
|
|
486
|
+
category: "code";
|
|
487
|
+
color: string;
|
|
488
|
+
};
|
|
489
|
+
lock: {
|
|
490
|
+
category: "code";
|
|
491
|
+
color: string;
|
|
492
|
+
};
|
|
493
|
+
git: {
|
|
494
|
+
category: "code";
|
|
495
|
+
color: string;
|
|
496
|
+
};
|
|
497
|
+
ignore: {
|
|
498
|
+
category: "code";
|
|
499
|
+
color: string;
|
|
500
|
+
};
|
|
501
|
+
dockerfile: {
|
|
502
|
+
category: "code";
|
|
503
|
+
color: string;
|
|
504
|
+
label: string;
|
|
505
|
+
};
|
|
506
|
+
makefile: {
|
|
507
|
+
category: "code";
|
|
508
|
+
color: string;
|
|
509
|
+
label: string;
|
|
510
|
+
};
|
|
511
|
+
tf: {
|
|
512
|
+
category: "code";
|
|
513
|
+
color: string;
|
|
514
|
+
};
|
|
515
|
+
tfvars: {
|
|
516
|
+
category: "code";
|
|
517
|
+
color: string;
|
|
518
|
+
};
|
|
519
|
+
hcl: {
|
|
520
|
+
category: "code";
|
|
521
|
+
color: string;
|
|
522
|
+
};
|
|
523
|
+
proto: {
|
|
524
|
+
category: "code";
|
|
525
|
+
color: string;
|
|
526
|
+
};
|
|
527
|
+
jsonl: {
|
|
528
|
+
category: "code";
|
|
529
|
+
color: string;
|
|
530
|
+
};
|
|
531
|
+
ndjson: {
|
|
532
|
+
category: "code";
|
|
533
|
+
color: string;
|
|
534
|
+
};
|
|
535
|
+
diff: {
|
|
536
|
+
category: "code";
|
|
537
|
+
color: string;
|
|
538
|
+
};
|
|
539
|
+
patch: {
|
|
540
|
+
category: "code";
|
|
541
|
+
color: string;
|
|
542
|
+
};
|
|
543
|
+
pem: {
|
|
544
|
+
category: "code";
|
|
545
|
+
color: string;
|
|
546
|
+
};
|
|
547
|
+
crt: {
|
|
548
|
+
category: "code";
|
|
549
|
+
color: string;
|
|
550
|
+
};
|
|
306
551
|
zip: {
|
|
307
552
|
category: "archive";
|
|
308
553
|
color: string;
|
|
@@ -331,6 +576,39 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
331
576
|
category: "archive";
|
|
332
577
|
color: string;
|
|
333
578
|
};
|
|
579
|
+
xz: {
|
|
580
|
+
category: "archive";
|
|
581
|
+
color: string;
|
|
582
|
+
};
|
|
583
|
+
zst: {
|
|
584
|
+
category: "archive";
|
|
585
|
+
color: string;
|
|
586
|
+
};
|
|
587
|
+
jar: {
|
|
588
|
+
category: "archive";
|
|
589
|
+
color: string;
|
|
590
|
+
};
|
|
591
|
+
whl: {
|
|
592
|
+
category: "archive";
|
|
593
|
+
color: string;
|
|
594
|
+
};
|
|
595
|
+
safetensors: {
|
|
596
|
+
category: "archive";
|
|
597
|
+
color: string;
|
|
598
|
+
label: string;
|
|
599
|
+
};
|
|
600
|
+
gguf: {
|
|
601
|
+
category: "archive";
|
|
602
|
+
color: string;
|
|
603
|
+
};
|
|
604
|
+
onnx: {
|
|
605
|
+
category: "archive";
|
|
606
|
+
color: string;
|
|
607
|
+
};
|
|
608
|
+
pt: {
|
|
609
|
+
category: "archive";
|
|
610
|
+
color: string;
|
|
611
|
+
};
|
|
334
612
|
fig: {
|
|
335
613
|
category: "design";
|
|
336
614
|
color: string;
|
|
@@ -391,6 +669,22 @@ declare const FILE_TYPE_EXTENSIONS: {
|
|
|
391
669
|
category: "executable";
|
|
392
670
|
color: string;
|
|
393
671
|
};
|
|
672
|
+
pkg: {
|
|
673
|
+
category: "executable";
|
|
674
|
+
color: string;
|
|
675
|
+
};
|
|
676
|
+
ipa: {
|
|
677
|
+
category: "executable";
|
|
678
|
+
color: string;
|
|
679
|
+
};
|
|
680
|
+
aab: {
|
|
681
|
+
category: "executable";
|
|
682
|
+
color: string;
|
|
683
|
+
};
|
|
684
|
+
rpm: {
|
|
685
|
+
category: "executable";
|
|
686
|
+
color: string;
|
|
687
|
+
};
|
|
394
688
|
ttf: {
|
|
395
689
|
category: "font";
|
|
396
690
|
color: string;
|
|
@@ -416,8 +710,10 @@ type FileTypeName = FileTypeExtensionName | (typeof FILE_TYPE_CATEGORIES)[number
|
|
|
416
710
|
declare const FILE_TYPE_EXTENSION_NAMES: FileTypeExtensionName[];
|
|
417
711
|
/**
|
|
418
712
|
* Resolves a file name, path, URL, bare extension or MIME type to a `type`.
|
|
419
|
-
* A path ending in a slash is a folder; a name
|
|
420
|
-
*
|
|
713
|
+
* A path ending in a slash is a folder; a well-known name resolves to its
|
|
714
|
+
* type (Dockerfile, .env.local, go.mod, LICENSE); any other name without an
|
|
715
|
+
* extension is an empty file; an unknown extension is returned as is and
|
|
716
|
+
* renders neutral.
|
|
421
717
|
*/
|
|
422
718
|
declare function getFileType(value: string): FileTypeName | (string & {});
|
|
423
719
|
/** The family of any `type`, for grouping or filtering a file list. */
|
|
@@ -457,7 +753,7 @@ declare function getFileTypeCategory(type?: string): FileTypeCategory;
|
|
|
457
753
|
* type.
|
|
458
754
|
*/
|
|
459
755
|
declare const fileTypeVariants: (props?: ({
|
|
460
|
-
size?: "
|
|
756
|
+
size?: "default" | "sm" | "lg" | "xs" | "xl" | "mini" | null | undefined;
|
|
461
757
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
462
758
|
type FileTypeVariant = "outline" | "solid" | "light" | "mono";
|
|
463
759
|
type FileTypeProps = Omit<ComponentProps<"span">, "children"> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-type.d.ts","names":[],"sources":["../../../src/components/reui/file-type.tsx"],"mappings":";;;;KAYK;;;;;;;;
|
|
1
|
+
{"version":3,"file":"file-type.d.ts","names":[],"sources":["../../../src/components/reui/file-type.tsx"],"mappings":";;;;KAYK;;;;;;;;cAiFC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4LA;KAgBD,qCAAqC;;KAGrC,eAAe,gCAAgC;cAE9C,2BAAiE;;;;;;;;iBAiQ9D,YAAY,gBAAgB;;iBAmD5B,oBAAoB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmIvC,mBAAgB;;6CAqBrB;KAEI;KA6EA,gBAAgB,KAAK;;;;;;EAMxB,OAAO;;EAEP,UAAU;;EAEV,OAAO,oBAAoB;;EAE3B,QAAQ;;;;;EAKR;;;;;EAKA,OAAO;;;;;;EAMP;;iBAGO,WACP,MACA,SACA,MACA,OACA,OACA,MACA,gBACA,cACG,SACF,gCAAa,IAAA"}
|