@dataloop-ai/components 0.20.201 → 0.20.202

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": "@dataloop-ai/components",
3
- "version": "0.20.201",
3
+ "version": "0.20.202",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -91,6 +91,7 @@ export default defineComponent({
91
91
 
92
92
  <style lang="scss" scoped>
93
93
  .dl-spinner-text {
94
- color: var(--dl-color-darker);
94
+ color: var(--dell-white);
95
+ margin-top: 12px;
95
96
  }
96
97
  </style>
@@ -3,19 +3,26 @@
3
3
  <svg
4
4
  :width="size"
5
5
  :height="size"
6
- viewBox="0 0 64 64"
6
+ viewBox="0 0 50 50"
7
7
  shape-rendering="geometricPrecision"
8
- text-rendering="geometricPrecision"
9
8
  >
10
- <g class="first-rect">
11
- <rect />
12
- </g>
13
- <g class="second-rect">
14
- <rect />
15
- </g>
16
- <g class="third-rect">
17
- <rect />
18
- </g>
9
+ <circle
10
+ cx="25"
11
+ cy="25"
12
+ r="20"
13
+ fill="var(--dell-white)"
14
+ stroke="none"
15
+ />
16
+ <circle
17
+ class="spinner-arc"
18
+ cx="25"
19
+ cy="25"
20
+ r="16.5"
21
+ fill="none"
22
+ stroke="var(--dell-blue-500)"
23
+ stroke-width="1.39"
24
+ stroke-linecap="round"
25
+ />
19
26
  </svg>
20
27
  </div>
21
28
  </template>
@@ -37,59 +44,36 @@ export default defineComponent({
37
44
  <style lang="scss" scoped>
38
45
  @import '../styles/spinnerStyles.scss';
39
46
 
40
- @keyframes moveFirstRect {
47
+ @keyframes dell-spin {
41
48
  0% {
42
- transform: translate(2px, 2px);
49
+ transform: rotate(0deg);
43
50
  }
44
- 25%,
45
- 75% {
46
- transform: translate(38px, 2px);
47
- }
48
- 95%,
49
51
  100% {
50
- transform: translate(38px, 38px);
52
+ transform: rotate(360deg);
51
53
  }
52
54
  }
53
55
 
54
- @keyframes moveSecondRect {
55
- 0%,
56
- 25% {
57
- transform: translate(2px, 38px);
58
- }
59
- 45%,
60
- 100% {
61
- transform: translate(2px, 2px);
56
+ @keyframes dell-dash {
57
+ 0% {
58
+ stroke-dasharray: 1, 150;
59
+ stroke-dashoffset: 0;
62
60
  }
63
- }
64
-
65
- @keyframes moveThirdRect {
66
- 0%,
67
61
  50% {
68
- transform: translate(38px, 38px);
62
+ stroke-dasharray: 90, 150;
63
+ stroke-dashoffset: -35;
69
64
  }
70
- 70%,
71
65
  100% {
72
- transform: translate(2px, 38px);
66
+ stroke-dasharray: 90, 150;
67
+ stroke-dashoffset: -124;
73
68
  }
74
69
  }
75
70
 
76
- rect {
77
- width: 24px;
78
- height: 24px;
79
- fill: #ffd7e2;
80
- stroke: #ef6284;
81
- stroke-width: 4;
82
- }
83
-
84
- .first-rect {
85
- animation: moveFirstRect 2s ease-out infinite;
86
- }
87
-
88
- .second-rect {
89
- animation: moveSecondRect 2s ease-out infinite;
71
+ svg {
72
+ animation: dell-spin 1.4s linear infinite;
90
73
  }
91
74
 
92
- .third-rect {
93
- animation: moveThirdRect 2s ease-out infinite;
75
+ .spinner-arc {
76
+ animation: dell-dash 1.4s ease-in-out infinite;
77
+ transform-origin: center;
94
78
  }
95
79
  </style>