myoperator-mcp 0.2.261 → 0.2.263
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/index.js +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -816,6 +816,12 @@ import { cn } from "@/lib/utils";
|
|
|
816
816
|
|
|
817
817
|
const DOT_KEYS = [0, 1, 2] as const;
|
|
818
818
|
const DOT_DELAYS_SEC = [0, 0.2, 0.4] as const;
|
|
819
|
+
const ANIMATION_NAME = "bouncing-typing-wave";
|
|
820
|
+
const KEYFRAMES_CSS = \`
|
|
821
|
+
@keyframes \${ANIMATION_NAME} {
|
|
822
|
+
0%, 60%, 100% { transform: translate3d(0, 0, 0); }
|
|
823
|
+
30% { transform: translate3d(0, -6px, 0); }
|
|
824
|
+
}\`;
|
|
819
825
|
|
|
820
826
|
function toCssLength(value: number | string, unit: string): string {
|
|
821
827
|
if (typeof value === "string") {
|
|
@@ -871,12 +877,13 @@ const BouncingLoader = React.forwardRef<HTMLSpanElement, BouncingLoaderProps>(
|
|
|
871
877
|
style={mergedStyle}
|
|
872
878
|
{...props}
|
|
873
879
|
>
|
|
880
|
+
<style>{KEYFRAMES_CSS}</style>
|
|
874
881
|
{DOT_KEYS.map((i) => (
|
|
875
882
|
<span
|
|
876
883
|
key={i}
|
|
877
|
-
className="bouncing-loader__dot box-border block h-[var(--bouncing-loader-size,8px)] w-[var(--bouncing-loader-size,8px)] shrink-0 rounded-full bg-[var(--bouncing-loader-color,var(--semantic-text-placeholder,currentColor))]
|
|
884
|
+
className="bouncing-loader__dot box-border block h-[var(--bouncing-loader-size,8px)] w-[var(--bouncing-loader-size,8px)] shrink-0 rounded-full bg-[var(--bouncing-loader-color,var(--semantic-text-placeholder,currentColor))]"
|
|
878
885
|
style={{
|
|
879
|
-
|
|
886
|
+
animation: \`\${ANIMATION_NAME} 1.4s cubic-bezier(0.4, 0, 0.2, 1) \${DOT_DELAYS_SEC[i]}s infinite\`,
|
|
880
887
|
}}
|
|
881
888
|
aria-hidden
|
|
882
889
|
/>
|
package/package.json
CHANGED