myoperator-ui 0.0.221-beta.0 → 0.0.221

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 +42 -42
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5063,7 +5063,7 @@ Table.displayName = "Table";
5063
5063
  const TableHeader = React.forwardRef(({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>, ref: React.Ref<HTMLTableSectionElement>) => (
5064
5064
  <thead
5065
5065
  ref={ref}
5066
- className={cn("bg-[var(--color-neutral-100)] [&_tr]:border-b", className)}
5066
+ className={cn("bg-[var(--color-neutral-100)] [&_tr]:border-b [&_tr]:border-solid", className)}
5067
5067
  {...props}
5068
5068
  />
5069
5069
  ));
@@ -17675,7 +17675,7 @@ export const IvrBotConfig = React.forwardRef(
17675
17675
  </div>
17676
17676
 
17677
17677
  {/* Right column \u2014 gray panel extending full height */}
17678
- <div className="flex flex-col gap-6 px-4 py-4 sm:px-6 sm:py-6 lg:flex-[2] min-w-0 bg-semantic-bg-ui border-l border-semantic-border-layout">
17678
+ <div className="flex flex-col gap-6 px-4 py-4 sm:px-6 sm:py-6 lg:flex-[2] min-w-0 bg-semantic-bg-ui border-l border-solid border-semantic-border-layout">
17679
17679
  <KnowledgeBaseCard
17680
17680
  files={data.knowledgeBaseFiles}
17681
17681
  onAdd={() => setUploadOpen(true)}
@@ -18008,7 +18008,7 @@ function VarPopup({
18008
18008
  <div
18009
18009
  role="listbox"
18010
18010
  style={style}
18011
- className="absolute z-[9999] min-w-[14rem] max-w-sm rounded-md border border-semantic-border-layout bg-semantic-bg-primary py-1 text-semantic-text-primary shadow-md"
18011
+ className="absolute z-[9999] min-w-[14rem] max-w-sm rounded-md border border-solid border-semantic-border-layout bg-semantic-bg-primary py-1 text-semantic-text-primary shadow-md"
18012
18012
  >
18013
18013
  {/* Add new variable */}
18014
18014
  {onAddVariable && (
@@ -18021,7 +18021,7 @@ function VarPopup({
18021
18021
  <Plus className="size-3.5 shrink-0" />
18022
18022
  Add new variable
18023
18023
  </button>
18024
- <div className="border-t border-semantic-border-layout" />
18024
+ <div className="border-t border-solid border-semantic-border-layout" />
18025
18025
  </>
18026
18026
  )}
18027
18027
 
@@ -18322,7 +18322,7 @@ function VariableInput({
18322
18322
  className={cn(
18323
18323
  "flex items-center gap-1 px-2",
18324
18324
  !isExpanded && "flex-1 min-w-0 overflow-hidden",
18325
- isExpanded && "flex-wrap bg-semantic-bg-primary border border-semantic-border-input rounded py-1.5 shadow-sm"
18325
+ isExpanded && "flex-wrap bg-semantic-bg-primary border border-solid border-semantic-border-input rounded py-1.5 shadow-sm"
18326
18326
  )}
18327
18327
  >
18328
18328
  {segments.map((seg, i) =>
@@ -18383,7 +18383,7 @@ function VariableInput({
18383
18383
 
18384
18384
  // \u2500\u2500 Shared input/textarea styles \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
18385
18385
  const inputCls = cn(
18386
- "w-full h-[42px] px-4 text-base rounded border",
18386
+ "w-full h-[42px] px-4 text-base rounded border border-solid",
18387
18387
  "border-semantic-border-input bg-semantic-bg-primary",
18388
18388
  "text-semantic-text-primary placeholder:text-semantic-text-muted",
18389
18389
  "outline-none",
@@ -18392,7 +18392,7 @@ const inputCls = cn(
18392
18392
  );
18393
18393
 
18394
18394
  const textareaCls = cn(
18395
- "w-full px-4 py-2.5 text-base rounded border resize-none",
18395
+ "w-full px-4 py-2.5 text-base rounded border border-solid resize-none",
18396
18396
  "border-semantic-border-input bg-semantic-bg-primary",
18397
18397
  "text-semantic-text-primary placeholder:text-semantic-text-muted",
18398
18398
  "outline-none",
@@ -18462,10 +18462,10 @@ function KeyValueTable({
18462
18462
  return (
18463
18463
  <div className="flex flex-col gap-1.5">
18464
18464
  <span className="text-sm text-semantic-text-muted">{label}</span>
18465
- <div className="border border-semantic-border-layout rounded">
18465
+ <div className="border border-solid border-semantic-border-layout rounded">
18466
18466
  {/* Column headers \u2014 desktop only; border-r on Key cell defines column boundary */}
18467
- <div className="hidden sm:flex border-b border-semantic-border-layout rounded-t">
18468
- <div className="flex-1 min-w-0 px-3 py-2 text-sm font-semibold text-semantic-text-muted border-r border-semantic-border-layout">
18467
+ <div className="hidden sm:flex border-b border-solid border-semantic-border-layout rounded-t">
18468
+ <div className="flex-1 min-w-0 px-3 py-2 text-sm font-semibold text-semantic-text-muted border-r border-solid border-semantic-border-layout">
18469
18469
  Key
18470
18470
  </div>
18471
18471
  <div className="flex-[2] min-w-0 px-3 py-2 text-sm font-semibold text-semantic-text-muted">
@@ -18480,10 +18480,10 @@ function KeyValueTable({
18480
18480
  return (
18481
18481
  <div
18482
18482
  key={row.id}
18483
- className="border-b border-semantic-border-layout last:border-b-0 flex items-center min-h-0"
18483
+ className="border-b border-solid border-semantic-border-layout last:border-b-0 flex items-center min-h-0"
18484
18484
  >
18485
18485
  {/* Key column \u2014 border-r on column (not input) so it aligns with header */}
18486
- <div className="flex-1 flex flex-col min-w-0 sm:border-r sm:border-semantic-border-layout">
18486
+ <div className="flex-1 flex flex-col min-w-0 sm:border-r sm:border-solid sm:border-semantic-border-layout">
18487
18487
  <span className="sm:hidden px-3 pt-2.5 pb-0.5 text-sm font-semibold text-semantic-text-muted uppercase tracking-wide">
18488
18488
  Key
18489
18489
  </span>
@@ -18528,7 +18528,7 @@ function KeyValueTable({
18528
18528
  </div>
18529
18529
 
18530
18530
  {/* Action column \u2014 delete aligned with row (same as KeyValueRow / knowledge-base-card) */}
18531
- <div className="w-10 sm:w-10 flex items-center justify-center shrink-0 self-stretch border-l border-semantic-border-layout sm:border-l-0">
18531
+ <div className="w-10 sm:w-10 flex items-center justify-center shrink-0 self-stretch border-l border-solid border-semantic-border-layout sm:border-l-0">
18532
18532
  <Button
18533
18533
  type="button"
18534
18534
  variant="ghost"
@@ -18902,7 +18902,7 @@ export const CreateFunctionModal = React.forwardRef(
18902
18902
  )}
18903
18903
  >
18904
18904
  {/* \u2500\u2500 Header \u2500\u2500 */}
18905
- <div className="flex items-center justify-between px-4 py-4 border-b border-semantic-border-layout shrink-0 sm:px-6">
18905
+ <div className="flex items-center justify-between px-4 py-4 border-b border-solid border-semantic-border-layout shrink-0 sm:px-6">
18906
18906
  <DialogTitle className="text-base font-semibold text-semantic-text-primary">
18907
18907
  {isEditing ? "Edit Function" : "Create Function"}
18908
18908
  </DialogTitle>
@@ -18984,13 +18984,13 @@ export const CreateFunctionModal = React.forwardRef(
18984
18984
  </span>
18985
18985
  <div
18986
18986
  className={cn(
18987
- "flex h-[42px] rounded border border-semantic-border-input overflow-visible bg-semantic-bg-primary",
18987
+ "flex h-[42px] rounded border border-solid border-semantic-border-input overflow-visible bg-semantic-bg-primary",
18988
18988
  "focus-within:border-semantic-border-input-focus focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
18989
18989
  "transition-shadow"
18990
18990
  )}
18991
18991
  >
18992
18992
  {/* Method selector */}
18993
- <div className="relative shrink-0 border-r border-semantic-border-layout">
18993
+ <div className="relative shrink-0 border-r border-solid border-semantic-border-layout">
18994
18994
  <select
18995
18995
  value={method}
18996
18996
  disabled={disabled}
@@ -19065,7 +19065,7 @@ export const CreateFunctionModal = React.forwardRef(
19065
19065
  <div className="flex flex-col gap-4">
19066
19066
  <div
19067
19067
  className={cn(
19068
- "flex border-b border-semantic-border-layout",
19068
+ "flex border-b border-solid border-semantic-border-layout",
19069
19069
  "overflow-x-auto",
19070
19070
  "[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"
19071
19071
  )}
@@ -19078,7 +19078,7 @@ export const CreateFunctionModal = React.forwardRef(
19078
19078
  className={cn(
19079
19079
  "px-3 py-2 text-sm font-semibold transition-colors whitespace-nowrap shrink-0",
19080
19080
  activeTab === tab
19081
- ? "text-semantic-text-secondary border-b-2 border-semantic-text-secondary -mb-px"
19081
+ ? "text-semantic-text-secondary border-b-2 border-solid border-semantic-text-secondary -mb-px"
19082
19082
  : "text-semantic-text-muted hover:text-semantic-text-primary"
19083
19083
  )}
19084
19084
  >
@@ -19183,7 +19183,7 @@ export const CreateFunctionModal = React.forwardRef(
19183
19183
  <span className="text-sm font-semibold text-semantic-text-muted tracking-[0.048px]">
19184
19184
  Test Your API
19185
19185
  </span>
19186
- <div className="border-t border-semantic-border-layout" />
19186
+ <div className="border-t border-solid border-semantic-border-layout" />
19187
19187
  </div>
19188
19188
 
19189
19189
  {/* Variable test values \u2014 shown when URL/body/params contain {{variables}} */}
@@ -19231,7 +19231,7 @@ export const CreateFunctionModal = React.forwardRef(
19231
19231
  readOnly
19232
19232
  value={apiResponse}
19233
19233
  rows={4}
19234
- className="w-full px-3 py-2.5 text-base rounded border border-semantic-border-layout bg-semantic-bg-ui text-semantic-text-primary resize-none outline-none"
19234
+ className="w-full px-3 py-2.5 text-base rounded border border-solid border-semantic-border-layout bg-semantic-bg-ui text-semantic-text-primary resize-none outline-none"
19235
19235
  placeholder=""
19236
19236
  />
19237
19237
  </div>
@@ -19241,7 +19241,7 @@ export const CreateFunctionModal = React.forwardRef(
19241
19241
  </div>
19242
19242
 
19243
19243
  {/* \u2500\u2500 Footer \u2500\u2500 */}
19244
- <div className="flex items-center justify-between gap-3 px-4 py-3 border-t border-semantic-border-layout shrink-0 sm:px-6 sm:py-4">
19244
+ <div className="flex items-center justify-between gap-3 px-4 py-3 border-t border-solid border-semantic-border-layout shrink-0 sm:px-6 sm:py-4">
19245
19245
  {step === 1 ? (
19246
19246
  <>
19247
19247
  <Button
@@ -19446,7 +19446,7 @@ function StyledInput({
19446
19446
  disabled={disabled}
19447
19447
  maxLength={maxLength}
19448
19448
  className={cn(
19449
- "w-full h-[42px] px-4 text-base rounded border",
19449
+ "w-full h-[42px] px-4 text-base rounded border border-solid",
19450
19450
  "border-semantic-border-input bg-semantic-bg-primary",
19451
19451
  "text-semantic-text-primary placeholder:text-semantic-text-muted",
19452
19452
  "outline-none hover:border-semantic-border-input-focus",
@@ -19523,12 +19523,12 @@ const BotIdentityCard = React.forwardRef(
19523
19523
  <div
19524
19524
  ref={ref}
19525
19525
  className={cn(
19526
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg",
19526
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg",
19527
19527
  className
19528
19528
  )}
19529
19529
  >
19530
19530
  {/* Header */}
19531
- <div className="flex items-center justify-between px-4 py-4 border-b border-semantic-border-layout sm:px-6">
19531
+ <div className="flex items-center justify-between px-4 py-4 border-b border-solid border-semantic-border-layout sm:px-6">
19532
19532
  <h2 className="m-0 text-base font-semibold text-semantic-text-primary">
19533
19533
  Who The Bot Is
19534
19534
  </h2>
@@ -19812,7 +19812,7 @@ function VarPopup({
19812
19812
  <div
19813
19813
  role="listbox"
19814
19814
  style={style}
19815
- className="absolute z-[9999] min-w-[8rem] max-w-xs overflow-hidden rounded-md border border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-md"
19815
+ className="absolute z-[9999] min-w-[8rem] max-w-xs overflow-hidden rounded-md border border-solid border-semantic-border-layout bg-semantic-bg-primary p-1 text-semantic-text-primary shadow-md"
19816
19816
  >
19817
19817
  {variables.map((v) => (
19818
19818
  <button
@@ -19847,11 +19847,11 @@ function SectionCard({
19847
19847
  return (
19848
19848
  <div
19849
19849
  className={cn(
19850
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg",
19850
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg",
19851
19851
  className
19852
19852
  )}
19853
19853
  >
19854
- <div className="flex items-center justify-between px-4 py-4 border-b border-semantic-border-layout sm:px-6">
19854
+ <div className="flex items-center justify-between px-4 py-4 border-b border-solid border-semantic-border-layout sm:px-6">
19855
19855
  <h2 className="m-0 text-base font-semibold text-semantic-text-primary">
19856
19856
  {title}
19857
19857
  </h2>
@@ -19994,7 +19994,7 @@ const BotBehaviorCard = React.forwardRef(
19994
19994
  placeholder="You are a helpful assistant. Always start by greeting the user politely: 'Hello! Welcome. How can I assist you today?'"
19995
19995
  disabled={disabled}
19996
19996
  className={cn(
19997
- "w-full px-4 py-2.5 text-base rounded border resize-none pb-10 pr-[4.5rem]",
19997
+ "w-full px-4 py-2.5 text-base rounded border border-solid resize-none pb-10 pr-[4.5rem]",
19998
19998
  "border-semantic-border-input bg-semantic-bg-primary",
19999
19999
  "text-semantic-text-primary placeholder:text-semantic-text-muted",
20000
20000
  "outline-none hover:border-semantic-border-input-focus",
@@ -20120,12 +20120,12 @@ const KnowledgeBaseCard = React.forwardRef(
20120
20120
  <div
20121
20121
  ref={ref}
20122
20122
  className={cn(
20123
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg overflow-hidden",
20123
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg overflow-hidden",
20124
20124
  className
20125
20125
  )}
20126
20126
  >
20127
20127
  {/* Header */}
20128
- <div className="flex items-center justify-between px-4 py-4 border-b border-semantic-border-layout sm:px-6">
20128
+ <div className="flex items-center justify-between px-4 py-4 border-b border-solid border-semantic-border-layout sm:px-6">
20129
20129
  <div className="flex items-center gap-1.5">
20130
20130
  <h2 className="m-0 text-base font-semibold text-semantic-text-primary">
20131
20131
  Knowledge Base
@@ -20272,12 +20272,12 @@ const FunctionsCard = React.forwardRef(
20272
20272
  <div
20273
20273
  ref={ref}
20274
20274
  className={cn(
20275
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg overflow-hidden",
20275
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg overflow-hidden",
20276
20276
  className
20277
20277
  )}
20278
20278
  >
20279
20279
  {/* Header */}
20280
- <div className="flex items-center justify-between px-4 py-4 border-b border-semantic-border-layout sm:px-6">
20280
+ <div className="flex items-center justify-between px-4 py-4 border-b border-solid border-semantic-border-layout sm:px-6">
20281
20281
  <div className="flex items-center gap-1.5">
20282
20282
  <h2 className="m-0 text-base font-semibold text-semantic-text-primary">
20283
20283
  Functions
@@ -20316,7 +20316,7 @@ const FunctionsCard = React.forwardRef(
20316
20316
  {functions.map((fn) => (
20317
20317
  <div
20318
20318
  key={fn.id}
20319
- className="flex items-center justify-between px-4 py-3 rounded border border-semantic-border-layout bg-semantic-bg-primary"
20319
+ className="flex items-center justify-between px-4 py-3 rounded border border-solid border-semantic-border-layout bg-semantic-bg-primary"
20320
20320
  >
20321
20321
  <div className="flex items-center gap-2 min-w-0">
20322
20322
  {fn.tooltip ? (
@@ -20459,13 +20459,13 @@ const FrustrationHandoverCard = React.forwardRef(
20459
20459
  <div
20460
20460
  ref={ref}
20461
20461
  className={cn(
20462
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg overflow-hidden",
20462
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg overflow-hidden",
20463
20463
  className
20464
20464
  )}
20465
20465
  >
20466
20466
  <Accordion type="single">
20467
20467
  <AccordionItem value="frustration">
20468
- <AccordionTrigger className="px-4 py-4 border-b border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20468
+ <AccordionTrigger className="px-4 py-4 border-b border-solid border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20469
20469
  <span className="flex items-center gap-1.5 text-base font-semibold text-semantic-text-primary">
20470
20470
  Frustration Handover
20471
20471
  <Info className="size-3.5 text-semantic-text-muted shrink-0" />
@@ -20591,7 +20591,7 @@ function NumberSpinner({
20591
20591
  disabled?: boolean;
20592
20592
  }) {
20593
20593
  return (
20594
- <div className={cn("flex w-full items-center gap-2.5 px-4 py-2.5 border border-semantic-border-layout bg-semantic-bg-primary rounded", disabled && "opacity-50 cursor-not-allowed")}>
20594
+ <div className={cn("flex w-full items-center gap-2.5 px-4 py-2.5 border border-solid border-semantic-border-layout bg-semantic-bg-primary rounded", disabled && "opacity-50 cursor-not-allowed")}>
20595
20595
  <input
20596
20596
  type="number"
20597
20597
  value={value}
@@ -20645,13 +20645,13 @@ const AdvancedSettingsCard = React.forwardRef(
20645
20645
  <div
20646
20646
  ref={ref}
20647
20647
  className={cn(
20648
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg overflow-hidden",
20648
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg overflow-hidden",
20649
20649
  className
20650
20650
  )}
20651
20651
  >
20652
20652
  <Accordion type="single">
20653
20653
  <AccordionItem value="advanced">
20654
- <AccordionTrigger className="px-4 py-4 border-b border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20654
+ <AccordionTrigger className="px-4 py-4 border-b border-solid border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20655
20655
  <span className="text-base font-semibold text-semantic-text-primary">
20656
20656
  Advanced Settings
20657
20657
  </span>
@@ -20659,7 +20659,7 @@ const AdvancedSettingsCard = React.forwardRef(
20659
20659
  <AccordionContent>
20660
20660
  <div className="flex flex-col">
20661
20661
  {/* Number fields section */}
20662
- <div className="px-4 pt-4 pb-4 flex flex-col gap-5 border-b border-semantic-border-layout sm:px-6 sm:pt-5 sm:pb-6">
20662
+ <div className="px-4 pt-4 pb-4 flex flex-col gap-5 border-b border-solid border-semantic-border-layout sm:px-6 sm:pt-5 sm:pb-6">
20663
20663
  <Field label="Silence Timeout (seconds)">
20664
20664
  <NumberSpinner
20665
20665
  value={data.silenceTimeout ?? 15}
@@ -20791,7 +20791,7 @@ function PromptField({
20791
20791
  onChange={(e) => onChange(e.target.value)}
20792
20792
  onBlur={(e) => onBlur?.(e.target.value)}
20793
20793
  className={cn(
20794
- "w-full resize-none rounded border border-semantic-border-layout bg-semantic-bg-primary px-3 py-2.5 text-base text-semantic-text-primary placeholder:text-semantic-text-muted outline-none transition-all",
20794
+ "w-full resize-none rounded border border-solid border-semantic-border-layout bg-semantic-bg-primary px-3 py-2.5 text-base text-semantic-text-primary placeholder:text-semantic-text-muted outline-none transition-all",
20795
20795
  "focus:outline-none focus:border-semantic-border-input-focus/50 focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
20796
20796
  disabled && "cursor-not-allowed opacity-50"
20797
20797
  )}
@@ -20823,7 +20823,7 @@ const FallbackPromptsCard = React.forwardRef(
20823
20823
  <div
20824
20824
  ref={ref}
20825
20825
  className={cn(
20826
- "bg-semantic-bg-primary border border-semantic-border-layout rounded-lg overflow-hidden",
20826
+ "bg-semantic-bg-primary border border-solid border-semantic-border-layout rounded-lg overflow-hidden",
20827
20827
  className
20828
20828
  )}
20829
20829
  >
@@ -20832,7 +20832,7 @@ const FallbackPromptsCard = React.forwardRef(
20832
20832
  defaultValue={defaultOpen ? ["fallback"] : []}
20833
20833
  >
20834
20834
  <AccordionItem value="fallback">
20835
- <AccordionTrigger className="px-4 py-4 border-b border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20835
+ <AccordionTrigger className="px-4 py-4 border-b border-solid border-semantic-border-layout hover:no-underline sm:px-6 sm:py-5">
20836
20836
  <span className="flex items-center gap-1.5 text-base font-semibold text-semantic-text-primary">
20837
20837
  Fallback Prompts
20838
20838
  <Info className="size-3.5 text-semantic-text-muted shrink-0" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.221-beta.0",
3
+ "version": "0.0.221",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",