@flytedan/flytebot-design-system 0.91.0 → 0.92.0
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.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15716,6 +15716,7 @@ function ModelControls({
|
|
|
15716
15716
|
fastModeLabel = "Enable fast mode",
|
|
15717
15717
|
moreModels,
|
|
15718
15718
|
modelsHeading = "Models",
|
|
15719
|
+
modelLabel = "Model",
|
|
15719
15720
|
narrow: _narrow
|
|
15720
15721
|
}) {
|
|
15721
15722
|
if (!models || !models.length) return null;
|
|
@@ -15763,9 +15764,9 @@ function ModelControls({
|
|
|
15763
15764
|
items,
|
|
15764
15765
|
placement: "top-end",
|
|
15765
15766
|
minWidth: 252,
|
|
15766
|
-
ariaLabel:
|
|
15767
|
-
label: current2 ? current2.label :
|
|
15768
|
-
title:
|
|
15767
|
+
ariaLabel: modelLabel,
|
|
15768
|
+
label: current2 ? current2.label : modelLabel,
|
|
15769
|
+
title: `Choose a ${modelLabel.toLowerCase()}`
|
|
15769
15770
|
}
|
|
15770
15771
|
),
|
|
15771
15772
|
effortLevels && effortLevels.length ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
@@ -15857,6 +15858,7 @@ function AgentChatPanel({
|
|
|
15857
15858
|
onFastModeChange,
|
|
15858
15859
|
moreModels,
|
|
15859
15860
|
modelsHeading,
|
|
15861
|
+
modelLabel,
|
|
15860
15862
|
/* threads */
|
|
15861
15863
|
threads,
|
|
15862
15864
|
onSelectThread,
|
|
@@ -15957,6 +15959,7 @@ function AgentChatPanel({
|
|
|
15957
15959
|
onFastModeChange,
|
|
15958
15960
|
moreModels,
|
|
15959
15961
|
modelsHeading,
|
|
15962
|
+
modelLabel,
|
|
15960
15963
|
narrow
|
|
15961
15964
|
}
|
|
15962
15965
|
);
|