@websolutespa/bom-llm 0.0.24 → 0.0.26

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,17 @@
1
1
  # @websolutespa/bom-llm
2
2
 
3
+ ## 0.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: Product Card & Product Card Group style
8
+
9
+ ## 0.0.25
10
+
11
+ ### Patch Changes
12
+
13
+ - f5d0129: Added: Product Card & Product Card Group
14
+
3
15
  ## 0.0.24
4
16
 
5
17
  ### Patch Changes
@@ -1056,8 +1056,8 @@ llm-embed {
1056
1056
  margin: 12px auto 0 auto;
1057
1057
  padding: 10px 20px;
1058
1058
  border-radius: 40px;
1059
- background: var(--llm-color-neutral-100);
1060
- color: var(--llm-color-base-100);
1059
+ background: var(--llm-trigger-cta-background);
1060
+ color: var(--llm-trigger-cta-foreground);
1061
1061
  font-weight: 800;
1062
1062
  font-size: inherit;
1063
1063
  }
@@ -2210,6 +2210,391 @@ llm-embed {
2210
2210
  z-index: 10000;
2211
2211
  }
2212
2212
 
2213
+ .llm .llm__gridrow {
2214
+ --grid-columns: var(--llm-grid-columns, 12);
2215
+ --grid-size: var(--llm-grid-size, 1fr);
2216
+ --grid-column-gap: var(--llm-grid-column-gap, 2rem);
2217
+ --grid-row-gap: var(--llm-grid-row-gap, 2rem);
2218
+ display: grid;
2219
+ grid-template-columns: repeat(var(--grid-columns), var(--grid-size));
2220
+ grid-column-gap: var(--grid-column-gap);
2221
+ grid-row-gap: var(--grid-row-gap);
2222
+ }
2223
+ .llm .llm__grid {
2224
+ --grid-column: var(--llm-grid-columns, 12);
2225
+ grid-column: span var(--grid-column);
2226
+ }
2227
+ .llm .llm__grid.--xs-1 {
2228
+ --grid-column: 1;
2229
+ }
2230
+ .llm .llm__grid.--xs-2 {
2231
+ --grid-column: 2;
2232
+ }
2233
+ .llm .llm__grid.--xs-3 {
2234
+ --grid-column: 3;
2235
+ }
2236
+ .llm .llm__grid.--xs-4 {
2237
+ --grid-column: 4;
2238
+ }
2239
+ @media (min-width: 768px) {
2240
+ .llm .llm__grid.--sm-1 {
2241
+ --grid-column: 1;
2242
+ }
2243
+ }
2244
+ @media (min-width: 768px) {
2245
+ .llm .llm__grid.--sm-2 {
2246
+ --grid-column: 2;
2247
+ }
2248
+ }
2249
+ @media (min-width: 768px) {
2250
+ .llm .llm__grid.--sm-3 {
2251
+ --grid-column: 3;
2252
+ }
2253
+ }
2254
+ @media (min-width: 768px) {
2255
+ .llm .llm__grid.--sm-4 {
2256
+ --grid-column: 4;
2257
+ }
2258
+ }
2259
+ @media (min-width: 1024px) {
2260
+ .llm .llm__grid.--md-1 {
2261
+ --grid-column: 1;
2262
+ }
2263
+ }
2264
+ @media (min-width: 1024px) {
2265
+ .llm .llm__grid.--md-2 {
2266
+ --grid-column: 2;
2267
+ }
2268
+ }
2269
+ @media (min-width: 1024px) {
2270
+ .llm .llm__grid.--md-3 {
2271
+ --grid-column: 3;
2272
+ }
2273
+ }
2274
+ @media (min-width: 1024px) {
2275
+ .llm .llm__grid.--md-4 {
2276
+ --grid-column: 4;
2277
+ }
2278
+ }
2279
+ @media (min-width: 1024px) {
2280
+ .llm .llm__grid.--md-5 {
2281
+ --grid-column: 5;
2282
+ }
2283
+ }
2284
+ @media (min-width: 1024px) {
2285
+ .llm .llm__grid.--md-6 {
2286
+ --grid-column: 6;
2287
+ }
2288
+ }
2289
+ @media (min-width: 1024px) {
2290
+ .llm .llm__grid.--md-7 {
2291
+ --grid-column: 7;
2292
+ }
2293
+ }
2294
+ @media (min-width: 1024px) {
2295
+ .llm .llm__grid.--md-8 {
2296
+ --grid-column: 8;
2297
+ }
2298
+ }
2299
+ @media (min-width: 1024px) {
2300
+ .llm .llm__grid.--md-9 {
2301
+ --grid-column: 9;
2302
+ }
2303
+ }
2304
+ @media (min-width: 1024px) {
2305
+ .llm .llm__grid.--md-10 {
2306
+ --grid-column: 10;
2307
+ }
2308
+ }
2309
+ @media (min-width: 1024px) {
2310
+ .llm .llm__grid.--md-11 {
2311
+ --grid-column: 11;
2312
+ }
2313
+ }
2314
+ @media (min-width: 1024px) {
2315
+ .llm .llm__grid.--md-12 {
2316
+ --grid-column: 12;
2317
+ }
2318
+ }
2319
+ @media (min-width: 1440px) {
2320
+ .llm .llm__grid.--lg-1 {
2321
+ --grid-column: 1;
2322
+ }
2323
+ }
2324
+ @media (min-width: 1440px) {
2325
+ .llm .llm__grid.--lg-2 {
2326
+ --grid-column: 2;
2327
+ }
2328
+ }
2329
+ @media (min-width: 1440px) {
2330
+ .llm .llm__grid.--lg-3 {
2331
+ --grid-column: 3;
2332
+ }
2333
+ }
2334
+ @media (min-width: 1440px) {
2335
+ .llm .llm__grid.--lg-4 {
2336
+ --grid-column: 4;
2337
+ }
2338
+ }
2339
+ @media (min-width: 1440px) {
2340
+ .llm .llm__grid.--lg-5 {
2341
+ --grid-column: 5;
2342
+ }
2343
+ }
2344
+ @media (min-width: 1440px) {
2345
+ .llm .llm__grid.--lg-6 {
2346
+ --grid-column: 6;
2347
+ }
2348
+ }
2349
+ @media (min-width: 1440px) {
2350
+ .llm .llm__grid.--lg-7 {
2351
+ --grid-column: 7;
2352
+ }
2353
+ }
2354
+ @media (min-width: 1440px) {
2355
+ .llm .llm__grid.--lg-8 {
2356
+ --grid-column: 8;
2357
+ }
2358
+ }
2359
+ @media (min-width: 1440px) {
2360
+ .llm .llm__grid.--lg-9 {
2361
+ --grid-column: 9;
2362
+ }
2363
+ }
2364
+ @media (min-width: 1440px) {
2365
+ .llm .llm__grid.--lg-10 {
2366
+ --grid-column: 10;
2367
+ }
2368
+ }
2369
+ @media (min-width: 1440px) {
2370
+ .llm .llm__grid.--lg-11 {
2371
+ --grid-column: 11;
2372
+ }
2373
+ }
2374
+ @media (min-width: 1440px) {
2375
+ .llm .llm__grid.--lg-12 {
2376
+ --grid-column: 12;
2377
+ }
2378
+ }
2379
+ @media (min-width: 1600px) {
2380
+ .llm .llm__grid.--xl-1 {
2381
+ --grid-column: 1;
2382
+ }
2383
+ }
2384
+ @media (min-width: 1600px) {
2385
+ .llm .llm__grid.--xl-2 {
2386
+ --grid-column: 2;
2387
+ }
2388
+ }
2389
+ @media (min-width: 1600px) {
2390
+ .llm .llm__grid.--xl-3 {
2391
+ --grid-column: 3;
2392
+ }
2393
+ }
2394
+ @media (min-width: 1600px) {
2395
+ .llm .llm__grid.--xl-4 {
2396
+ --grid-column: 4;
2397
+ }
2398
+ }
2399
+ @media (min-width: 1600px) {
2400
+ .llm .llm__grid.--xl-5 {
2401
+ --grid-column: 5;
2402
+ }
2403
+ }
2404
+ @media (min-width: 1600px) {
2405
+ .llm .llm__grid.--xl-6 {
2406
+ --grid-column: 6;
2407
+ }
2408
+ }
2409
+ @media (min-width: 1600px) {
2410
+ .llm .llm__grid.--xl-7 {
2411
+ --grid-column: 7;
2412
+ }
2413
+ }
2414
+ @media (min-width: 1600px) {
2415
+ .llm .llm__grid.--xl-8 {
2416
+ --grid-column: 8;
2417
+ }
2418
+ }
2419
+ @media (min-width: 1600px) {
2420
+ .llm .llm__grid.--xl-9 {
2421
+ --grid-column: 9;
2422
+ }
2423
+ }
2424
+ @media (min-width: 1600px) {
2425
+ .llm .llm__grid.--xl-10 {
2426
+ --grid-column: 10;
2427
+ }
2428
+ }
2429
+ @media (min-width: 1600px) {
2430
+ .llm .llm__grid.--xl-11 {
2431
+ --grid-column: 11;
2432
+ }
2433
+ }
2434
+ @media (min-width: 1600px) {
2435
+ .llm .llm__grid.--xl-12 {
2436
+ --grid-column: 12;
2437
+ }
2438
+ }
2439
+
2440
+ .llm .llm__product {
2441
+ position: relative;
2442
+ display: flex;
2443
+ flex-direction: column;
2444
+ justify-content: flex-end;
2445
+ border-radius: 0.6rem;
2446
+ border: 1px solid var(--llm-product-border);
2447
+ background: var(--llm-product-background);
2448
+ color: var(--llm-product-foreground);
2449
+ overflow: hidden;
2450
+ font-weight: 100;
2451
+ }
2452
+ .llm .llm__product-media {
2453
+ position: relative;
2454
+ padding: 1rem;
2455
+ }
2456
+ .llm .llm__product-asset {
2457
+ display: flex;
2458
+ justify-content: center;
2459
+ align-items: center;
2460
+ aspect-ratio: var(--llm-product-aspect-ratio);
2461
+ overflow: hidden;
2462
+ background: var(--llm-color-neutral-200);
2463
+ }
2464
+ .llm .llm__product-asset > img {
2465
+ width: 100%;
2466
+ height: 100%;
2467
+ object-fit: cover;
2468
+ background: var(--llm-color-neutral-200);
2469
+ }
2470
+ .llm .llm__product-content {
2471
+ position: relative;
2472
+ display: flex;
2473
+ flex-direction: column;
2474
+ padding: 1rem;
2475
+ row-gap: 0.5em;
2476
+ height: 100%;
2477
+ }
2478
+ .llm .llm__product-label {
2479
+ font-size: 0.8rem;
2480
+ line-height: 1.25;
2481
+ position: absolute;
2482
+ top: 1rem;
2483
+ left: 1rem;
2484
+ padding: 0.4rem 0.8rem;
2485
+ border-radius: 0.5rem;
2486
+ letter-spacing: 0.05rem;
2487
+ font-weight: 400;
2488
+ background: var(--llm-product-label-background);
2489
+ color: var(--llm-product-label-foreground);
2490
+ }
2491
+ .llm .llm__product-sku {
2492
+ line-height: 1;
2493
+ font-family: var(--llm-font-primary);
2494
+ font-weight: var(--llm-typography-label1-font-weight);
2495
+ line-height: var(--llm-typography-label1-line-height);
2496
+ letter-spacing: var(--llm-typography-label1-letter-spacing);
2497
+ 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);
2498
+ font-weight: 700;
2499
+ }
2500
+ .llm .llm__product-grow {
2501
+ flex-grow: 1;
2502
+ }
2503
+ .llm .llm__product-title {
2504
+ line-height: 1;
2505
+ font-family: var(--llm-font-primary);
2506
+ font-weight: var(--llm-typography-body4-font-weight);
2507
+ line-height: var(--llm-typography-body4-line-height);
2508
+ letter-spacing: var(--llm-typography-body4-letter-spacing);
2509
+ font-size: clamp(var(--llm-typography-body4-font-size-min) * 1px, var(--llm-typography-body4-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-body4-font-size-max) - var(--llm-typography-body4-font-size-min)), var(--llm-typography-body4-font-size-max) * 1px);
2510
+ font-weight: 100;
2511
+ overflow: hidden;
2512
+ text-overflow: ellipsis;
2513
+ display: -webkit-box;
2514
+ -webkit-line-clamp: 2;
2515
+ -webkit-box-orient: vertical;
2516
+ }
2517
+ .llm .llm__product-title:hover {
2518
+ text-decoration: underline;
2519
+ }
2520
+ .llm .llm__product-abstract {
2521
+ line-height: 1;
2522
+ font-family: var(--llm-font-secondary);
2523
+ font-weight: var(--llm-typography-body5-font-weight);
2524
+ line-height: var(--llm-typography-body5-line-height);
2525
+ letter-spacing: var(--llm-typography-body5-letter-spacing);
2526
+ font-size: clamp(var(--llm-typography-body5-font-size-min) * 1px, var(--llm-typography-body5-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-body5-font-size-max) - var(--llm-typography-body5-font-size-min)), var(--llm-typography-body5-font-size-max) * 1px);
2527
+ font-weight: 100;
2528
+ overflow: hidden;
2529
+ text-overflow: ellipsis;
2530
+ display: -webkit-box;
2531
+ -webkit-line-clamp: 2;
2532
+ -webkit-box-orient: vertical;
2533
+ }
2534
+ .llm .llm__product-prices {
2535
+ display: flex;
2536
+ column-gap: 1em;
2537
+ }
2538
+ .llm .llm__product-price {
2539
+ line-height: 1;
2540
+ font-family: var(--llm-font-primary);
2541
+ font-weight: var(--llm-typography-label1-font-weight);
2542
+ line-height: var(--llm-typography-label1-line-height);
2543
+ letter-spacing: var(--llm-typography-label1-letter-spacing);
2544
+ 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);
2545
+ font-weight: 400;
2546
+ }
2547
+ .llm .llm__product-fullprice {
2548
+ line-height: 1;
2549
+ font-family: var(--llm-font-primary);
2550
+ font-weight: var(--llm-typography-label1-font-weight);
2551
+ line-height: var(--llm-typography-label1-line-height);
2552
+ letter-spacing: var(--llm-typography-label1-letter-spacing);
2553
+ 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);
2554
+ text-decoration: line-through;
2555
+ opacity: 0.5;
2556
+ }
2557
+ .llm .llm__product-available {
2558
+ color: var(--llm-product-available);
2559
+ }
2560
+ .llm .llm__product-soldout {
2561
+ color: var(--llm-product-soldout);
2562
+ }
2563
+ .llm .llm__product-ctas {
2564
+ display: flex;
2565
+ justify-content: center;
2566
+ gap: clamp(24px, 24px + (100vw - 375px) / 1545 * 8, 32px);
2567
+ padding-top: clamp(8px, 8px + (100vw - 375px) / 1545 * 8, 16px);
2568
+ margin-top: auto;
2569
+ }
2570
+ .llm .llm__product-cta {
2571
+ display: flex;
2572
+ align-items: center;
2573
+ gap: 0.5em;
2574
+ margin: 0 auto;
2575
+ line-height: 1;
2576
+ font-family: var(--llm-font-primary);
2577
+ font-weight: var(--llm-typography-body4-font-weight);
2578
+ line-height: var(--llm-typography-body4-line-height);
2579
+ letter-spacing: var(--llm-typography-body4-letter-spacing);
2580
+ font-size: clamp(var(--llm-typography-body4-font-size-min) * 1px, var(--llm-typography-body4-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-body4-font-size-max) - var(--llm-typography-body4-font-size-min)), var(--llm-typography-body4-font-size-max) * 1px);
2581
+ font-weight: 700;
2582
+ }
2583
+ .llm .llm__product-cta svg {
2584
+ fill: currentColor;
2585
+ width: 24px;
2586
+ height: 24px;
2587
+ }
2588
+
2589
+ .llm .llm__products {
2590
+ width: 100%;
2591
+ max-width: 1440px;
2592
+ margin: 3rem auto;
2593
+ }
2594
+ .llm .llm__product {
2595
+ height: 100%;
2596
+ }
2597
+
2213
2598
  .llm .llm__event-inner {
2214
2599
  border-radius: 5px;
2215
2600
  background: rgba(0, 60, 140, 0.8);
@@ -2700,7 +3085,6 @@ llm-embed {
2700
3085
  margin-bottom: 20vh;
2701
3086
  }
2702
3087
  .llm .llm__inner {
2703
- width: 100%;
2704
3088
  margin: 0 clamp(20px, 20px + (100vw - 375px) / 1545 * 90, 110px);
2705
3089
  }
2706
3090
  .llm .llm__inner--cardGroup {