myoperator-mcp 0.2.127 → 0.2.129
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 +61 -61
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ const accordionVariants = cva("w-full", {
|
|
|
22
22
|
variant: {
|
|
23
23
|
default: "",
|
|
24
24
|
bordered:
|
|
25
|
-
"border border-semantic-border-layout rounded-lg divide-y divide-semantic-border-layout",
|
|
25
|
+
"border border-solid border-semantic-border-layout rounded-lg divide-y divide-semantic-border-layout",
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
defaultVariants: {
|
|
@@ -358,7 +358,7 @@ import { cn } from "@/lib/utils";
|
|
|
358
358
|
* Colors are hardcoded for Bootstrap compatibility.
|
|
359
359
|
*/
|
|
360
360
|
const alertVariants = cva(
|
|
361
|
-
"relative w-full rounded border p-4 text-sm text-semantic-text-primary [&>svg~*]:pl-8 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4",
|
|
361
|
+
"relative w-full rounded border border-solid p-4 text-sm text-semantic-text-primary [&>svg~*]:pl-8 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4",
|
|
362
362
|
{
|
|
363
363
|
variants: {
|
|
364
364
|
variant: {
|
|
@@ -596,11 +596,11 @@ const avatarVariants = cva(
|
|
|
596
596
|
);
|
|
597
597
|
|
|
598
598
|
const statusDotSizeMap = {
|
|
599
|
-
xs: "size-2 border",
|
|
600
|
-
sm: "size-2.5 border-[1.5px]",
|
|
601
|
-
md: "size-3 border-2",
|
|
602
|
-
lg: "size-3.5 border-2",
|
|
603
|
-
xl: "size-4 border-2",
|
|
599
|
+
xs: "size-2 border border-solid",
|
|
600
|
+
sm: "size-2.5 border-[1.5px] border-solid",
|
|
601
|
+
md: "size-3 border-2 border-solid",
|
|
602
|
+
lg: "size-3.5 border-2 border-solid",
|
|
603
|
+
xl: "size-4 border-2 border-solid",
|
|
604
604
|
} as const;
|
|
605
605
|
|
|
606
606
|
const statusColorMap = {
|
|
@@ -717,7 +717,7 @@ const badgeVariants = cva(
|
|
|
717
717
|
// shadcn-style variants (new)
|
|
718
718
|
secondary: "bg-semantic-bg-ui text-semantic-text-primary",
|
|
719
719
|
outline:
|
|
720
|
-
"border border-semantic-border-layout bg-transparent text-semantic-text-primary",
|
|
720
|
+
"border border-solid border-semantic-border-layout bg-transparent text-semantic-text-primary",
|
|
721
721
|
destructive: "bg-semantic-error-surface text-semantic-error-primary",
|
|
722
722
|
},
|
|
723
723
|
size: {
|
|
@@ -830,7 +830,7 @@ const buttonVariants = cva(
|
|
|
830
830
|
success:
|
|
831
831
|
"bg-semantic-success-primary text-semantic-text-inverted hover:bg-semantic-success-hover",
|
|
832
832
|
outline:
|
|
833
|
-
"border border-[var(--color-neutral-300,#D5D7DA)] bg-semantic-bg-primary text-semantic-text-secondary hover:bg-semantic-primary-surface",
|
|
833
|
+
"border border-solid border-[var(--color-neutral-300,#D5D7DA)] bg-semantic-bg-primary text-semantic-text-secondary hover:bg-semantic-primary-surface",
|
|
834
834
|
secondary:
|
|
835
835
|
"bg-semantic-primary-surface text-semantic-text-secondary hover:bg-semantic-bg-hover",
|
|
836
836
|
ghost:
|
|
@@ -938,7 +938,7 @@ import { cn } from "@/lib/utils";
|
|
|
938
938
|
* Checkbox box variants (the outer container)
|
|
939
939
|
*/
|
|
940
940
|
const checkboxVariants = cva(
|
|
941
|
-
"peer inline-flex items-center justify-center shrink-0 rounded border-2 transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-semantic-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-semantic-primary data-[state=checked]:border-semantic-primary data-[state=checked]:text-semantic-text-inverted data-[state=indeterminate]:bg-semantic-primary data-[state=indeterminate]:border-semantic-primary data-[state=indeterminate]:text-semantic-text-inverted data-[state=unchecked]:bg-semantic-bg-primary data-[state=unchecked]:border-semantic-border-input data-[state=unchecked]:hover:border-[var(--color-neutral-400)]",
|
|
941
|
+
"peer inline-flex items-center justify-center shrink-0 rounded border-2 border-solid transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-semantic-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-semantic-primary data-[state=checked]:border-semantic-primary data-[state=checked]:text-semantic-text-inverted data-[state=indeterminate]:bg-semantic-primary data-[state=indeterminate]:border-semantic-primary data-[state=indeterminate]:text-semantic-text-inverted data-[state=unchecked]:bg-semantic-bg-primary data-[state=unchecked]:border-semantic-border-input data-[state=unchecked]:hover:border-[var(--color-neutral-400)]",
|
|
942
942
|
{
|
|
943
943
|
variants: {
|
|
944
944
|
size: {
|
|
@@ -1375,13 +1375,13 @@ const creatableMultiSelectTriggerVariants = cva(
|
|
|
1375
1375
|
variants: {
|
|
1376
1376
|
state: {
|
|
1377
1377
|
default:
|
|
1378
|
-
"border border-semantic-border-input hover:border-semantic-border-input-focus",
|
|
1378
|
+
"border border-solid border-semantic-border-input hover:border-semantic-border-input-focus",
|
|
1379
1379
|
error:
|
|
1380
|
-
"border border-semantic-error-primary/40 hover:border-semantic-error-primary",
|
|
1380
|
+
"border border-solid border-semantic-error-primary/40 hover:border-semantic-error-primary",
|
|
1381
1381
|
focused:
|
|
1382
|
-
"border border-semantic-border-focus shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
1382
|
+
"border border-solid border-semantic-border-focus shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
1383
1383
|
"focused-error":
|
|
1384
|
-
"border border-semantic-error-primary/60 shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
1384
|
+
"border border-solid border-semantic-error-primary/60 shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
1385
1385
|
},
|
|
1386
1386
|
},
|
|
1387
1387
|
defaultVariants: {
|
|
@@ -1594,15 +1594,15 @@ const CreatableMultiSelect = React.forwardRef(
|
|
|
1594
1594
|
|
|
1595
1595
|
{/* Dropdown panel */}
|
|
1596
1596
|
{isOpen && (
|
|
1597
|
-
<div id={listboxId} role="listbox" className="absolute z-[9999] top-full mt-1 w-full bg-semantic-bg-primary border border-semantic-border-layout rounded shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200">
|
|
1597
|
+
<div id={listboxId} role="listbox" className="absolute z-[9999] top-full mt-1 w-full bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200">
|
|
1598
1598
|
{/* Creatable hint \u2014 Enter key */}
|
|
1599
|
-
<div className="flex items-center justify-between px-4 py-2 border-b border-semantic-border-layout">
|
|
1599
|
+
<div className="flex items-center justify-between px-4 py-2 border-b border-solid border-semantic-border-layout">
|
|
1600
1600
|
<span className="text-sm text-semantic-text-muted">
|
|
1601
1601
|
{canAddCustom
|
|
1602
1602
|
? \`Press enter to add "\${inputValue.trim()}"\`
|
|
1603
1603
|
: creatableHint}
|
|
1604
1604
|
</span>
|
|
1605
|
-
<kbd className="inline-flex items-center gap-0.5 rounded border border-semantic-border-layout bg-semantic-bg-ui px-1.5 py-0.5 text-[10px] text-semantic-text-muted font-medium shrink-0">
|
|
1605
|
+
<kbd className="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 text-[10px] text-semantic-text-muted font-medium shrink-0">
|
|
1606
1606
|
Enter \u21B5
|
|
1607
1607
|
</kbd>
|
|
1608
1608
|
</div>
|
|
@@ -1676,9 +1676,9 @@ const creatableSelectTriggerVariants = cva(
|
|
|
1676
1676
|
variants: {
|
|
1677
1677
|
state: {
|
|
1678
1678
|
default:
|
|
1679
|
-
"border border-semantic-border-input focus-within:border-semantic-border-input-focus/50 focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
1679
|
+
"border border-solid border-semantic-border-input focus-within:border-semantic-border-input-focus/50 focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
1680
1680
|
error:
|
|
1681
|
-
"border border-semantic-error-primary/40 focus-within:border-semantic-error-primary/60 focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
1681
|
+
"border border-solid border-semantic-error-primary/40 focus-within:border-semantic-error-primary/60 focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
1682
1682
|
},
|
|
1683
1683
|
},
|
|
1684
1684
|
defaultVariants: {
|
|
@@ -1910,13 +1910,13 @@ const CreatableSelect = React.forwardRef(
|
|
|
1910
1910
|
|
|
1911
1911
|
{/* Dropdown */}
|
|
1912
1912
|
{open && (
|
|
1913
|
-
<div className="absolute left-0 top-full z-[9999] mt-1 w-full rounded border border-semantic-border-layout bg-semantic-bg-primary shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200">
|
|
1913
|
+
<div className="absolute left-0 top-full z-[9999] mt-1 w-full rounded border border-solid border-semantic-border-layout bg-semantic-bg-primary shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200">
|
|
1914
1914
|
{/* Creatable hint */}
|
|
1915
|
-
<div className="flex items-center justify-between px-4 py-2 border-b border-semantic-border-layout">
|
|
1915
|
+
<div className="flex items-center justify-between px-4 py-2 border-b border-solid border-semantic-border-layout">
|
|
1916
1916
|
<span className="text-sm text-semantic-text-muted">
|
|
1917
1917
|
{creatableHint}
|
|
1918
1918
|
</span>
|
|
1919
|
-
<kbd className="inline-flex items-center gap-0.5 rounded border border-semantic-border-layout bg-semantic-bg-ui px-1.5 py-0.5 text-[10px] text-semantic-text-muted font-medium">
|
|
1919
|
+
<kbd className="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 text-[10px] text-semantic-text-muted font-medium">
|
|
1920
1920
|
Enter \u21B5
|
|
1921
1921
|
</kbd>
|
|
1922
1922
|
</div>
|
|
@@ -2220,7 +2220,7 @@ const DialogOverlay = React.forwardRef(({ className, ...props }: React.Component
|
|
|
2220
2220
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
2221
2221
|
|
|
2222
2222
|
const dialogContentVariants = cva(
|
|
2223
|
-
"fixed left-[50%] top-[50%] z-[9999] grid translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",
|
|
2223
|
+
"fixed left-[50%] top-[50%] z-[9999] grid translate-x-[-50%] translate-y-[-50%] gap-4 border border-solid border-border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",
|
|
2224
2224
|
{
|
|
2225
2225
|
variants: {
|
|
2226
2226
|
size: {
|
|
@@ -2406,7 +2406,7 @@ const DropdownMenuSubContent = React.forwardRef(({ className, ...props }: React.
|
|
|
2406
2406
|
<DropdownMenuPrimitive.SubContent
|
|
2407
2407
|
ref={ref}
|
|
2408
2408
|
className={cn(
|
|
2409
|
-
"z-[9999] min-w-[8rem] overflow-hidden rounded-md border border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
2409
|
+
"z-[9999] min-w-[8rem] overflow-hidden rounded-md border border-solid border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
2410
2410
|
className
|
|
2411
2411
|
)}
|
|
2412
2412
|
{...props}
|
|
@@ -2421,7 +2421,7 @@ const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
2421
2421
|
ref={ref}
|
|
2422
2422
|
sideOffset={sideOffset}
|
|
2423
2423
|
className={cn(
|
|
2424
|
-
"z-[9999] min-w-[8rem] overflow-hidden rounded-md border border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-md",
|
|
2424
|
+
"z-[9999] min-w-[8rem] overflow-hidden rounded-md border border-solid border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-md",
|
|
2425
2425
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
2426
2426
|
className
|
|
2427
2427
|
)}
|
|
@@ -2841,9 +2841,9 @@ const inputVariants = cva(
|
|
|
2841
2841
|
variants: {
|
|
2842
2842
|
state: {
|
|
2843
2843
|
default:
|
|
2844
|
-
"border border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
2844
|
+
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
2845
2845
|
error:
|
|
2846
|
-
"border border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
2846
|
+
"border border-solid border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
2847
2847
|
},
|
|
2848
2848
|
},
|
|
2849
2849
|
defaultVariants: {
|
|
@@ -2935,9 +2935,9 @@ const multiSelectTriggerVariants = cva(
|
|
|
2935
2935
|
variants: {
|
|
2936
2936
|
state: {
|
|
2937
2937
|
default:
|
|
2938
|
-
"border border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
2938
|
+
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
2939
2939
|
error:
|
|
2940
|
-
"border border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary/60 focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
2940
|
+
"border border-solid border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary/60 focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
2941
2941
|
},
|
|
2942
2942
|
},
|
|
2943
2943
|
defaultVariants: {
|
|
@@ -3258,7 +3258,7 @@ const MultiSelect = React.forwardRef(
|
|
|
3258
3258
|
<div
|
|
3259
3259
|
id={listboxId}
|
|
3260
3260
|
className={cn(
|
|
3261
|
-
"absolute z-50 mt-1 w-full rounded bg-semantic-bg-primary border border-semantic-border-layout shadow-md",
|
|
3261
|
+
"absolute z-50 mt-1 w-full rounded bg-semantic-bg-primary border border-solid border-semantic-border-layout shadow-md",
|
|
3262
3262
|
"top-full"
|
|
3263
3263
|
)}
|
|
3264
3264
|
role="listbox"
|
|
@@ -3266,13 +3266,13 @@ const MultiSelect = React.forwardRef(
|
|
|
3266
3266
|
>
|
|
3267
3267
|
{/* Search input */}
|
|
3268
3268
|
{searchable && (
|
|
3269
|
-
<div className="p-2 border-b border-semantic-border-layout">
|
|
3269
|
+
<div className="p-2 border-b border-solid border-semantic-border-layout">
|
|
3270
3270
|
<input
|
|
3271
3271
|
type="text"
|
|
3272
3272
|
placeholder={searchPlaceholder}
|
|
3273
3273
|
value={searchQuery}
|
|
3274
3274
|
onChange={(e) => setSearchQuery(e.target.value)}
|
|
3275
|
-
className="w-full h-8 px-3 text-sm border border-semantic-border-input rounded bg-semantic-bg-primary placeholder:text-semantic-text-placeholder focus:outline-none focus:border-semantic-border-input-focus/50"
|
|
3275
|
+
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"
|
|
3276
3276
|
onClick={(e) => e.stopPropagation()}
|
|
3277
3277
|
/>
|
|
3278
3278
|
</div>
|
|
@@ -3323,7 +3323,7 @@ const MultiSelect = React.forwardRef(
|
|
|
3323
3323
|
|
|
3324
3324
|
{/* Footer with count */}
|
|
3325
3325
|
{maxSelections && (
|
|
3326
|
-
<div className="p-2 border-t border-semantic-border-layout text-xs text-semantic-text-muted">
|
|
3326
|
+
<div className="p-2 border-t border-solid border-semantic-border-layout text-xs text-semantic-text-muted">
|
|
3327
3327
|
{selectedValues.length} / {maxSelections} selected
|
|
3328
3328
|
</div>
|
|
3329
3329
|
)}
|
|
@@ -3618,7 +3618,7 @@ const PageHeader = React.forwardRef(
|
|
|
3618
3618
|
"flex w-full bg-semantic-bg-primary px-4",
|
|
3619
3619
|
layoutClasses[layout],
|
|
3620
3620
|
heightClasses[layout],
|
|
3621
|
-
showBorder && "border-b border-semantic-border-layout",
|
|
3621
|
+
showBorder && "border-b border-solid border-semantic-border-layout",
|
|
3622
3622
|
className
|
|
3623
3623
|
)}
|
|
3624
3624
|
{...props}
|
|
@@ -3972,7 +3972,7 @@ import { Button } from "./button";
|
|
|
3972
3972
|
* Panel root variants
|
|
3973
3973
|
*/
|
|
3974
3974
|
const panelVariants = cva(
|
|
3975
|
-
"border-l border-semantic-border-layout bg-semantic-bg-primary flex flex-col overflow-hidden transition-all duration-300 ease-in-out shrink-0",
|
|
3975
|
+
"border-l border-solid border-semantic-border-layout bg-semantic-bg-primary flex flex-col overflow-hidden transition-all duration-300 ease-in-out shrink-0",
|
|
3976
3976
|
{
|
|
3977
3977
|
variants: {
|
|
3978
3978
|
size: {
|
|
@@ -4076,7 +4076,7 @@ const Panel = React.forwardRef(
|
|
|
4076
4076
|
>
|
|
4077
4077
|
{/* Header */}
|
|
4078
4078
|
{header ?? (
|
|
4079
|
-
<div className="flex items-center gap-3 px-4 h-14 border-b border-semantic-border-layout shrink-0">
|
|
4079
|
+
<div className="flex items-center gap-3 px-4 h-14 border-b border-solid border-semantic-border-layout shrink-0">
|
|
4080
4080
|
{title && (
|
|
4081
4081
|
<span className="flex-1 text-base font-semibold text-semantic-text-primary truncate">
|
|
4082
4082
|
{title}
|
|
@@ -4102,7 +4102,7 @@ const Panel = React.forwardRef(
|
|
|
4102
4102
|
|
|
4103
4103
|
{/* Footer */}
|
|
4104
4104
|
{footer && (
|
|
4105
|
-
<div className="flex gap-3 px-4 py-3 shrink-0 border-t border-semantic-border-layout">
|
|
4105
|
+
<div className="flex gap-3 px-4 py-3 shrink-0 border-t border-solid border-semantic-border-layout">
|
|
4106
4106
|
{footer}
|
|
4107
4107
|
</div>
|
|
4108
4108
|
)}
|
|
@@ -4161,8 +4161,8 @@ const PhoneInput = React.forwardRef(
|
|
|
4161
4161
|
return (
|
|
4162
4162
|
<div
|
|
4163
4163
|
className={cn(
|
|
4164
|
-
"flex items-center border border-semantic-border-layout rounded-lg focus-within:border-semantic-border-focus transition-colors",
|
|
4165
|
-
disabled && "opacity-60",
|
|
4164
|
+
"flex items-center border border-solid border-semantic-border-layout rounded-lg focus-within:border-semantic-border-focus transition-colors",
|
|
4165
|
+
disabled && "opacity-60 bg-semantic-bg-ui cursor-not-allowed",
|
|
4166
4166
|
wrapperClassName
|
|
4167
4167
|
)}
|
|
4168
4168
|
>
|
|
@@ -4335,7 +4335,7 @@ export const ReadableField = React.forwardRef(
|
|
|
4335
4335
|
{headerAction.disabledTooltip && (
|
|
4336
4336
|
<span className="pointer-events-none absolute bottom-full right-0 mb-2 whitespace-nowrap rounded bg-semantic-primary px-2 py-1 text-xs text-semantic-text-inverted opacity-0 transition-opacity group-hover/regen-action:opacity-100 z-10">
|
|
4337
4337
|
{headerAction.disabledTooltip}
|
|
4338
|
-
<span className="absolute top-full right-2 border-4 border-transparent border-t-semantic-primary" />
|
|
4338
|
+
<span className="absolute top-full right-2 border-4 border-solid border-transparent border-t-semantic-primary" />
|
|
4339
4339
|
</span>
|
|
4340
4340
|
)}
|
|
4341
4341
|
</span>
|
|
@@ -4354,7 +4354,7 @@ export const ReadableField = React.forwardRef(
|
|
|
4354
4354
|
{/* Input Container */}
|
|
4355
4355
|
<div
|
|
4356
4356
|
className={cn(
|
|
4357
|
-
"flex h-11 items-center justify-between rounded border border-semantic-border-layout bg-semantic-bg-ui pl-4 pr-2.5 py-2.5",
|
|
4357
|
+
"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",
|
|
4358
4358
|
inputClassName
|
|
4359
4359
|
)}
|
|
4360
4360
|
>
|
|
@@ -4461,7 +4461,7 @@ const ReplyQuote = React.forwardRef(
|
|
|
4461
4461
|
<div
|
|
4462
4462
|
ref={ref}
|
|
4463
4463
|
className={cn(
|
|
4464
|
-
"w-full bg-semantic-bg-ui border-l-[3px] border-semantic-border-accent rounded-sm px-4 py-1.5 mb-2 h-[56px] flex flex-col justify-center cursor-pointer hover:bg-semantic-bg-hover transition-colors",
|
|
4464
|
+
"w-full bg-semantic-bg-ui border-l-[3px] border-solid border-semantic-border-accent rounded-sm px-4 py-1.5 mb-2 h-[56px] flex flex-col justify-center cursor-pointer hover:bg-semantic-bg-hover transition-colors",
|
|
4465
4465
|
isInteractive && "focus-visible:ring-2 focus-visible:ring-semantic-border-focus focus-visible:ring-offset-1 focus-visible:outline-none",
|
|
4466
4466
|
className
|
|
4467
4467
|
)}
|
|
@@ -4734,7 +4734,7 @@ const SelectField = React.forwardRef(
|
|
|
4734
4734
|
<SelectContent>
|
|
4735
4735
|
{/* Search input */}
|
|
4736
4736
|
{searchable && (
|
|
4737
|
-
<div className="flex items-center gap-2 px-3 pb-1.5 border-b border-semantic-border-layout">
|
|
4737
|
+
<div className="flex items-center gap-2 px-3 pb-1.5 border-b border-solid border-semantic-border-layout">
|
|
4738
4738
|
<Search className="size-4 text-semantic-text-muted shrink-0" />
|
|
4739
4739
|
<input
|
|
4740
4740
|
type="text"
|
|
@@ -4834,9 +4834,9 @@ const selectTriggerVariants = cva(
|
|
|
4834
4834
|
variants: {
|
|
4835
4835
|
state: {
|
|
4836
4836
|
default:
|
|
4837
|
-
"border border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
4837
|
+
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
4838
4838
|
error:
|
|
4839
|
-
"border border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary/60 focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
4839
|
+
"border border-solid border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary/60 focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
4840
4840
|
},
|
|
4841
4841
|
},
|
|
4842
4842
|
defaultVariants: {
|
|
@@ -4953,7 +4953,7 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
4953
4953
|
<SelectPrimitive.Content
|
|
4954
4954
|
ref={ref}
|
|
4955
4955
|
className={cn(
|
|
4956
|
-
"relative z-[9999] max-h-96 min-w-[8rem] overflow-hidden rounded bg-semantic-bg-primary border border-semantic-border-layout shadow-md",
|
|
4956
|
+
"relative z-[9999] max-h-96 min-w-[8rem] overflow-hidden rounded bg-semantic-bg-primary border border-solid border-semantic-border-layout shadow-md",
|
|
4957
4957
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
4958
4958
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
4959
4959
|
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
|
|
@@ -5250,7 +5250,7 @@ import { cn } from "@/lib/utils";
|
|
|
5250
5250
|
* Switch track variants (the outer container)
|
|
5251
5251
|
*/
|
|
5252
5252
|
const switchVariants = cva(
|
|
5253
|
-
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-semantic-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-semantic-primary data-[state=unchecked]:bg-semantic-bg-grey",
|
|
5253
|
+
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-solid border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-semantic-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-semantic-primary data-[state=unchecked]:bg-semantic-bg-grey",
|
|
5254
5254
|
{
|
|
5255
5255
|
variants: {
|
|
5256
5256
|
size: {
|
|
@@ -5486,7 +5486,7 @@ const Table = React.forwardRef(
|
|
|
5486
5486
|
<div
|
|
5487
5487
|
className={cn(
|
|
5488
5488
|
"relative w-full overflow-auto",
|
|
5489
|
-
!withoutBorder && "rounded-lg border border-semantic-border-layout"
|
|
5489
|
+
!withoutBorder && "rounded-lg border border-solid border-semantic-border-layout"
|
|
5490
5490
|
)}
|
|
5491
5491
|
>
|
|
5492
5492
|
<table
|
|
@@ -5506,7 +5506,7 @@ Table.displayName = "Table";
|
|
|
5506
5506
|
const TableHeader = React.forwardRef(({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>, ref: React.Ref<HTMLTableSectionElement>) => (
|
|
5507
5507
|
<thead
|
|
5508
5508
|
ref={ref}
|
|
5509
|
-
className={cn("bg-[var(--color-neutral-100)] [&_tr]:border-b", className)}
|
|
5509
|
+
className={cn("bg-[var(--color-neutral-100)] [&_tr]:border-b [&_tr]:border-solid", className)}
|
|
5510
5510
|
{...props}
|
|
5511
5511
|
/>
|
|
5512
5512
|
));
|
|
@@ -5543,7 +5543,7 @@ const TableFooter = React.forwardRef(({ className, ...props }: React.HTMLAttribu
|
|
|
5543
5543
|
<tfoot
|
|
5544
5544
|
ref={ref}
|
|
5545
5545
|
className={cn(
|
|
5546
|
-
"border-t bg-[var(--color-neutral-100)] font-medium [&>tr]:last:border-b-0",
|
|
5546
|
+
"border-t border-solid bg-[var(--color-neutral-100)] font-medium [&>tr]:last:border-b-0",
|
|
5547
5547
|
className
|
|
5548
5548
|
)}
|
|
5549
5549
|
{...props}
|
|
@@ -5561,7 +5561,7 @@ const TableRow = React.forwardRef(
|
|
|
5561
5561
|
<tr
|
|
5562
5562
|
ref={ref}
|
|
5563
5563
|
className={cn(
|
|
5564
|
-
"border-b border-semantic-border-layout transition-colors",
|
|
5564
|
+
"border-b border-solid border-semantic-border-layout transition-colors",
|
|
5565
5565
|
highlighted
|
|
5566
5566
|
? "bg-semantic-info-surface"
|
|
5567
5567
|
: "hover:bg-[var(--color-neutral-50)]/50 data-[state=selected]:bg-semantic-bg-ui",
|
|
@@ -5782,7 +5782,7 @@ const TabsList = React.forwardRef(({ className, fullWidth, ...props }: TabsListP
|
|
|
5782
5782
|
<TabsPrimitive.List
|
|
5783
5783
|
ref={ref}
|
|
5784
5784
|
className={cn(
|
|
5785
|
-
"inline-flex items-center border-b border-semantic-border-layout w-full",
|
|
5785
|
+
"inline-flex items-center border-b border-solid border-semantic-border-layout w-full",
|
|
5786
5786
|
fullWidth && "[&>*]:flex-1",
|
|
5787
5787
|
className
|
|
5788
5788
|
)}
|
|
@@ -5795,7 +5795,7 @@ const TabsTrigger = React.forwardRef(({ className, ...props }: React.ComponentPr
|
|
|
5795
5795
|
<TabsPrimitive.Trigger
|
|
5796
5796
|
ref={ref}
|
|
5797
5797
|
className={cn(
|
|
5798
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap py-3 px-3 text-sm font-medium border-b-2 -mb-px cursor-pointer transition-colors",
|
|
5798
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap py-3 px-3 text-sm font-medium border-b-2 border-solid -mb-px cursor-pointer transition-colors",
|
|
5799
5799
|
"text-semantic-text-muted border-transparent hover:text-semantic-text-secondary",
|
|
5800
5800
|
"data-[state=active]:text-semantic-text-primary data-[state=active]:border-semantic-primary",
|
|
5801
5801
|
"focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -5971,9 +5971,9 @@ const textFieldContainerVariants = cva(
|
|
|
5971
5971
|
variants: {
|
|
5972
5972
|
state: {
|
|
5973
5973
|
default:
|
|
5974
|
-
"border border-semantic-border-input focus-within:border-semantic-border-input-focus focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
5974
|
+
"border border-solid border-semantic-border-input focus-within:border-semantic-border-input-focus focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
5975
5975
|
error:
|
|
5976
|
-
"border border-semantic-error-primary/40 focus-within:border-semantic-error-primary focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
5976
|
+
"border border-solid border-semantic-error-primary/40 focus-within:border-semantic-error-primary focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
5977
5977
|
},
|
|
5978
5978
|
disabled: {
|
|
5979
5979
|
true: "cursor-not-allowed opacity-50 bg-[var(--color-neutral-50)]",
|
|
@@ -5996,9 +5996,9 @@ const textFieldInputVariants = cva(
|
|
|
5996
5996
|
variants: {
|
|
5997
5997
|
state: {
|
|
5998
5998
|
default:
|
|
5999
|
-
"border border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
5999
|
+
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
6000
6000
|
error:
|
|
6001
|
-
"border border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
6001
|
+
"border border-solid border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
6002
6002
|
},
|
|
6003
6003
|
size: {
|
|
6004
6004
|
default: "h-[42px] px-4 py-2 text-base file:text-base",
|
|
@@ -6310,9 +6310,9 @@ const textareaVariants = cva(
|
|
|
6310
6310
|
variants: {
|
|
6311
6311
|
state: {
|
|
6312
6312
|
default:
|
|
6313
|
-
"border border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
6313
|
+
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
6314
6314
|
error:
|
|
6315
|
-
"border border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
6315
|
+
"border border-solid border-semantic-error-primary/40 focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.1)]",
|
|
6316
6316
|
},
|
|
6317
6317
|
size: {
|
|
6318
6318
|
default: "px-4 py-2.5 text-base",
|
|
@@ -6522,7 +6522,7 @@ const ToastViewport = React.forwardRef(({ className, ...props }: React.Component
|
|
|
6522
6522
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
6523
6523
|
|
|
6524
6524
|
const toastVariants = cva(
|
|
6525
|
-
"group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-[5px] border p-3 shadow-md transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
6525
|
+
"group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-[5px] border border-solid p-3 shadow-md transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
6526
6526
|
{
|
|
6527
6527
|
variants: {
|
|
6528
6528
|
variant: {
|
|
@@ -6559,7 +6559,7 @@ const ToastAction = React.forwardRef(({ className, ...props }: React.ComponentPr
|
|
|
6559
6559
|
<ToastPrimitives.Action
|
|
6560
6560
|
ref={ref}
|
|
6561
6561
|
className={cn(
|
|
6562
|
-
"inline-flex h-8 shrink-0 items-center justify-center rounded border border-semantic-border-layout bg-transparent px-3 text-sm font-medium transition-colors hover:bg-semantic-bg-ui focus:outline-none focus:ring-2 focus:ring-semantic-info-primary focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
6562
|
+
"inline-flex h-8 shrink-0 items-center justify-center rounded border border-solid border-semantic-border-layout bg-transparent px-3 text-sm font-medium transition-colors hover:bg-semantic-bg-ui focus:outline-none focus:ring-2 focus:ring-semantic-info-primary focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
6563
6563
|
"group-[.success]:border-semantic-success-primary/30 group-[.success]:hover:border-semantic-success-primary/50 group-[.success]:hover:bg-semantic-success-primary/10",
|
|
6564
6564
|
"group-[.error]:border-semantic-error-primary/30 group-[.error]:hover:border-semantic-error-primary/50 group-[.error]:hover:bg-semantic-error-primary/10",
|
|
6565
6565
|
"group-[.warning]:border-semantic-warning-primary/30 group-[.warning]:hover:border-semantic-warning-primary/50 group-[.warning]:hover:bg-semantic-warning-primary/10",
|
package/package.json
CHANGED