myoperator-mcp 0.2.346 → 0.2.347

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 +28 -28
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1847,7 +1847,7 @@ const CreatableMultiSelect = React.forwardRef(
1847
1847
  maxLength={maxLengthPerItem}
1848
1848
  onKeyDown={handleKeyDown}
1849
1849
  disabled={disabled}
1850
- className="min-w-[120px] flex-1 bg-transparent text-base text-semantic-text-primary outline-none placeholder:text-semantic-text-muted"
1850
+ className="min-w-[120px] flex-1 bg-transparent text-base text-semantic-text-primary outline-none placeholder:text-semantic-text-placeholder"
1851
1851
  role="combobox"
1852
1852
  aria-expanded={isOpen}
1853
1853
  aria-controls={listboxId}
@@ -1901,7 +1901,7 @@ const CreatableMultiSelect = React.forwardRef(
1901
1901
  className={cn(
1902
1902
  "line-clamp-2 flex-1 text-base",
1903
1903
  value.length === 0
1904
- ? "text-semantic-text-muted"
1904
+ ? "text-semantic-text-placeholder"
1905
1905
  : "text-semantic-text-primary"
1906
1906
  )}
1907
1907
  >
@@ -1911,7 +1911,7 @@ const CreatableMultiSelect = React.forwardRef(
1911
1911
  <span
1912
1912
  className={cn(
1913
1913
  "line-clamp-2 flex-1 text-base",
1914
- "text-semantic-text-muted"
1914
+ "text-semantic-text-placeholder"
1915
1915
  )}
1916
1916
  >
1917
1917
  {placeholder}
@@ -2345,7 +2345,7 @@ const CreatableSelect = React.forwardRef(
2345
2345
  }}
2346
2346
  maxLength={maxLength}
2347
2347
  onKeyDown={handleKeyDown}
2348
- className="flex-1 min-w-0 bg-transparent outline-none text-base text-semantic-text-primary placeholder:text-semantic-text-muted"
2348
+ className="flex-1 min-w-0 bg-transparent outline-none text-base text-semantic-text-primary placeholder:text-semantic-text-placeholder"
2349
2349
  placeholder={selectedLabel || placeholder}
2350
2350
  aria-expanded="true"
2351
2351
  aria-haspopup="listbox"
@@ -2376,7 +2376,7 @@ const CreatableSelect = React.forwardRef(
2376
2376
  <span
2377
2377
  className={cn(
2378
2378
  "line-clamp-1",
2379
- !selectedLabel && "text-semantic-text-muted"
2379
+ !selectedLabel && "text-semantic-text-placeholder"
2380
2380
  )}
2381
2381
  >
2382
2382
  {selectedLabel || placeholder}
@@ -2571,8 +2571,8 @@ const dateTimePickerTriggerVariants = cva(
2571
2571
  variants: {
2572
2572
  size: {
2573
2573
  sm: "h-9 gap-2 rounded-lg px-3 py-2 text-sm",
2574
- default: "h-10 gap-2 rounded-lg px-4 py-2.5 text-sm",
2575
- lg: "h-10 gap-2 rounded-lg px-4 py-2.5 text-sm",
2574
+ default: "h-[42px] gap-2 rounded-lg px-4 py-2.5 text-base",
2575
+ lg: "h-[42px] gap-2 rounded-lg px-4 py-2.5 text-base",
2576
2576
  },
2577
2577
  state: {
2578
2578
  default: "",
@@ -4128,7 +4128,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
4128
4128
  <div className="flex flex-col gap-1.5">
4129
4129
  <label
4130
4130
  id={\`\${triggerId}-start-time-label\`}
4131
- className="block text-sm font-semibold text-semantic-text-primary"
4131
+ className="block text-sm font-semibold text-semantic-text-secondary"
4132
4132
  >
4133
4133
  {startTimeLabel}
4134
4134
  </label>
@@ -4147,7 +4147,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
4147
4147
  currentValue.startTime,
4148
4148
  resolvedShowSeconds
4149
4149
  )}
4150
- className="h-8 w-full rounded-md border border-solid border-semantic-border-input bg-semantic-bg-primary pl-9 pr-3 text-sm text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50 focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]"
4150
+ className="h-[42px] w-full rounded-md border border-solid border-semantic-border-input bg-semantic-bg-primary pl-9 pr-3 text-base text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50 focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]"
4151
4151
  onClick={() => openNativeTimePicker(startTimeInputRef.current)}
4152
4152
  onChange={(event) =>
4153
4153
  updateValue(
@@ -4169,7 +4169,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
4169
4169
  <div className="flex flex-col gap-1.5">
4170
4170
  <label
4171
4171
  id={\`\${triggerId}-end-time-label\`}
4172
- className="block text-sm font-semibold text-semantic-text-primary"
4172
+ className="block text-sm font-semibold text-semantic-text-secondary"
4173
4173
  >
4174
4174
  {endTimeLabel}
4175
4175
  </label>
@@ -4188,7 +4188,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
4188
4188
  currentValue.endTime,
4189
4189
  resolvedShowSeconds
4190
4190
  )}
4191
- className="h-8 w-full rounded-md border border-solid border-semantic-border-input bg-semantic-bg-primary pl-9 pr-3 text-sm text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50 focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]"
4191
+ className="h-[42px] w-full rounded-md border border-solid border-semantic-border-input bg-semantic-bg-primary pl-9 pr-3 text-base text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50 focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]"
4192
4192
  onClick={() => openNativeTimePicker(endTimeInputRef.current)}
4193
4193
  onChange={(event) =>
4194
4194
  updateValue(
@@ -4265,7 +4265,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
4265
4265
  ? "Time"
4266
4266
  : "Date and time"
4267
4267
  }
4268
- className="min-w-0 flex-1 bg-transparent text-sm text-semantic-text-primary outline-none placeholder:text-semantic-text-placeholder disabled:cursor-not-allowed read-only:cursor-not-allowed"
4268
+ className="min-w-0 flex-1 bg-transparent text-base text-semantic-text-primary outline-none placeholder:text-semantic-text-placeholder disabled:cursor-not-allowed read-only:cursor-not-allowed"
4269
4269
  onFocus={() => {
4270
4270
  setIsDateInputFocused(true);
4271
4271
  setOpen(true);
@@ -4444,7 +4444,7 @@ const DeleteConfirmationModal = React.forwardRef(
4444
4444
  <div className="grid gap-2 py-4">
4445
4445
  <label
4446
4446
  htmlFor="delete-confirmation-input"
4447
- className="text-sm text-muted-foreground"
4447
+ className="text-sm text-semantic-text-secondary"
4448
4448
  >
4449
4449
  Enter "{confirmText}" in uppercase to confirm
4450
4450
  </label>
@@ -5815,7 +5815,7 @@ const MultiSelect = React.forwardRef(
5815
5815
  <label
5816
5816
  htmlFor={selectId}
5817
5817
  className={cn(
5818
- "text-xs font-normal text-semantic-text-muted",
5818
+ "text-sm font-medium text-semantic-text-secondary",
5819
5819
  labelClassName
5820
5820
  )}
5821
5821
  >
@@ -5853,7 +5853,7 @@ const MultiSelect = React.forwardRef(
5853
5853
  >
5854
5854
  <div className="flex-1 flex flex-wrap gap-1">
5855
5855
  {selectedValues.length === 0 ? (
5856
- <span className="text-semantic-text-placeholder">
5856
+ <span className="text-base text-semantic-text-placeholder">
5857
5857
  {placeholder}
5858
5858
  </span>
5859
5859
  ) : (
@@ -5975,7 +5975,7 @@ const MultiSelect = React.forwardRef(
5975
5975
  placeholder={searchPlaceholder}
5976
5976
  value={searchQuery}
5977
5977
  onChange={(e) => setSearchQuery(e.target.value)}
5978
- className="w-full h-8 px-3 text-sm border border-solid border-semantic-border-input rounded bg-semantic-bg-primary placeholder:text-semantic-text-placeholder focus:outline-none focus:border-semantic-border-input-focus/50"
5978
+ className="w-full h-[42px] px-3 text-base text-semantic-text-primary border border-solid border-semantic-border-input rounded bg-semantic-bg-primary placeholder:text-semantic-text-placeholder focus:outline-none focus:border-semantic-border-input-focus/50"
5979
5979
  onClick={(e) => e.stopPropagation()}
5980
5980
  />
5981
5981
  </div>
@@ -7069,7 +7069,7 @@ import { ChevronDown } from "lucide-react";
7069
7069
  import { cn } from "@/lib/utils";
7070
7070
 
7071
7071
  const phoneInputContainerVariants = cva(
7072
- "flex items-center border border-solid rounded transition-all",
7072
+ "flex items-center border h-[42px] border-solid rounded transition-all",
7073
7073
  {
7074
7074
  variants: {
7075
7075
  state: {
@@ -7211,14 +7211,14 @@ const PhoneInput = React.forwardRef(
7211
7211
  >
7212
7212
  <div
7213
7213
  className={cn(
7214
- "flex items-center gap-1.5 pl-3 pr-2 h-10 shrink-0",
7214
+ "flex h-full items-center gap-1.5 pl-3 pr-2 shrink-0",
7215
7215
  onCountryClick && "cursor-pointer"
7216
7216
  )}
7217
7217
  onClick={onCountryClick}
7218
7218
  data-testid="phone-input-country"
7219
7219
  >
7220
- <span className="text-sm">{countryFlag}</span>
7221
- <span className="text-sm text-semantic-text-secondary">
7220
+ <span className="text-base">{countryFlag}</span>
7221
+ <span className="text-base text-semantic-text-secondary">
7222
7222
  {countryCode}
7223
7223
  </span>
7224
7224
  {showChevron && (
@@ -7237,7 +7237,7 @@ const PhoneInput = React.forwardRef(
7237
7237
  aria-invalid={ariaInvalid ?? derivedState === "error"}
7238
7238
  aria-describedby={describedBy || undefined}
7239
7239
  className={cn(
7240
- "flex-1 h-10 px-3 text-sm text-semantic-text-primary placeholder:text-semantic-text-muted outline-none bg-transparent disabled:cursor-not-allowed",
7240
+ "flex-1 h-full px-3 text-base text-semantic-text-primary placeholder:text-semantic-text-placeholder outline-none bg-transparent disabled:cursor-not-allowed",
7241
7241
  className
7242
7242
  )}
7243
7243
  onBeforeInput={handleBeforeInput}
@@ -7384,7 +7384,7 @@ export const ReadableField = React.forwardRef(
7384
7384
  >
7385
7385
  {/* Header Row: Label + Optional Action */}
7386
7386
  <div className="flex items-start justify-between">
7387
- <span className="text-sm text-semantic-text-muted tracking-[0.035px]">
7387
+ <span className="text-sm text-semantic-text-secondary tracking-[0.035px]">
7388
7388
  {label}
7389
7389
  </span>
7390
7390
  {headerAction && (
@@ -7419,7 +7419,7 @@ export const ReadableField = React.forwardRef(
7419
7419
  {/* Input Container */}
7420
7420
  <div
7421
7421
  className={cn(
7422
- "flex h-11 items-center justify-between rounded border border-solid border-semantic-border-layout bg-semantic-bg-ui pl-4 pr-2.5 py-2.5",
7422
+ "flex h-[42px] items-center justify-between rounded border border-solid border-semantic-border-layout bg-semantic-bg-ui pl-4 pr-2.5 py-2.5",
7423
7423
  inputClassName
7424
7424
  )}
7425
7425
  >
@@ -7947,7 +7947,7 @@ const SelectField = React.forwardRef(
7947
7947
  <label
7948
7948
  htmlFor={selectId}
7949
7949
  className={cn(
7950
- "text-sm font-medium text-semantic-text-muted",
7950
+ "text-sm font-medium text-semantic-text-secondary",
7951
7951
  labelClassName
7952
7952
  )}
7953
7953
  >
@@ -7993,7 +7993,7 @@ const SelectField = React.forwardRef(
7993
7993
  placeholder={searchPlaceholder}
7994
7994
  value={effectiveSearchQuery}
7995
7995
  onChange={handleSearchChange}
7996
- className="w-full h-8 text-sm bg-transparent placeholder:text-semantic-text-muted focus:outline-none"
7996
+ className="w-full h-[42px] text-base text-semantic-text-primary bg-transparent placeholder:text-semantic-text-placeholder focus:outline-none"
7997
7997
  // Prevent closing dropdown when clicking input
7998
7998
  onClick={(e) => e.stopPropagation()}
7999
7999
  onKeyDown={(e) => e.stopPropagation()}
@@ -8126,7 +8126,7 @@ const SelectGroup = SelectPrimitive.Group;
8126
8126
  const SelectValue = React.forwardRef(({ className, ...props }: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>, ref: React.Ref<React.ElementRef<typeof SelectPrimitive.Value>>) => (
8127
8127
  <SelectPrimitive.Value
8128
8128
  ref={ref}
8129
- className={cn("[&[data-placeholder]]:text-semantic-text-muted", className)}
8129
+ className={cn("[&[data-placeholder]]:text-semantic-text-placeholder", className)}
8130
8130
  {...props}
8131
8131
  />
8132
8132
  ));
@@ -9594,7 +9594,7 @@ const TextField = React.forwardRef(
9594
9594
  <label
9595
9595
  htmlFor={inputId}
9596
9596
  className={cn(
9597
- "text-sm font-medium text-semantic-text-muted",
9597
+ "text-sm font-medium text-semantic-text-secondary",
9598
9598
  labelClassName
9599
9599
  )}
9600
9600
  >
@@ -9931,7 +9931,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
9931
9931
  <label
9932
9932
  htmlFor={textareaId}
9933
9933
  className={cn(
9934
- "text-sm font-medium text-semantic-text-muted",
9934
+ "text-sm font-medium text-semantic-text-secondary",
9935
9935
  labelClassName
9936
9936
  )}
9937
9937
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-mcp",
3
- "version": "0.2.346",
3
+ "version": "0.2.347",
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",