@milaboratories/uikit 2.2.57 → 2.2.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/uikit",
3
- "version": "2.2.57",
3
+ "version": "2.2.58",
4
4
  "type": "module",
5
5
  "main": "dist/pl-uikit.umd.js",
6
6
  "module": "dist/pl-uikit.js",
@@ -35,8 +35,8 @@
35
35
  "svgo": "^3.3.2",
36
36
  "@types/d3": "^7.4.3",
37
37
  "@milaboratories/eslint-config": "^1.0.1",
38
- "@platforma-sdk/model": "^1.22.18",
39
- "@milaboratories/helpers": "^1.6.11"
38
+ "@milaboratories/helpers": "^1.6.11",
39
+ "@platforma-sdk/model": "^1.22.18"
40
40
  },
41
41
  "scripts": {
42
42
  "dev": "vite",
@@ -6,8 +6,8 @@ import type { PlProgressCellProps } from './types';
6
6
 
7
7
  const props = withDefaults(defineProps<PlProgressCellProps>(), {
8
8
  stage: 'not_started',
9
- step: '',
10
- progressString: '',
9
+ step: '', // main text (left)
10
+ progressString: '', // appended text on the right side (right)
11
11
  progress: undefined,
12
12
  error: '',
13
13
  });
@@ -10,15 +10,15 @@
10
10
  background: var(--txt-error);
11
11
  }
12
12
 
13
- &.error {
13
+ &.not-started {
14
14
  * {
15
- color: var(--txt-error) !important;
15
+ color: var(--txt-03) !important;
16
16
  }
17
17
  }
18
18
 
19
- &.not-started {
19
+ &.error {
20
20
  * {
21
- color: var(--txt-03) !important;
21
+ color: var(--txt-error) !important;
22
22
  }
23
23
  }
24
24
 
@@ -1,7 +1,7 @@
1
1
  export type PlProgressCellProps = {
2
2
  stage: 'not_started' | 'running' | 'done';
3
- step?: string; // "Alignment" / "Queued"
4
- progressString?: string; // "20%" or "2 / 4"
5
- progress?: number; // i.e. 0.2 for 20%; 'undefined' for unknown progress = animated progressbar
3
+ step?: string; // "Alignment" / "Queued" (main left text)
4
+ progressString?: string; // "20%" or "2 / 4" (right text)
5
+ progress?: number; // Percent value! (from 0 to 100) i.e. 20 for 20%; 'undefined' for unknown progress = animated progressbar
6
6
  error?: string;
7
7
  };