myoperator-mcp 0.2.330 → 0.2.331
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 +8 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4127,15 +4127,12 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4127
4127
|
>
|
|
4128
4128
|
<div className="flex flex-col gap-1.5">
|
|
4129
4129
|
<label
|
|
4130
|
-
|
|
4130
|
+
id={\`\${triggerId}-start-time-label\`}
|
|
4131
4131
|
className="block text-sm font-semibold text-semantic-text-primary"
|
|
4132
4132
|
>
|
|
4133
4133
|
{startTimeLabel}
|
|
4134
4134
|
</label>
|
|
4135
|
-
<div
|
|
4136
|
-
className="relative cursor-pointer"
|
|
4137
|
-
onClick={() => openNativeTimePicker(startTimeInputRef.current)}
|
|
4138
|
-
>
|
|
4135
|
+
<div className="relative">
|
|
4139
4136
|
<Clock2
|
|
4140
4137
|
className="pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-semantic-text-muted"
|
|
4141
4138
|
aria-hidden="true"
|
|
@@ -4143,6 +4140,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4143
4140
|
<input
|
|
4144
4141
|
ref={startTimeInputRef}
|
|
4145
4142
|
id={\`\${triggerId}-start-time\`}
|
|
4143
|
+
aria-labelledby={\`\${triggerId}-start-time-label\`}
|
|
4146
4144
|
type="time"
|
|
4147
4145
|
step={resolvedShowSeconds ? "1" : "60"}
|
|
4148
4146
|
value={formatTimeForTimeInput(
|
|
@@ -4150,6 +4148,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4150
4148
|
resolvedShowSeconds
|
|
4151
4149
|
)}
|
|
4152
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)]"
|
|
4151
|
+
onClick={() => openNativeTimePicker(startTimeInputRef.current)}
|
|
4153
4152
|
onChange={(event) =>
|
|
4154
4153
|
updateValue(
|
|
4155
4154
|
{
|
|
@@ -4169,15 +4168,12 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4169
4168
|
{resolvedShowEndTime && (
|
|
4170
4169
|
<div className="flex flex-col gap-1.5">
|
|
4171
4170
|
<label
|
|
4172
|
-
|
|
4171
|
+
id={\`\${triggerId}-end-time-label\`}
|
|
4173
4172
|
className="block text-sm font-semibold text-semantic-text-primary"
|
|
4174
4173
|
>
|
|
4175
4174
|
{endTimeLabel}
|
|
4176
4175
|
</label>
|
|
4177
|
-
<div
|
|
4178
|
-
className="relative cursor-pointer"
|
|
4179
|
-
onClick={() => openNativeTimePicker(endTimeInputRef.current)}
|
|
4180
|
-
>
|
|
4176
|
+
<div className="relative">
|
|
4181
4177
|
<Clock2
|
|
4182
4178
|
className="pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-semantic-text-muted"
|
|
4183
4179
|
aria-hidden="true"
|
|
@@ -4185,6 +4181,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4185
4181
|
<input
|
|
4186
4182
|
ref={endTimeInputRef}
|
|
4187
4183
|
id={\`\${triggerId}-end-time\`}
|
|
4184
|
+
aria-labelledby={\`\${triggerId}-end-time-label\`}
|
|
4188
4185
|
type="time"
|
|
4189
4186
|
step={resolvedShowSeconds ? "1" : "60"}
|
|
4190
4187
|
value={formatTimeForTimeInput(
|
|
@@ -4192,6 +4189,7 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4192
4189
|
resolvedShowSeconds
|
|
4193
4190
|
)}
|
|
4194
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)]"
|
|
4192
|
+
onClick={() => openNativeTimePicker(endTimeInputRef.current)}
|
|
4195
4193
|
onChange={(event) =>
|
|
4196
4194
|
updateValue(
|
|
4197
4195
|
{
|
package/package.json
CHANGED