@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.
Files changed (28) hide show
  1. package/dist/system/components/UiFileItem/index.d.ts +1 -1
  2. package/dist/system/components/UiFileType/UiFileType.vue.d.ts +1 -0
  3. package/dist/system/components/UiFileType/types.d.ts +5 -0
  4. package/dist/system/lib.js +2430 -2441
  5. package/dist/system/patterns/UiDataTable/UiDataTableToolbar.vue.d.ts +23 -12
  6. package/dist/system/patterns/UiDataTable/constants.d.ts +0 -13
  7. package/dist/system/patterns/UiDataTable/index.d.ts +1 -0
  8. package/dist/system/patterns/UiDataTable/types.d.ts +1 -28
  9. package/package.json +5 -5
  10. package/src/components/UiCodeBlock/UiCodeBlock.vue +17 -3
  11. package/src/components/UiCodeBlock/__tests__/UiCodeBlock.test.ts +21 -0
  12. package/src/components/UiFileItem/UiFileItem.stories.ts +16 -13
  13. package/src/components/UiFileItem/UiFileItem.vue +1 -0
  14. package/src/components/UiFileItem/index.ts +5 -1
  15. package/src/components/UiFileType/UiFileType.vue +2 -5
  16. package/src/components/UiFileType/__tests__/UiFileType.test.ts +9 -0
  17. package/src/components/UiFileType/types.ts +5 -0
  18. package/src/components/UiItem/UiItem.stories.ts +7 -10
  19. package/src/components/UiSelect/UiSelect.stories.ts +20 -20
  20. package/src/patterns/UiDataTable/UiDataTable.stories.ts +186 -118
  21. package/src/patterns/UiDataTable/UiDataTablePagination.vue +1 -1
  22. package/src/patterns/UiDataTable/UiDataTableToolbar.vue +17 -58
  23. package/src/patterns/UiDataTable/__tests__/UiDataTable.test.ts +1 -1
  24. package/src/patterns/UiDataTable/__tests__/UiDataTableColumnFilter.test.ts +1 -1
  25. package/src/patterns/UiDataTable/__tests__/UiDataTableToolbar.test.ts +26 -201
  26. package/src/patterns/UiDataTable/constants.ts +0 -15
  27. package/src/patterns/UiDataTable/index.ts +1 -0
  28. 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
  }