@websolutespa/bom-llm 0.0.32 → 0.0.33

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.33
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: ProductCard style
8
+
3
9
  ## 0.0.32
4
10
 
5
11
  ### Patch Changes
@@ -2807,7 +2807,6 @@ llm-embed {
2807
2807
  background: var(--llm-product-background);
2808
2808
  color: var(--llm-product-foreground);
2809
2809
  overflow: hidden;
2810
- font-weight: 100;
2811
2810
  }
2812
2811
  .llm .llm__product:hover .llm__product-title {
2813
2812
  text-decoration: underline;
@@ -2847,7 +2846,7 @@ llm-embed {
2847
2846
  padding: 0.4rem 0.8rem;
2848
2847
  border-radius: 0.5rem;
2849
2848
  letter-spacing: 0.05rem;
2850
- font-weight: 400;
2849
+ font-weight: 600;
2851
2850
  background: var(--llm-product-label-background);
2852
2851
  color: var(--llm-product-label-foreground);
2853
2852
  }
@@ -2902,7 +2901,7 @@ llm-embed {
2902
2901
  line-height: var(--llm-typography-label1-line-height);
2903
2902
  letter-spacing: var(--llm-typography-label1-letter-spacing);
2904
2903
  font-size: clamp(var(--llm-typography-label1-font-size-min) * 1px, var(--llm-typography-label1-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-label1-font-size-max) - var(--llm-typography-label1-font-size-min)), var(--llm-typography-label1-font-size-max) * 1px);
2905
- font-weight: 400;
2904
+ font-weight: 700;
2906
2905
  }
2907
2906
  .llm .llm__product-fullprice {
2908
2907
  line-height: 1;
@@ -2911,14 +2910,17 @@ llm-embed {
2911
2910
  line-height: var(--llm-typography-label1-line-height);
2912
2911
  letter-spacing: var(--llm-typography-label1-letter-spacing);
2913
2912
  font-size: clamp(var(--llm-typography-label1-font-size-min) * 1px, var(--llm-typography-label1-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-label1-font-size-max) - var(--llm-typography-label1-font-size-min)), var(--llm-typography-label1-font-size-max) * 1px);
2913
+ font-weight: 400;
2914
2914
  text-decoration: line-through;
2915
2915
  opacity: 0.5;
2916
2916
  }
2917
2917
  .llm .llm__product-available {
2918
2918
  color: var(--llm-product-available);
2919
+ font-weight: 400;
2919
2920
  }
2920
2921
  .llm .llm__product-soldout {
2921
2922
  color: var(--llm-product-soldout);
2923
+ font-weight: 400;
2922
2924
  }
2923
2925
  .llm .llm__product-ctas {
2924
2926
  display: flex;
package/dist/umd/index.js CHANGED
@@ -19344,7 +19344,7 @@ ${Object.entries(vars).map(_ref2 => {
19344
19344
  let chunks = [];
19345
19345
  let didError = false;
19346
19346
  try {
19347
- // console.log('textToChunks.text', text);
19347
+ console.log('textToChunks.text', '\n', text, '\n');
19348
19348
  if (text.match(/(",|},|],)$/)) {
19349
19349
  const textToReplace = textToChunksLastUnparsed.text + text;
19350
19350
  const replacedText = textToReplace.replace(/(,$)/, '');
@@ -21102,11 +21102,13 @@ void main(void) {
21102
21102
  let {
21103
21103
  children
21104
21104
  } = _ref2;
21105
+ const app = useLlm(state => state.app);
21105
21106
  const theme = useLlm(state => state.theme);
21106
21107
  const canvasRef = reactExports.useRef();
21107
21108
  const shaderRef = reactExports.useRef();
21108
21109
  reactExports.useEffect(() => {
21109
- if (canvasRef.current == null && theme.canvas.enabled && isBrowser$1) {
21110
+ if (app && theme.canvas.enabled && isBrowser$1 && canvasRef.current == null) {
21111
+ console.log('CanvasOffscreenProvider', 'theme.canvas.enabled', theme.canvas.enabled);
21110
21112
  if (!sharedCanvas) {
21111
21113
  const pixelRatio = window.devicePixelRatio;
21112
21114
  sharedCanvas = document.createElement('canvas');