@websolutespa/bom-llm 0.0.22 → 0.0.23

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-llm
2
2
 
3
+ ## 0.0.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: cards css
8
+
3
9
  ## 0.0.22
4
10
 
5
11
  ### Patch Changes
@@ -1313,6 +1313,7 @@ llm-embed {
1313
1313
  inset: 0;
1314
1314
  overflow-x: hidden;
1315
1315
  overflow-y: auto;
1316
+ max-width: 100%;
1316
1317
  /*
1317
1318
  &.lenis.lenis-stopped {
1318
1319
  overflow-x: hidden;
@@ -2050,12 +2051,13 @@ llm-embed {
2050
2051
  }
2051
2052
  .llm .llm__cards {
2052
2053
  width: 100%;
2053
- max-width: min(1360px, 75vw + 60px);
2054
2054
  margin: 0 auto 3rem auto;
2055
+ overflow: hidden;
2055
2056
  }
2056
2057
  .llm .llm__cards .swiper {
2057
- position: relative;
2058
+ max-width: min(1360px, 75vw + 60px);
2058
2059
  margin-top: clamp(40px, 40px + (100vw - 375px) / 1545 * 48, 88px);
2060
+ position: relative;
2059
2061
  overflow: visible;
2060
2062
  }
2061
2063
  .llm .llm__cards .swiper-slide {
@@ -2693,14 +2695,15 @@ llm-embed {
2693
2695
  .llm .llm__message--user:last-child {
2694
2696
  margin-bottom: 20vh;
2695
2697
  }
2696
- .llm .llm__inner:empty {
2697
- display: none;
2698
- }
2699
- .llm .llm__inner--eventGroup {
2698
+ .llm .llm__inner {
2700
2699
  width: 100%;
2700
+ margin: 0 clamp(20px, 20px + (100vw - 375px) / 1545 * 90, 110px);
2701
2701
  }
2702
- .llm .llm__inner--tripadvisorGroup {
2703
- width: 100%;
2702
+ .llm .llm__inner--cardGroup {
2703
+ margin: 0;
2704
+ }
2705
+ .llm .llm__inner:empty {
2706
+ display: none;
2704
2707
  }
2705
2708
  .llm .llm__message--user .llm__inner--string {
2706
2709
  margin-left: auto;
@@ -3003,6 +3006,7 @@ llm-embed {
3003
3006
  height: 30px;
3004
3007
  left: 10px;
3005
3008
  bottom: -50px;
3009
+ margin: 0 clamp(20px, 20px + (100vw - 375px) / 1545 * 90, 110px);
3006
3010
  user-select: none;
3007
3011
  pointer-events: none;
3008
3012
  transition: none;
package/dist/umd/index.js CHANGED
@@ -31021,7 +31021,7 @@ void main(void) {
31021
31021
  const Thread = () => {
31022
31022
  const messages = useLlm(state => state.messages);
31023
31023
  return /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
31024
- className: "llm__thread llm-container",
31024
+ className: "llm__thread",
31025
31025
  children: [messages.map((message, m) => /*#__PURE__*/jsxRuntimeExports.jsx("div", {
31026
31026
  className: getClassNames('llm__message', `llm__message--${message.role}`, 'llm-row'),
31027
31027
  children: message.chunks.map((chunk, c) => /*#__PURE__*/jsxRuntimeExports.jsx("div", {