@limetech/lime-elements 35.0.0-next.31 → 35.0.0-next.34
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/cjs/limel-file.cjs.entry.js +5 -3
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +971 -647
- package/dist/cjs/limel-table.cjs.entry.js +3 -3
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +1 -1
- package/dist/collection/components/file/icon-background-colors.js +2 -1
- package/dist/collection/components/file/icon-fill-colors.js +2 -1
- package/dist/collection/components/file/icons.js +1 -1
- package/dist/collection/components/table/table.css +197 -151
- package/dist/collection/components/table/table.js +8 -8
- package/dist/esm/limel-file.entry.js +5 -3
- package/dist/esm/limel-flatpickr-adapter.entry.js +971 -647
- package/dist/esm/limel-table.entry.js +3 -3
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-dd62c71b.entry.js → p-2a6217f9.entry.js} +1 -1
- package/dist/lime-elements/p-87a8afd2.entry.js +16 -0
- package/dist/lime-elements/{p-2542b5a3.entry.js → p-c9a8d4ca.entry.js} +1 -1
- package/package.json +7 -7
- package/dist/lime-elements/p-75846313.entry.js +0 -16
|
@@ -121,7 +121,7 @@ const filetypeIconTable = {
|
|
|
121
121
|
dbf: DATA_ICON,
|
|
122
122
|
};
|
|
123
123
|
function getIconForFile(extension) {
|
|
124
|
-
return filetypeIconTable[extension] || DEFAULT_ICON;
|
|
124
|
+
return filetypeIconTable[extension.toLowerCase()] || DEFAULT_ICON;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
const DEFAULT_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
|
|
@@ -233,7 +233,8 @@ const filetypeFillColorTable = {
|
|
|
233
233
|
dbf: DATA_ICON_FILL_COLOR,
|
|
234
234
|
};
|
|
235
235
|
function getIconFillColorForFile(extension) {
|
|
236
|
-
return filetypeFillColorTable[extension] ||
|
|
236
|
+
return (filetypeFillColorTable[extension.toLowerCase()] ||
|
|
237
|
+
DEFAULT_ICON_FILL_COLOR);
|
|
237
238
|
}
|
|
238
239
|
|
|
239
240
|
const DEFAULT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
|
|
@@ -345,7 +346,8 @@ const filetypeBackgroundColorTable = {
|
|
|
345
346
|
dbf: DATA_ICON_BACKGROUND_COLOR,
|
|
346
347
|
};
|
|
347
348
|
function getIconBackgroundColorForFile(extension) {
|
|
348
|
-
return (filetypeBackgroundColorTable[extension] ||
|
|
349
|
+
return (filetypeBackgroundColorTable[extension.toLowerCase()] ||
|
|
350
|
+
DEFAULT_ICON_BACKGROUND_COLOR);
|
|
349
351
|
}
|
|
350
352
|
|
|
351
353
|
function getFileIcon(file) {
|