myoperator-mcp 0.2.379 → 0.2.381
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 +15 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2628,7 +2628,7 @@ const MONTH_LONG_NAMES = [
|
|
|
2628
2628
|
];
|
|
2629
2629
|
|
|
2630
2630
|
const dateRangePickerTriggerVariants = cva(
|
|
2631
|
-
"flex h-10 w-full items-center gap-2 rounded
|
|
2631
|
+
"flex h-10 w-full items-center gap-2 rounded border border-solid border-semantic-border-input bg-semantic-bg-primary px-4 py-2.5 text-left text-sm text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2632
2632
|
{
|
|
2633
2633
|
variants: {
|
|
2634
2634
|
state: {
|
|
@@ -3408,9 +3408,9 @@ const dateTimePickerTriggerVariants = cva(
|
|
|
3408
3408
|
{
|
|
3409
3409
|
variants: {
|
|
3410
3410
|
size: {
|
|
3411
|
-
sm: "h-9 gap-2 rounded
|
|
3412
|
-
default: "h-[42px] gap-2 rounded
|
|
3413
|
-
lg: "h-[42px] gap-2 rounded
|
|
3411
|
+
sm: "h-9 gap-2 rounded px-3 py-2 text-sm",
|
|
3412
|
+
default: "h-[42px] gap-2 rounded px-4 py-2.5 text-base",
|
|
3413
|
+
lg: "h-[42px] gap-2 rounded px-4 py-2.5 text-base",
|
|
3414
3414
|
},
|
|
3415
3415
|
state: {
|
|
3416
3416
|
default: "",
|
|
@@ -4604,7 +4604,7 @@ function TimeField({
|
|
|
4604
4604
|
aria-haspopup="listbox"
|
|
4605
4605
|
aria-expanded={open}
|
|
4606
4606
|
className={cn(
|
|
4607
|
-
"flex h-[42px] w-full items-center gap-2 rounded
|
|
4607
|
+
"flex h-[42px] w-full items-center gap-2 rounded border border-solid border-semantic-border-input bg-semantic-bg-primary px-3 text-left text-base text-semantic-text-primary outline-none transition-colors hover:border-semantic-border-input-focus/50",
|
|
4608
4608
|
open &&
|
|
4609
4609
|
"border-semantic-border-input-focus/50 shadow-[0_0_0_1px_rgba(43,188,202,0.15)]"
|
|
4610
4610
|
)}
|
|
@@ -10115,6 +10115,14 @@ export interface SelectFieldProps {
|
|
|
10115
10115
|
* an "End of list" footer row. Default true (keep firing).
|
|
10116
10116
|
*/
|
|
10117
10117
|
hasMore?: boolean;
|
|
10118
|
+
/**
|
|
10119
|
+
* Clip long option labels in the dropdown to a single line with an ellipsis
|
|
10120
|
+
* instead of wrapping them across lines. Default false (wrapped). The
|
|
10121
|
+
* selected value in the trigger always truncates, and the value reported to
|
|
10122
|
+
* \`onValueChange\` / \`onSelect\` is always the full string \u2014 truncation is
|
|
10123
|
+
* presentation only.
|
|
10124
|
+
*/
|
|
10125
|
+
truncateOptionText?: boolean;
|
|
10118
10126
|
}
|
|
10119
10127
|
|
|
10120
10128
|
/**
|
|
@@ -10192,6 +10200,7 @@ const SelectField = React.forwardRef(
|
|
|
10192
10200
|
onScrollEnd,
|
|
10193
10201
|
loadingMore,
|
|
10194
10202
|
hasMore,
|
|
10203
|
+
truncateOptionText,
|
|
10195
10204
|
}: SelectFieldProps,
|
|
10196
10205
|
ref: React.Ref<HTMLButtonElement>
|
|
10197
10206
|
) => {
|
|
@@ -10383,6 +10392,7 @@ const SelectField = React.forwardRef(
|
|
|
10383
10392
|
<SelectContent
|
|
10384
10393
|
onViewportScrollEnd={hasMore !== false ? onScrollEnd : undefined}
|
|
10385
10394
|
hideScrollButtons={totalRendered === 0}
|
|
10395
|
+
truncateOptionText={truncateOptionText}
|
|
10386
10396
|
className={contentClassName}
|
|
10387
10397
|
>
|
|
10388
10398
|
{/* Search input */}
|
package/package.json
CHANGED