code7-leia 0.2.23 → 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.23",
2
+ "version": "0.2.25",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -14,6 +14,8 @@ export const InputWrapper = styled.div`
14
14
  display: flex;
15
15
  align-items: center;
16
16
  position: relative;
17
+ margin-right: 5px;
18
+ width: 725px;
17
19
 
18
20
  .icon {
19
21
  position: absolute;
@@ -100,15 +102,15 @@ export const CustomTextArea = styled.textarea`
100
102
  }
101
103
 
102
104
  &.small {
103
- min-height: 32px;
105
+ height: 32px;
104
106
  }
105
107
 
106
108
  &.medium {
107
- min-height: 40px;
109
+ height: 120px;
108
110
  }
109
111
 
110
112
  &.large {
111
- min-height: 48px;
113
+ height: 48px;
112
114
  font-size: 1rem;
113
115
  }
114
116
 
@@ -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" label="Prompt" 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