myoperator-mcp 0.2.262 → 0.2.264

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 (2) hide show
  1. package/dist/index.js +24 -12
  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))] animate-bouncing-typing-wave"
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
- ["--bouncing-loader-delay" as string]: \`\${DOT_DELAYS_SEC[i]}s\`,
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
  />
@@ -1444,7 +1451,7 @@ ContactListItem.displayName = "ContactListItem";
1444
1451
  export { ContactListItem };
1445
1452
  `,
1446
1453
  "creatable-multi-select": `import * as React from "react"
1447
- import { ChevronRight, Plus, Info, X } from "lucide-react"
1454
+ import { ChevronDown, Plus, Info, X } from "lucide-react"
1448
1455
 
1449
1456
  import { cn } from "@/lib/utils"
1450
1457
  import {
@@ -1674,7 +1681,7 @@ const CreatableMultiSelect = React.forwardRef(
1674
1681
  >
1675
1682
  {summaryTriggerLabel}
1676
1683
  </span>
1677
- <ChevronRight
1684
+ <ChevronDown
1678
1685
  className="mt-1 size-5 shrink-0 self-start text-semantic-text-muted opacity-70"
1679
1686
  aria-hidden
1680
1687
  />
@@ -1764,7 +1771,7 @@ const CreatableMultiSelect = React.forwardRef(
1764
1771
  ))
1765
1772
  )}
1766
1773
  </div>
1767
- <ChevronRight
1774
+ <ChevronDown
1768
1775
  className="mt-1 size-5 shrink-0 self-start text-semantic-text-muted opacity-70"
1769
1776
  aria-hidden
1770
1777
  />
@@ -1954,20 +1961,25 @@ const creatableSelectTriggerVariants = cva(
1954
1961
 
1955
1962
  /**
1956
1963
  * Tailwind classes for the "Enter \u21B5" hint in creatable dropdown headers (shared by Primary Role and Tone).
1957
- * If your Tailwind config uses \`prefix\` (e.g. \`"tw-"\`), prefix every utility here or these strings will not compile.
1964
+ *
1965
+ * Wrapped in \`cn(...)\` so the CLI's prefixer transforms the inner literal at install time.
1966
+ * If you copy this source manually (rather than via \`npx myoperator-ui add ...\`) and your
1967
+ * Tailwind config uses \`prefix\` (e.g. \`"tw-"\`), prefix every utility yourself or these
1968
+ * strings will not compile.
1958
1969
  */
1959
- export const creatableEnterHintKbdClassName =
1970
+ export const creatableEnterHintKbdClassName = cn(
1960
1971
  "inline-flex items-center gap-0.5 rounded border border-solid border-semantic-border-layout bg-semantic-bg-ui px-1.5 py-0.5 font-sans text-[10px] font-medium text-semantic-text-muted"
1972
+ )
1961
1973
 
1962
1974
  /** Primary Role: hint row above the options list (custom role + Enter kbd). */
1963
- export const creatablePrimaryRoleHintRowClassName =
1975
+ export const creatablePrimaryRoleHintRowClassName = cn(
1964
1976
  "flex items-center justify-between border-b border-solid border-semantic-border-layout px-4 py-2"
1977
+ )
1965
1978
 
1966
- /**
1967
- * Tone / CreatableMultiSelect: inner hint row (place inside a full-bleed wrapper with \`-mx-4\` + \`border-b\` on the panel).
1968
- */
1969
- export const creatableToneHintRowClassName =
1979
+ /** Tone / CreatableMultiSelect: inner hint row (place inside a full-bleed wrapper with \`-mx-4\` + \`border-b\` on the panel). */
1980
+ export const creatableToneHintRowClassName = cn(
1970
1981
  "flex min-h-[45px] shrink-0 items-center justify-between gap-2.5 px-4 py-2.5"
1982
+ )
1971
1983
 
1972
1984
  export interface CreatableSelectOption {
1973
1985
  value: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-mcp",
3
- "version": "0.2.262",
3
+ "version": "0.2.264",
4
4
  "description": "MCP server for myOperator UI components - enables AI assistants to access component metadata, examples, and design tokens",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",