@xinghunm/ai-chat 1.1.1 → 1.1.2

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.js CHANGED
@@ -2339,11 +2339,11 @@ var TextInput = import_styled4.default.input`
2339
2339
  color: rgba(255, 255, 255, 0.34);
2340
2340
  }
2341
2341
  `;
2342
- var InlineOtherInput = (0, import_styled4.default)(import_compass_ui.InputField)`
2342
+ var InlineOtherInput = (0, import_styled4.default)(import_compass_ui.Input)`
2343
2343
  width: 100%;
2344
2344
  margin-top: 0;
2345
2345
 
2346
- .compass-input-field-wrapper {
2346
+ .compass-input-wrapper {
2347
2347
  min-height: 30px;
2348
2348
  border: 1px solid rgba(255, 255, 255, 0.1);
2349
2349
  border-radius: 10px;
@@ -2352,22 +2352,22 @@ var InlineOtherInput = (0, import_styled4.default)(import_compass_ui.InputField)
2352
2352
  padding: 2px 9px;
2353
2353
  }
2354
2354
 
2355
- .compass-input-field-wrapper:hover {
2355
+ .compass-input-wrapper:hover {
2356
2356
  border-color: rgba(126, 160, 255, 0.28);
2357
2357
  }
2358
2358
 
2359
- .compass-input-field-wrapper:focus-within {
2359
+ .compass-input-wrapper:focus-within {
2360
2360
  border-color: rgba(126, 160, 255, 0.42);
2361
2361
  box-shadow: 0 0 0 1px rgba(126, 160, 255, 0.14);
2362
2362
  }
2363
2363
 
2364
- .compass-input-field-input {
2364
+ .compass-input-input {
2365
2365
  color: rgba(255, 255, 255, 0.92);
2366
2366
  font-size: 13px;
2367
2367
  line-height: 1.2;
2368
2368
  }
2369
2369
 
2370
- .compass-input-field-input::placeholder {
2370
+ .compass-input-input::placeholder {
2371
2371
  color: rgba(255, 255, 255, 0.34);
2372
2372
  }
2373
2373
  `;
@@ -5109,7 +5109,7 @@ var ChatComposerView = ({
5109
5109
  }
5110
5110
  ) : null,
5111
5111
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
5112
- Input,
5112
+ Input2,
5113
5113
  {
5114
5114
  ref: inputRef,
5115
5115
  "data-testid": "chat-composer-input",
@@ -5253,7 +5253,7 @@ var InputArea = import_styled14.default.div`
5253
5253
  grid-area: input;
5254
5254
  position: relative;
5255
5255
  `;
5256
- var Input = import_styled14.default.textarea`
5256
+ var Input2 = import_styled14.default.textarea`
5257
5257
  --textarea-line-height: ${CHAT_COMPOSER_LINE_HEIGHT_PX}px;
5258
5258
  --textarea-min-rows: ${CHAT_COMPOSER_MIN_ROWS};
5259
5259
  --textarea-max-rows: ${CHAT_COMPOSER_MAX_ROWS};
package/dist/index.mjs CHANGED
@@ -1495,7 +1495,7 @@ import {
1495
1495
  useState as useState2
1496
1496
  } from "react";
1497
1497
  import styled4 from "@emotion/styled";
1498
- import { InputField } from "@xinghunm/compass-ui";
1498
+ import { Input } from "@xinghunm/compass-ui";
1499
1499
 
1500
1500
  // src/components/chat-thread/components/questionnaire-card-helpers.ts
1501
1501
  var OTHER_OPTION_VALUE = "__other__";
@@ -2296,11 +2296,11 @@ var TextInput = styled4.input`
2296
2296
  color: rgba(255, 255, 255, 0.34);
2297
2297
  }
2298
2298
  `;
2299
- var InlineOtherInput = styled4(InputField)`
2299
+ var InlineOtherInput = styled4(Input)`
2300
2300
  width: 100%;
2301
2301
  margin-top: 0;
2302
2302
 
2303
- .compass-input-field-wrapper {
2303
+ .compass-input-wrapper {
2304
2304
  min-height: 30px;
2305
2305
  border: 1px solid rgba(255, 255, 255, 0.1);
2306
2306
  border-radius: 10px;
@@ -2309,22 +2309,22 @@ var InlineOtherInput = styled4(InputField)`
2309
2309
  padding: 2px 9px;
2310
2310
  }
2311
2311
 
2312
- .compass-input-field-wrapper:hover {
2312
+ .compass-input-wrapper:hover {
2313
2313
  border-color: rgba(126, 160, 255, 0.28);
2314
2314
  }
2315
2315
 
2316
- .compass-input-field-wrapper:focus-within {
2316
+ .compass-input-wrapper:focus-within {
2317
2317
  border-color: rgba(126, 160, 255, 0.42);
2318
2318
  box-shadow: 0 0 0 1px rgba(126, 160, 255, 0.14);
2319
2319
  }
2320
2320
 
2321
- .compass-input-field-input {
2321
+ .compass-input-input {
2322
2322
  color: rgba(255, 255, 255, 0.92);
2323
2323
  font-size: 13px;
2324
2324
  line-height: 1.2;
2325
2325
  }
2326
2326
 
2327
- .compass-input-field-input::placeholder {
2327
+ .compass-input-input::placeholder {
2328
2328
  color: rgba(255, 255, 255, 0.34);
2329
2329
  }
2330
2330
  `;
@@ -5066,7 +5066,7 @@ var ChatComposerView = ({
5066
5066
  }
5067
5067
  ) : null,
5068
5068
  /* @__PURE__ */ jsx15(
5069
- Input,
5069
+ Input2,
5070
5070
  {
5071
5071
  ref: inputRef,
5072
5072
  "data-testid": "chat-composer-input",
@@ -5210,7 +5210,7 @@ var InputArea = styled14.div`
5210
5210
  grid-area: input;
5211
5211
  position: relative;
5212
5212
  `;
5213
- var Input = styled14.textarea`
5213
+ var Input2 = styled14.textarea`
5214
5214
  --textarea-line-height: ${CHAT_COMPOSER_LINE_HEIGHT_PX}px;
5215
5215
  --textarea-min-rows: ${CHAT_COMPOSER_MIN_ROWS};
5216
5216
  --textarea-max-rows: ${CHAT_COMPOSER_MAX_ROWS};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xinghunm/ai-chat",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "AI chat React component library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -19,7 +19,7 @@
19
19
  "peerDependencies": {
20
20
  "@emotion/react": ">=11",
21
21
  "@emotion/styled": ">=11",
22
- "@xinghunm/compass-ui": ">=0.8.0",
22
+ "@xinghunm/compass-ui": ">=0.9.0",
23
23
  "axios": ">=1.0",
24
24
  "react": ">=18",
25
25
  "react-dom": ">=18",
@@ -53,7 +53,7 @@
53
53
  "tsup": "^8.0.0",
54
54
  "typescript": "^5.2.2",
55
55
  "zustand": "^5.0.0",
56
- "@xinghunm/compass-ui": "^0.8.3"
56
+ "@xinghunm/compass-ui": "^0.9.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"