code7-leia 0.2.24 → 0.2.25

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.24",
2
+ "version": "0.2.25",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -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: 300px;
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: 45px;
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
@@ -59,7 +59,7 @@ export const Header = styled.div`
59
59
  `
60
60
 
61
61
  export const Inputs = styled.div`
62
- display: flex;
62
+ display: inline-flex
63
63
  justify-content: space-between;
64
64
  margin-bottom: 10px;
65
65