@magicx-eng/ai-autocomplete-react 0.59.1 → 0.59.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/README.md +2 -2
- package/REFERENCE.md +13 -13
- package/dist/index.js +102 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -102
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -624,7 +624,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
624
624
|
--aia-scrollbar-track: rgba(15, 23, 42, 0.05);
|
|
625
625
|
--aia-scrollbar-thumb: rgba(15, 23, 42, 0.22);
|
|
626
626
|
--aia-option-color-selected: var(--aia-primitive-neutral-0);
|
|
627
|
-
--aia-option-font-size:
|
|
627
|
+
--aia-option-font-size: 16px;
|
|
628
628
|
|
|
629
629
|
--aia-written-text-color: var(--aia-primitive-neutral-0);
|
|
630
630
|
/* The typed query keeps its full size; only the options box below it is
|
|
@@ -699,7 +699,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
699
699
|
--aia-scrollbar-track: rgba(255, 255, 255, 0.08);
|
|
700
700
|
--aia-scrollbar-thumb: rgba(255, 255, 255, 0.28);
|
|
701
701
|
--aia-option-color-selected: var(--aia-primitive-neutral-1000);
|
|
702
|
-
--aia-option-font-size:
|
|
702
|
+
--aia-option-font-size: 16px;
|
|
703
703
|
|
|
704
704
|
--aia-written-text-color: var(--aia-primitive-neutral-1000);
|
|
705
705
|
--aia-written-text-font-size: 16px;
|
|
@@ -786,7 +786,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
786
786
|
justify-content: flex-start;
|
|
787
787
|
border-inline-width: 0;
|
|
788
788
|
padding-inline: 0;
|
|
789
|
-
padding-block:
|
|
789
|
+
padding-block: 5px;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
/* The reserved band the footer overlaps. Declared here, apart from the grid
|
|
@@ -1015,7 +1015,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
1015
1015
|
the third row. The planned cap (--aia-grid-max-height) still wins when it
|
|
1016
1016
|
is smaller: fewer than three rows of options. */
|
|
1017
1017
|
[data-aia-dropdown][aria-multiselectable="true"] .aia-grid[data-scroll] {
|
|
1018
|
-
max-height: min(var(--aia-grid-max-height,
|
|
1018
|
+
max-height: min(var(--aia-grid-max-height, 120px), calc(3 * var(--aia-option-row-height, 37px)));
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
/* Fitted to the viewport, every other grid hands its scrolling to the panel,
|
|
@@ -1024,8 +1024,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
1024
1024
|
so Done stays in view. */
|
|
1025
1025
|
[data-aia-dropdown][data-aia-fit][aria-multiselectable="true"] .aia-grid[data-scroll] {
|
|
1026
1026
|
flex-shrink: 1;
|
|
1027
|
-
min-height: var(--aia-option-row-height,
|
|
1028
|
-
max-height: min(var(--aia-grid-max-height,
|
|
1027
|
+
min-height: var(--aia-option-row-height, 37px);
|
|
1028
|
+
max-height: min(var(--aia-grid-max-height, 120px), calc(3 * var(--aia-option-row-height, 37px)));
|
|
1029
1029
|
overflow-y: auto;
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
@@ -1068,7 +1068,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
1068
1068
|
[data-aia-dropdown] [data-aia-pillbar] [data-aia-pill][data-aia-pill-active] {
|
|
1069
1069
|
text-transform: none;
|
|
1070
1070
|
letter-spacing: normal;
|
|
1071
|
-
font-size: var(--aia-param-label-font-size,
|
|
1071
|
+
font-size: var(--aia-param-label-font-size, 17px);
|
|
1072
1072
|
font-weight: 500;
|
|
1073
1073
|
opacity: 1;
|
|
1074
1074
|
}
|
|
@@ -1087,17 +1087,17 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
1087
1087
|
text-transform: uppercase;
|
|
1088
1088
|
}
|
|
1089
1089
|
[data-aia-dropdown] [data-aia-pillbar] [data-aia-skip] {
|
|
1090
|
-
padding-inline:
|
|
1091
|
-
font-size: var(--aia-skip-font-size,
|
|
1090
|
+
padding-inline: 8px;
|
|
1091
|
+
font-size: var(--aia-skip-font-size, 13.5px);
|
|
1092
1092
|
}
|
|
1093
|
-
/* Roomier rows:
|
|
1093
|
+
/* Roomier rows: 15px above and below each option instead of 8px. The
|
|
1094
1094
|
row height feeds the visible-rows cap (planOptionsGrid), so it moves with
|
|
1095
1095
|
the padding; picture and parameter-line rows add the same padding to their
|
|
1096
1096
|
own heights. Tokens on the themed root at zero specificity, like the rest,
|
|
1097
1097
|
so a consumer's value wins and the classic block below can restore its own. */
|
|
1098
1098
|
:where(.magicx-aia) {
|
|
1099
|
-
--aia-option-padding-block:
|
|
1100
|
-
--aia-option-row-height: calc(
|
|
1099
|
+
--aia-option-padding-block: 15px;
|
|
1100
|
+
--aia-option-row-height: calc(21px + 2 * var(--aia-option-padding-block));
|
|
1101
1101
|
}
|
|
1102
1102
|
/* The panel hugs its options (panelHugWidth): as wide as the widest option
|
|
1103
1103
|
times the columns, plus the panel's padding and 36px of breathing room,
|
|
@@ -1497,15 +1497,15 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
1497
1497
|
align-items: center;
|
|
1498
1498
|
margin-inline-start: auto;
|
|
1499
1499
|
flex-shrink: 0;
|
|
1500
|
-
padding:
|
|
1500
|
+
padding: 5px 8px;
|
|
1501
1501
|
border: none;
|
|
1502
1502
|
/* Matches the completed-param chip radius, so the hover fill reads as a
|
|
1503
1503
|
soft rectangle rather than a capsule. */
|
|
1504
|
-
border-radius:
|
|
1504
|
+
border-radius: 6px;
|
|
1505
1505
|
background: transparent;
|
|
1506
1506
|
font-family: inherit;
|
|
1507
|
-
font-size: var(--aia-skip-font-size,
|
|
1508
|
-
line-height:
|
|
1507
|
+
font-size: var(--aia-skip-font-size, 13.5px);
|
|
1508
|
+
line-height: 18px;
|
|
1509
1509
|
color: var(--aia-skip-color, var(--aia-footer-hint-color, #505050));
|
|
1510
1510
|
cursor: pointer;
|
|
1511
1511
|
white-space: nowrap;
|
|
@@ -2423,7 +2423,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2423
2423
|
.aia-section-Hugfg {
|
|
2424
2424
|
display: flex;
|
|
2425
2425
|
flex-direction: column;
|
|
2426
|
-
gap:
|
|
2426
|
+
gap: 6px;
|
|
2427
2427
|
/* The option text sits 10px inside the dropdown's padding edge (the
|
|
2428
2428
|
option's own padding), so the section carries the same 10px and its
|
|
2429
2429
|
label lands on the option text's left edge \u2014 which the dropdown in turn
|
|
@@ -2434,9 +2434,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2434
2434
|
|
|
2435
2435
|
.aia-label-nuc93 {
|
|
2436
2436
|
font-family: inherit;
|
|
2437
|
-
font-size: var(--aia-products-label-font-size,
|
|
2437
|
+
font-size: var(--aia-products-label-font-size, 11px);
|
|
2438
2438
|
font-weight: 500;
|
|
2439
|
-
line-height:
|
|
2439
|
+
line-height: 18px;
|
|
2440
2440
|
letter-spacing: 0.02em;
|
|
2441
2441
|
color: var(
|
|
2442
2442
|
--aia-products-label-color,
|
|
@@ -2450,16 +2450,16 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2450
2450
|
a trackpad fling at either end from chaining out to the page. */
|
|
2451
2451
|
.aia-row-WDVBX {
|
|
2452
2452
|
display: flex;
|
|
2453
|
-
gap: var(--aia-product-gap,
|
|
2453
|
+
gap: var(--aia-product-gap, 8px);
|
|
2454
2454
|
min-width: 0;
|
|
2455
2455
|
overflow-x: auto;
|
|
2456
2456
|
overflow-y: hidden;
|
|
2457
2457
|
overscroll-behavior-x: contain;
|
|
2458
|
-
padding-bottom:
|
|
2458
|
+
padding-bottom: 2px;
|
|
2459
2459
|
/* Pull the row out by the card's own 6px padding so the first card's
|
|
2460
2460
|
image tile \u2014 not its hover fill \u2014 starts on the label's left edge, the
|
|
2461
2461
|
same way the option's highlight fill hangs outside its text. */
|
|
2462
|
-
margin-inline: -
|
|
2462
|
+
margin-inline: -6px;
|
|
2463
2463
|
/* Hide the scrollbar chrome across all three engines while leaving the box
|
|
2464
2464
|
scrollable by trackpad, touch and keyboard. A mouse wheel is vertical and
|
|
2465
2465
|
would otherwise have no way through a row with no scrollbar to grab, so
|
|
@@ -2477,10 +2477,10 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2477
2477
|
flex: 0 0 auto;
|
|
2478
2478
|
display: flex;
|
|
2479
2479
|
flex-direction: column;
|
|
2480
|
-
gap:
|
|
2481
|
-
width: var(--aia-product-card-width,
|
|
2482
|
-
padding:
|
|
2483
|
-
border-radius:
|
|
2480
|
+
gap: 6px;
|
|
2481
|
+
width: var(--aia-product-card-width, 116px);
|
|
2482
|
+
padding: 6px;
|
|
2483
|
+
border-radius: 10px;
|
|
2484
2484
|
background: var(--aia-product-bg, transparent);
|
|
2485
2485
|
/* Explicit, never inherited \u2014 see the file header. */
|
|
2486
2486
|
color: var(--aia-option-color, var(--aia-color-text-muted, #c1c4cb));
|
|
@@ -2513,7 +2513,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2513
2513
|
position: relative;
|
|
2514
2514
|
width: 100%;
|
|
2515
2515
|
aspect-ratio: 1 / 1;
|
|
2516
|
-
border-radius:
|
|
2516
|
+
border-radius: 8px;
|
|
2517
2517
|
overflow: hidden;
|
|
2518
2518
|
background: var(--aia-product-media-bg, var(--aia-skeleton-bg, rgba(189, 189, 189, 0.25)));
|
|
2519
2519
|
}
|
|
@@ -2538,7 +2538,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2538
2538
|
max-width: 100%;
|
|
2539
2539
|
height: 100%;
|
|
2540
2540
|
margin: 0 auto;
|
|
2541
|
-
border-radius: var(--aia-product-image-radius,
|
|
2541
|
+
border-radius: var(--aia-product-image-radius, 8px);
|
|
2542
2542
|
object-fit: contain;
|
|
2543
2543
|
}
|
|
2544
2544
|
|
|
@@ -2551,7 +2551,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2551
2551
|
align-items: center;
|
|
2552
2552
|
justify-content: center;
|
|
2553
2553
|
color: var(--aia-product-title-color, var(--aia-option-color-selected, currentColor));
|
|
2554
|
-
font-size:
|
|
2554
|
+
font-size: 24px;
|
|
2555
2555
|
font-weight: 600;
|
|
2556
2556
|
line-height: 1;
|
|
2557
2557
|
}
|
|
@@ -2574,14 +2574,14 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2574
2574
|
.aia-body-ly032 {
|
|
2575
2575
|
display: flex;
|
|
2576
2576
|
flex-direction: column;
|
|
2577
|
-
gap:
|
|
2577
|
+
gap: 2px;
|
|
2578
2578
|
min-width: 0;
|
|
2579
2579
|
}
|
|
2580
2580
|
|
|
2581
2581
|
.aia-vendor-Gvu7G {
|
|
2582
2582
|
font-family: inherit;
|
|
2583
|
-
font-size: var(--aia-product-vendor-font-size,
|
|
2584
|
-
line-height:
|
|
2583
|
+
font-size: var(--aia-product-vendor-font-size, 10px);
|
|
2584
|
+
line-height: 14px;
|
|
2585
2585
|
color: var(
|
|
2586
2586
|
--aia-product-vendor-color,
|
|
2587
2587
|
var(--aia-option-color, var(--aia-color-text-muted, #c1c4cb))
|
|
@@ -2595,9 +2595,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2595
2595
|
|
|
2596
2596
|
.aia-title-gCNmq {
|
|
2597
2597
|
font-family: inherit;
|
|
2598
|
-
font-size: var(--aia-product-title-font-size,
|
|
2598
|
+
font-size: var(--aia-product-title-font-size, 12px);
|
|
2599
2599
|
font-weight: 400;
|
|
2600
|
-
line-height:
|
|
2600
|
+
line-height: 16px;
|
|
2601
2601
|
/* The card's most prominent text uses the same token the *highlighted*
|
|
2602
2602
|
option text does, so it stays legible on any --aia-surface a consumer
|
|
2603
2603
|
sets \u2014 light or dark \u2014 without a second theming control. */
|
|
@@ -2614,9 +2614,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2614
2614
|
|
|
2615
2615
|
.aia-price-gULcE {
|
|
2616
2616
|
font-family: inherit;
|
|
2617
|
-
font-size: var(--aia-product-price-font-size,
|
|
2617
|
+
font-size: var(--aia-product-price-font-size, 11px);
|
|
2618
2618
|
font-weight: 500;
|
|
2619
|
-
line-height:
|
|
2619
|
+
line-height: 15px;
|
|
2620
2620
|
color: var(
|
|
2621
2621
|
--aia-product-price-color,
|
|
2622
2622
|
var(--aia-option-color-selected, var(--aia-color-text-default, #fff))
|
|
@@ -2627,7 +2627,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2627
2627
|
display: flex;
|
|
2628
2628
|
flex-wrap: wrap;
|
|
2629
2629
|
align-items: baseline;
|
|
2630
|
-
column-gap:
|
|
2630
|
+
column-gap: 4px;
|
|
2631
2631
|
}
|
|
2632
2632
|
|
|
2633
2633
|
/* The price before a markdown, struck through after the price, on the same
|
|
@@ -2645,10 +2645,10 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2645
2645
|
reads on any photo, light or dark, and on either panel surface. */
|
|
2646
2646
|
.aia-badge-j9Hcd {
|
|
2647
2647
|
position: absolute;
|
|
2648
|
-
top: var(--aia-product-badge-inset,
|
|
2649
|
-
left: var(--aia-product-badge-inset,
|
|
2650
|
-
padding:
|
|
2651
|
-
border-radius:
|
|
2648
|
+
top: var(--aia-product-badge-inset, 12px);
|
|
2649
|
+
left: var(--aia-product-badge-inset, 12px);
|
|
2650
|
+
padding: 3px 6px;
|
|
2651
|
+
border-radius: 4px;
|
|
2652
2652
|
background: var(--aia-product-badge-bg, rgba(255, 255, 255, 0.94));
|
|
2653
2653
|
color: var(--aia-product-badge-color, #1f2328);
|
|
2654
2654
|
/* A hairline ring keeps the chip's edge on a pale image or a light panel. */
|
|
@@ -2656,7 +2656,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2656
2656
|
0 0 0 1px rgba(0, 0, 0, 0.08),
|
|
2657
2657
|
0 1px 2px rgba(0, 0, 0, 0.18);
|
|
2658
2658
|
font-family: inherit;
|
|
2659
|
-
font-size: var(--aia-product-badge-font-size,
|
|
2659
|
+
font-size: var(--aia-product-badge-font-size, 9px);
|
|
2660
2660
|
font-weight: 600;
|
|
2661
2661
|
line-height: 1;
|
|
2662
2662
|
letter-spacing: 0.08em;
|
|
@@ -2678,24 +2678,24 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2678
2678
|
fill the square (--aia-product-photo-fill-x / -y, set on the card when
|
|
2679
2679
|
the photo loads; 1, the tile's own corner, until then). */
|
|
2680
2680
|
top: calc(
|
|
2681
|
-
var(--aia-product-card-width,
|
|
2682
|
-
|
|
2683
|
-
var(--aia-product-cart-size,
|
|
2684
|
-
(var(--aia-product-card-width,
|
|
2681
|
+
var(--aia-product-card-width, 116px) -
|
|
2682
|
+
12px -
|
|
2683
|
+
var(--aia-product-cart-size, 28px) -
|
|
2684
|
+
(var(--aia-product-card-width, 116px) - 12px) *
|
|
2685
2685
|
(1 - var(--aia-product-photo-fill-y, 1)) /
|
|
2686
2686
|
2
|
|
2687
2687
|
);
|
|
2688
2688
|
right: calc(
|
|
2689
|
-
|
|
2690
|
-
(var(--aia-product-card-width,
|
|
2689
|
+
12px +
|
|
2690
|
+
(var(--aia-product-card-width, 116px) - 12px) *
|
|
2691
2691
|
(1 - var(--aia-product-photo-fill-x, 1)) /
|
|
2692
2692
|
2
|
|
2693
2693
|
);
|
|
2694
2694
|
display: flex;
|
|
2695
2695
|
align-items: center;
|
|
2696
2696
|
justify-content: center;
|
|
2697
|
-
width: var(--aia-product-cart-size,
|
|
2698
|
-
height: var(--aia-product-cart-size,
|
|
2697
|
+
width: var(--aia-product-cart-size, 28px);
|
|
2698
|
+
height: var(--aia-product-cart-size, 28px);
|
|
2699
2699
|
border-radius: 999px;
|
|
2700
2700
|
background: var(--aia-product-cart-bg, rgba(255, 255, 255, 0.94));
|
|
2701
2701
|
color: var(--aia-product-cart-color, #1f2328);
|
|
@@ -2719,8 +2719,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2719
2719
|
|
|
2720
2720
|
.aia-cart-kSlqU svg {
|
|
2721
2721
|
display: block;
|
|
2722
|
-
width:
|
|
2723
|
-
height:
|
|
2722
|
+
width: 16px;
|
|
2723
|
+
height: 16px;
|
|
2724
2724
|
fill: none;
|
|
2725
2725
|
stroke: currentColor;
|
|
2726
2726
|
stroke-width: 2;
|
|
@@ -2803,8 +2803,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2803
2803
|
occurrence, and these selectors contain the base selectors. */
|
|
2804
2804
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-row-WDVBX {
|
|
2805
2805
|
flex-direction: column;
|
|
2806
|
-
gap: var(--aia-product-list-gap,
|
|
2807
|
-
max-height: var(--aia-product-list-max-height,
|
|
2806
|
+
gap: var(--aia-product-list-gap, 2px);
|
|
2807
|
+
max-height: var(--aia-product-list-max-height, 320px);
|
|
2808
2808
|
overflow-x: hidden;
|
|
2809
2809
|
overflow-y: auto;
|
|
2810
2810
|
overscroll-behavior-y: contain;
|
|
@@ -2813,17 +2813,17 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2813
2813
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-card-JBGYT {
|
|
2814
2814
|
flex-direction: row;
|
|
2815
2815
|
align-items: center;
|
|
2816
|
-
gap:
|
|
2816
|
+
gap: 10px;
|
|
2817
2817
|
width: auto;
|
|
2818
|
-
padding:
|
|
2818
|
+
padding: 6px 8px;
|
|
2819
2819
|
}
|
|
2820
2820
|
|
|
2821
2821
|
/* A fixed square thumbnail: width and height together, so the row's height
|
|
2822
2822
|
is the tile's, not the card width's. */
|
|
2823
2823
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-media-RrbGe {
|
|
2824
2824
|
flex: 0 0 auto;
|
|
2825
|
-
width: var(--aia-product-list-media-size,
|
|
2826
|
-
height: var(--aia-product-list-media-size,
|
|
2825
|
+
width: var(--aia-product-list-media-size, 44px);
|
|
2826
|
+
height: var(--aia-product-list-media-size, 44px);
|
|
2827
2827
|
}
|
|
2828
2828
|
|
|
2829
2829
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-body-ly032 {
|
|
@@ -2835,18 +2835,18 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2835
2835
|
match, so its bottom edge is half a thumbnail below the card's centre; its
|
|
2836
2836
|
left edge is the card's 8px inline padding. */
|
|
2837
2837
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-badge-j9Hcd {
|
|
2838
|
-
top: calc(50% + var(--aia-product-list-media-size,
|
|
2839
|
-
left:
|
|
2840
|
-
width: var(--aia-product-list-media-size,
|
|
2838
|
+
top: calc(50% + var(--aia-product-list-media-size, 44px) / 2);
|
|
2839
|
+
left: 8px;
|
|
2840
|
+
width: var(--aia-product-list-media-size, 44px);
|
|
2841
2841
|
transform: translateY(-100%);
|
|
2842
|
-
padding:
|
|
2843
|
-
border-radius: 0 0
|
|
2842
|
+
padding: 2px 0;
|
|
2843
|
+
border-radius: 0 0 8px 8px;
|
|
2844
2844
|
/* A dark scrim rather than the light chip: a light banner at a tile's edge
|
|
2845
2845
|
merges with a light panel and reads as a cropped photo. */
|
|
2846
2846
|
background: var(--aia-product-badge-list-bg, rgba(17, 17, 17, 0.72));
|
|
2847
2847
|
color: var(--aia-product-badge-list-color, #fff);
|
|
2848
2848
|
box-shadow: none;
|
|
2849
|
-
font-size: var(--aia-product-badge-list-font-size,
|
|
2849
|
+
font-size: var(--aia-product-badge-list-font-size, 7px);
|
|
2850
2850
|
letter-spacing: 0.02em;
|
|
2851
2851
|
text-align: center;
|
|
2852
2852
|
}
|
|
@@ -2855,7 +2855,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2855
2855
|
column stops short of it. */
|
|
2856
2856
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-cart-kSlqU {
|
|
2857
2857
|
top: 50%;
|
|
2858
|
-
right:
|
|
2858
|
+
right: 8px;
|
|
2859
2859
|
transform: translateY(-50%);
|
|
2860
2860
|
}
|
|
2861
2861
|
|
|
@@ -2864,7 +2864,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
2866
|
.aia-section-Hugfg[data-aia-products-layout="list"] .aia-card-JBGYT[data-aia-product-has-cart] {
|
|
2867
|
-
padding-right: calc(var(--aia-product-cart-size,
|
|
2867
|
+
padding-right: calc(var(--aia-product-cart-size, 28px) + 16px);
|
|
2868
2868
|
}
|
|
2869
2869
|
|
|
2870
2870
|
/* Classic options box (optionsStyle: "classic"): the panel as it was
|
|
@@ -3031,7 +3031,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3031
3031
|
/* The scroll box's reserved band (--aia-grid-scroll-* / --aia-grid-overlap-*)
|
|
3032
3032
|
is deliberately NOT declared here \u2014 see the rule in
|
|
3033
3033
|
appearance.css for why. */
|
|
3034
|
-
max-height: var(--aia-grid-max-height,
|
|
3034
|
+
max-height: var(--aia-grid-max-height, 120px);
|
|
3035
3035
|
overflow-y: auto;
|
|
3036
3036
|
overscroll-behavior: contain;
|
|
3037
3037
|
scrollbar-width: none;
|
|
@@ -3065,16 +3065,16 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3065
3065
|
the same baseline at the top edge of the cell. */
|
|
3066
3066
|
align-items: flex-start;
|
|
3067
3067
|
font-family: inherit;
|
|
3068
|
-
font-size: var(--aia-option-font-size,
|
|
3068
|
+
font-size: var(--aia-option-font-size, 16px);
|
|
3069
3069
|
font-weight: 450;
|
|
3070
|
-
line-height:
|
|
3070
|
+
line-height: 21px;
|
|
3071
3071
|
color: var(--aia-option-color, var(--aia-color-text-muted, #c1c4cb));
|
|
3072
3072
|
white-space: normal;
|
|
3073
3073
|
word-break: break-word;
|
|
3074
|
-
/*
|
|
3075
|
-
SuggestionItem selection
|
|
3076
|
-
border-radius:
|
|
3077
|
-
padding: var(--aia-option-padding-block,
|
|
3074
|
+
/* 8px radius on the highlighted fill (--aia-option-bg), matching the Figma
|
|
3075
|
+
SuggestionItem selection. The 8px/10px inset is the item's own padding. */
|
|
3076
|
+
border-radius: 8px;
|
|
3077
|
+
padding: var(--aia-option-padding-block, 8px) 10px;
|
|
3078
3078
|
/* No entrance animation on the row itself \u2014 deliberately. The row is the
|
|
3079
3079
|
tappable element, and iOS Safari drops a tap on a scripted-clickable
|
|
3080
3080
|
element (a div with a click handler; a native button is exempt) whose
|
|
@@ -3160,8 +3160,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
3162
|
.aia-tag-e3Fwe {
|
|
3163
|
-
font-size:
|
|
3164
|
-
margin-left:
|
|
3163
|
+
font-size: 11px;
|
|
3164
|
+
margin-left: 6px;
|
|
3165
3165
|
opacity: 0.5;
|
|
3166
3166
|
}
|
|
3167
3167
|
|
|
@@ -3233,9 +3233,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3233
3233
|
text box, so a hanging indent never moves it. */
|
|
3234
3234
|
.aia-parameter-Dt2zF {
|
|
3235
3235
|
display: block;
|
|
3236
|
-
font-size: var(--aia-option-parameter-font-size,
|
|
3236
|
+
font-size: var(--aia-option-parameter-font-size, 12px);
|
|
3237
3237
|
font-weight: 400;
|
|
3238
|
-
line-height:
|
|
3238
|
+
line-height: 16px;
|
|
3239
3239
|
text-indent: 0;
|
|
3240
3240
|
color: var(--aia-option-parameter-color, inherit);
|
|
3241
3241
|
opacity: var(--aia-option-parameter-opacity, 0.6);
|
|
@@ -3255,8 +3255,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3255
3255
|
.aia-icon-Qw938 {
|
|
3256
3256
|
display: inline-flex;
|
|
3257
3257
|
align-items: center;
|
|
3258
|
-
height:
|
|
3259
|
-
margin-right:
|
|
3258
|
+
height: 21px; /* = the option's line-height */
|
|
3259
|
+
margin-right: 8px;
|
|
3260
3260
|
vertical-align: top;
|
|
3261
3261
|
/* Own compositing layer. The row (entrance) and the chip (promotion fade)
|
|
3262
3262
|
animate on a layer WebKit drops when the animation ends; content drawn at
|
|
@@ -3279,8 +3279,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3279
3279
|
(blockified), so text-indent applies to it directly. Skeleton rows keep
|
|
3280
3280
|
it too: their icon is hidden but still occupies its column. */
|
|
3281
3281
|
.aia-content-T-Qba:not(:has(.aia-count-IpYbQ)):has(.aia-icon-Qw938) {
|
|
3282
|
-
padding-left: calc(1em +
|
|
3283
|
-
text-indent: calc(-1em -
|
|
3282
|
+
padding-left: calc(1em + 8px);
|
|
3283
|
+
text-indent: calc(-1em - 8px);
|
|
3284
3284
|
}
|
|
3285
3285
|
|
|
3286
3286
|
/* --- Option pictures and counts ---
|
|
@@ -3313,15 +3313,15 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3313
3313
|
loads) and stays if it never does. */
|
|
3314
3314
|
.aia-content-T-Qba:has(.aia-image-YZAbO) {
|
|
3315
3315
|
align-items: center;
|
|
3316
|
-
gap: var(--aia-option-image-gap,
|
|
3316
|
+
gap: var(--aia-option-image-gap, 12px);
|
|
3317
3317
|
}
|
|
3318
3318
|
|
|
3319
3319
|
.aia-image-YZAbO {
|
|
3320
3320
|
flex: 0 0 auto;
|
|
3321
3321
|
display: block;
|
|
3322
|
-
width: var(--aia-option-image-size,
|
|
3323
|
-
height: var(--aia-option-image-size,
|
|
3324
|
-
border-radius: var(--aia-option-image-radius,
|
|
3322
|
+
width: var(--aia-option-image-size, 40px);
|
|
3323
|
+
height: var(--aia-option-image-size, 40px);
|
|
3324
|
+
border-radius: var(--aia-option-image-radius, 12px);
|
|
3325
3325
|
overflow: hidden;
|
|
3326
3326
|
background: var(--aia-option-image-bg, var(--aia-skeleton-bg, rgba(189, 189, 189, 0.083)));
|
|
3327
3327
|
}
|
|
@@ -3346,7 +3346,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3346
3346
|
max-width: 100%;
|
|
3347
3347
|
height: 100%;
|
|
3348
3348
|
margin: 0 auto;
|
|
3349
|
-
border-radius: var(--aia-option-picture-radius,
|
|
3349
|
+
border-radius: var(--aia-option-picture-radius, 6px);
|
|
3350
3350
|
object-fit: contain;
|
|
3351
3351
|
}
|
|
3352
3352
|
|
|
@@ -3363,10 +3363,10 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3363
3363
|
.aia-count-IpYbQ {
|
|
3364
3364
|
flex: 0 0 auto;
|
|
3365
3365
|
margin-left: auto;
|
|
3366
|
-
padding-left:
|
|
3367
|
-
font-size: var(--aia-option-count-font-size,
|
|
3366
|
+
padding-left: 12px;
|
|
3367
|
+
font-size: var(--aia-option-count-font-size, 12px);
|
|
3368
3368
|
font-weight: 400;
|
|
3369
|
-
line-height:
|
|
3369
|
+
line-height: 21px; /* = the option's line-height */
|
|
3370
3370
|
font-variant-numeric: tabular-nums;
|
|
3371
3371
|
white-space: nowrap;
|
|
3372
3372
|
color: var(--aia-option-count-color, inherit);
|
|
@@ -3392,7 +3392,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3392
3392
|
(\`--aia-grid-max-height\`) does not cut the last row. Before the picture rule,
|
|
3393
3393
|
which wins when a group has both. */
|
|
3394
3394
|
[data-aia-group]:has(.aia-parameter-Dt2zF) {
|
|
3395
|
-
--aia-option-row-height: calc(
|
|
3395
|
+
--aia-option-row-height: calc(37px + 2 * var(--aia-option-padding-block, 8px));
|
|
3396
3396
|
}
|
|
3397
3397
|
|
|
3398
3398
|
/* A grid of picture rows is taller per row: the visible-rows cap
|
|
@@ -3401,9 +3401,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3401
3401
|
same number of rows shows before the list scrolls. */
|
|
3402
3402
|
[data-aia-group]:has(.aia-image-YZAbO) {
|
|
3403
3403
|
--aia-option-row-height: calc(
|
|
3404
|
-
var(--aia-option-image-size,
|
|
3404
|
+
var(--aia-option-image-size, 40px) +
|
|
3405
3405
|
2 *
|
|
3406
|
-
var(--aia-option-padding-block,
|
|
3406
|
+
var(--aia-option-padding-block, 8px)
|
|
3407
3407
|
);
|
|
3408
3408
|
}
|
|
3409
3409
|
|
|
@@ -3418,9 +3418,9 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3418
3418
|
display: flex;
|
|
3419
3419
|
flex: 1 1 auto;
|
|
3420
3420
|
align-items: center;
|
|
3421
|
-
gap: var(--aia-option-image-gap,
|
|
3421
|
+
gap: var(--aia-option-image-gap, 12px);
|
|
3422
3422
|
min-width: 0;
|
|
3423
|
-
min-height: var(--aia-option-image-size,
|
|
3423
|
+
min-height: var(--aia-option-image-size, 40px);
|
|
3424
3424
|
padding-left: 0;
|
|
3425
3425
|
text-indent: 0;
|
|
3426
3426
|
}
|
|
@@ -3428,8 +3428,8 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3428
3428
|
[data-aia-group]:has(.aia-image-YZAbO) .aia-content-T-Qba:not(:has(.aia-image-YZAbO)) .aia-icon-Qw938 {
|
|
3429
3429
|
flex: 0 0 auto;
|
|
3430
3430
|
justify-content: center;
|
|
3431
|
-
width: var(--aia-option-image-size,
|
|
3432
|
-
height: var(--aia-option-image-size,
|
|
3431
|
+
width: var(--aia-option-image-size, 40px);
|
|
3432
|
+
height: var(--aia-option-image-size, 40px);
|
|
3433
3433
|
margin-right: 0;
|
|
3434
3434
|
}
|
|
3435
3435
|
|
|
@@ -3451,7 +3451,7 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3451
3451
|
.aia-content-T-Qba:has(.aia-checkbox-KGRhg) {
|
|
3452
3452
|
display: flex;
|
|
3453
3453
|
align-items: center;
|
|
3454
|
-
gap:
|
|
3454
|
+
gap: 10px;
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
3457
|
/* A checkbox row is a flex row, so its icon is a flex item beside the text,
|
|
@@ -3475,14 +3475,14 @@ import{buildSubmitResult as ps,cellDay as hs,cellIso as us,DATE_RANGE_META_END a
|
|
|
3475
3475
|
/* The mark is text centred in the box. An indent inherited from the row
|
|
3476
3476
|
(an icon row hangs its text with one) would slide it out of the box. */
|
|
3477
3477
|
text-indent: 0;
|
|
3478
|
-
flex: 0 0
|
|
3479
|
-
width:
|
|
3480
|
-
height:
|
|
3478
|
+
flex: 0 0 18px;
|
|
3479
|
+
width: 18px;
|
|
3480
|
+
height: 18px;
|
|
3481
3481
|
border: 1px solid var(--aia-border);
|
|
3482
|
-
border-radius:
|
|
3482
|
+
border-radius: 6px;
|
|
3483
3483
|
background: var(--aia-surface);
|
|
3484
3484
|
color: transparent;
|
|
3485
|
-
font-size:
|
|
3485
|
+
font-size: 11px;
|
|
3486
3486
|
line-height: 1;
|
|
3487
3487
|
}
|
|
3488
3488
|
|