@magicx-eng/ai-autocomplete-react 0.29.2 → 0.29.3
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 +3 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1286,6 +1286,7 @@
|
|
|
1286
1286
|
gap: 2px;
|
|
1287
1287
|
text-decoration: none;
|
|
1288
1288
|
cursor: pointer;
|
|
1289
|
+
transition: opacity 150ms ease-out;
|
|
1289
1290
|
}
|
|
1290
1291
|
|
|
1291
1292
|
/* The two content groups carry a solid surface fill so the keyboard hint and
|
|
@@ -1320,17 +1321,7 @@
|
|
|
1320
1321
|
gap: 4px;
|
|
1321
1322
|
}
|
|
1322
1323
|
|
|
1323
|
-
|
|
1324
|
-
link's opacity is pinned inline so a stylesheet can't fade the attribution
|
|
1325
|
-
out (vanilla guardAttribution.ts), and its pill fill is the dropdown's own
|
|
1326
|
-
surface, so dimming it never showed anyway. */
|
|
1327
|
-
.aia-brand-Al-lR,
|
|
1328
|
-
.aia-badge-Fk9vg {
|
|
1329
|
-
transition: opacity 150ms ease-out;
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
.aia-brandLink-r4f3R:hover .aia-brand-Al-lR,
|
|
1333
|
-
.aia-brandLink-r4f3R:hover .aia-badge-Fk9vg {
|
|
1324
|
+
.aia-brandLink-r4f3R:hover {
|
|
1334
1325
|
opacity: 0.7;
|
|
1335
1326
|
}
|
|
1336
1327
|
|
|
@@ -1387,7 +1378,7 @@
|
|
|
1387
1378
|
justify-content: flex-end;
|
|
1388
1379
|
}
|
|
1389
1380
|
}
|
|
1390
|
-
`,document.head.appendChild(e)}var xe={footer:"aia-footer-qQQ7x",hintGroup:"aia-hintGroup-ZzbPf",brandLink:"aia-brandLink-r4f3R",
|
|
1381
|
+
`,document.head.appendChild(e)}var xe={footer:"aia-footer-qQQ7x",hintGroup:"aia-hintGroup-ZzbPf",brandLink:"aia-brandLink-r4f3R",key:"aia-key-Bz1H-",hint:"aia-hint-GKEOH",brand:"aia-brand-Al-lR",badge:"aia-badge-Fk9vg",row:"aia-row-BgZ6Q"};var se=require("react/jsx-runtime");function xt({isOptionHighlighted:e=!1,isInputEmpty:a=!1}){let{key:t,hint:n}=(0,Be.getFooterHint)(e,a),[i,r]=(0,Ze.useState)(Be.ATTRIBUTION_URL);return(0,Ze.useEffect)(()=>{r((0,Be.buildAttributionUrl)())},[]),(0,se.jsx)("footer",{className:xe.footer,"data-aia-footer":"",children:(0,se.jsxs)(We,{justify:"between",noWrap:!0,className:xe.row,children:[(0,se.jsxs)(We,{gap:"5px",className:xe.hintGroup,children:[(0,se.jsx)("kbd",{className:xe.key,children:t}),(0,se.jsx)("span",{className:xe.hint,children:n})]}),(0,se.jsxs)("a",{className:xe.brandLink,href:i,target:"_blank",rel:"noopener noreferrer",children:[(0,se.jsx)("span",{className:xe.brand,children:"AI"}),(0,se.jsx)("span",{className:xe.badge,children:"Autocomplete"})]})]})})}if(typeof document<"u"&&!document.getElementById("ac-style-199d0432")){let e=document.createElement("style");e.id="ac-style-199d0432",e.textContent=`/* ParamPill (Figma "ParamPill") \u2014 unfilled suggestion pill: transparent fill,
|
|
1391
1382
|
no outline. ~28px via 6px padding + 14px text + the 1px border (border-box).
|
|
1392
1383
|
The border is kept as a 1px transparent line so the box stays the same size
|
|
1393
1384
|
as it was when the outline was dashed. */
|