code7-leia 0.2.24 → 0.2.26
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/code7-leia.cjs.development.js +11 -11
- package/dist/code7-leia.cjs.development.js.map +1 -1
- package/dist/code7-leia.cjs.production.min.js +1 -1
- package/dist/code7-leia.cjs.production.min.js.map +1 -1
- package/dist/code7-leia.esm.js +11 -11
- package/dist/code7-leia.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TestArea/components/TextArea/styles.tsx +2 -2
- package/src/components/TestArea/index.tsx +3 -1
- package/src/components/TestArea/styles.tsx +1 -1
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export const InputWrapper = styled.div`
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
position: relative;
|
|
17
17
|
margin-right: 5px;
|
|
18
|
-
width:
|
|
18
|
+
width: 725px;
|
|
19
19
|
|
|
20
20
|
.icon {
|
|
21
21
|
position: absolute;
|
|
@@ -106,7 +106,7 @@ export const CustomTextArea = styled.textarea`
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
&.medium {
|
|
109
|
-
height:
|
|
109
|
+
height: 120px;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&.large {
|
|
@@ -66,10 +66,12 @@ export const TestArea = () => {
|
|
|
66
66
|
<S.Inputs>
|
|
67
67
|
<InputTest placeholder={t.testArea.typeSentence} onChange={handleSearch} />
|
|
68
68
|
<Select placeholder={t.testArea.selectPersona} options={optionsPersona} onSelect={handleSelectPersona} />
|
|
69
|
-
{profile === "Custom" && <TextArea className="textarea-message" placeholder={t.testArea.typePrompt} value={prompt} onChange={(e) => { handlePrompt(e.target.value); }} />}
|
|
70
69
|
<Select placeholder={t.testArea.selectPresset} options={optionsPresset} onSelect={handleSelectPresset} />
|
|
71
70
|
<button onClick={handleTest}><PiWaveformBold /> {t.buttons.test}</button>
|
|
72
71
|
</S.Inputs>
|
|
72
|
+
<S.Inputs>
|
|
73
|
+
{profile === "Custom" && <TextArea className="textarea-message" placeholder={t.testArea.typePrompt} value={prompt} onChange={(e) => { handlePrompt(e.target.value); }} />}
|
|
74
|
+
</S.Inputs>
|
|
73
75
|
{
|
|
74
76
|
!results ? (
|
|
75
77
|
<EmptyState
|