@aleph-alpha/ui-library 2.5.2 → 2.6.1
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/system/components/UiFileItem/index.d.ts +1 -1
- package/dist/system/components/UiFileType/UiFileType.vue.d.ts +1 -0
- package/dist/system/components/UiFileType/types.d.ts +5 -0
- package/dist/system/lib.js +2430 -2441
- package/dist/system/patterns/UiDataTable/UiDataTableToolbar.vue.d.ts +23 -12
- package/dist/system/patterns/UiDataTable/constants.d.ts +0 -13
- package/dist/system/patterns/UiDataTable/index.d.ts +1 -0
- package/dist/system/patterns/UiDataTable/types.d.ts +1 -28
- package/package.json +5 -5
- package/src/components/UiCodeBlock/UiCodeBlock.vue +17 -3
- package/src/components/UiCodeBlock/__tests__/UiCodeBlock.test.ts +21 -0
- package/src/components/UiFileItem/UiFileItem.stories.ts +16 -13
- package/src/components/UiFileItem/UiFileItem.vue +1 -0
- package/src/components/UiFileItem/index.ts +5 -1
- package/src/components/UiFileType/UiFileType.vue +2 -5
- package/src/components/UiFileType/__tests__/UiFileType.test.ts +9 -0
- package/src/components/UiFileType/types.ts +5 -0
- package/src/components/UiItem/UiItem.stories.ts +7 -10
- package/src/components/UiSelect/UiSelect.stories.ts +20 -20
- package/src/patterns/UiDataTable/UiDataTable.stories.ts +186 -118
- package/src/patterns/UiDataTable/UiDataTablePagination.vue +1 -1
- package/src/patterns/UiDataTable/UiDataTableToolbar.vue +17 -58
- package/src/patterns/UiDataTable/__tests__/UiDataTable.test.ts +1 -1
- package/src/patterns/UiDataTable/__tests__/UiDataTableColumnFilter.test.ts +1 -1
- package/src/patterns/UiDataTable/__tests__/UiDataTableToolbar.test.ts +26 -201
- package/src/patterns/UiDataTable/constants.ts +0 -15
- package/src/patterns/UiDataTable/index.ts +1 -0
- package/src/patterns/UiDataTable/types.ts +0 -29
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as UiFileItem } from './UiFileItem.vue';
|
|
2
|
-
export type { UiFileItemProps } from './types';
|
|
2
|
+
export type { UiFileItemMediaTone, UiFileItemProps, UiFileItemSize, } from './types';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UiFileTypeProps, UiFileTypeTone } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<UiFileTypeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiFileTypeProps> & Readonly<{}>, {
|
|
3
3
|
icon: string;
|
|
4
|
+
loading: boolean;
|
|
4
5
|
error: boolean;
|
|
5
6
|
filename: string;
|
|
6
7
|
tone: UiFileTypeTone;
|
|
@@ -30,4 +30,9 @@ export interface UiFileTypeProps {
|
|
|
30
30
|
* other prop. Use to indicate an upload/validation failure.
|
|
31
31
|
*/
|
|
32
32
|
error?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Use during upload/processing — the colored tone signals "success",
|
|
35
|
+
* so it shouldn't appear until the file is fully accepted.
|
|
36
|
+
*/
|
|
37
|
+
loading?: boolean;
|
|
33
38
|
}
|