@erxes/ui 3.2.21-1 → 3.2.21-2

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": "@erxes/ui",
3
- "version": "3.2.21-1",
3
+ "version": "3.2.21-2",
4
4
  "description": "erxes design system: UI primitives, business modules, hooks and shared frontend state",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -128,7 +128,9 @@ const WaitingBot = ({ className }: { className?: string }) => (
128
128
  />
129
129
  ))}
130
130
  </svg>
131
- <span className="text-xs text-muted-foreground">Loading</span>
131
+ <span className="bg-[linear-gradient(90deg,var(--color-muted-foreground)_40%,var(--color-foreground)_50%,var(--color-muted-foreground)_60%)] bg-size-[300%_100%] bg-clip-text text-xs text-transparent motion-safe:animate-text-shimmer motion-reduce:text-muted-foreground">
132
+ Loading
133
+ </span>
132
134
  </div>
133
135
  );
134
136
 
package/src/theme.css CHANGED
@@ -97,6 +97,7 @@
97
97
  --animate-bot-glance: bot-glance 4.5s ease-in-out infinite;
98
98
  --animate-bot-blink: bot-blink 4.5s infinite;
99
99
  --animate-bot-dots: bot-dots 1.2s infinite;
100
+ --animate-text-shimmer: text-shimmer 1.8s linear infinite;
100
101
 
101
102
  --animate-first: move-vertical 30s ease infinite;
102
103
  --animate-second: move-in-circle 20s reverse infinite;
@@ -204,6 +205,14 @@
204
205
  opacity: 1;
205
206
  }
206
207
  }
208
+ @keyframes text-shimmer {
209
+ from {
210
+ background-position: 100% 0;
211
+ }
212
+ to {
213
+ background-position: 0% 0;
214
+ }
215
+ }
207
216
 
208
217
  @keyframes move-vertical {
209
218
  0% {