@magicx-eng/ai-autocomplete-react 0.1.23 → 0.1.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicx-eng/ai-autocomplete-react",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "AI Autocomplete React SDK — guided autocomplete with pill-based input and dropdown suggestions",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "sideEffects": false,
19
19
  "scripts": {
20
- "dev": "vite playground",
20
+ "dev": "pnpm build && vite playground",
21
21
  "dev:vanilla": "vite examples/vanilla",
22
22
  "build": "tsup",
23
23
  "build:core": "tsup --config tsup.config.core.ts && cp core-package.json dist-core/package.json",
package/dist/index.css DELETED
@@ -1,2 +0,0 @@
1
- :where(.magicx-aia),:where(.magicx-aia[data-mode=light]){--aia-pill-bg: #bdbdbd;--aia-pill-color: #000000;--aia-pill-font-size: 19px;--aia-option-bg: transparent;--aia-option-color: #000000;--aia-option-color-selected: #000000;--aia-option-font-size: 19px;--aia-written-text-color: #000000;--aia-written-text-font-size: 19px}:where(.magicx-aia[data-mode=dark]){--aia-pill-bg: #bdbdbd;--aia-pill-color: #ffffff;--aia-pill-font-size: 19px;--aia-option-bg: transparent;--aia-option-color: #ffffff;--aia-option-color-selected: #ffffff;--aia-option-font-size: 19px;--aia-written-text-color: #ffffff;--aia-written-text-font-size: 19px}:where(.magicx-aia[data-options-position=above]) [data-aia-dropdown]{top:auto;bottom:100%;margin-top:0;margin-bottom:6px;flex-direction:column-reverse}:where(.magicx-aia[data-options-position=above]) [data-aia-pillbar]{padding:0 27px 27px}:where(.magicx-aia[data-animations=off]) *,:where(.magicx-aia[data-animations=off]) *:before,:where(.magicx-aia[data-animations=off]) *:after{animation-duration:0s!important;transition-duration:0s!important}
2
- /*# sourceMappingURL=index.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/appearance.css"],"sourcesContent":["/*\n * Built-in appearance defaults — zero specificity via :where().\n * Consumer CSS always wins without !important.\n *\n * Resolution priority (highest wins):\n * 1. Consumer CSS targeting new vars (--aia-pill-bg, etc.)\n * 2. Consumer CSS targeting legacy vars (--aia-color-*, via fallback chain)\n * 3. These built-in defaults\n */\n\n/* Light mode defaults (base) */\n:where(.magicx-aia),\n:where(.magicx-aia[data-mode=\"light\"]) {\n --aia-pill-bg: #bdbdbd;\n --aia-pill-color: #000000;\n --aia-pill-font-size: 19px;\n\n --aia-option-bg: transparent;\n --aia-option-color: #000000;\n --aia-option-color-selected: #000000;\n --aia-option-font-size: 19px;\n\n --aia-written-text-color: #000000;\n --aia-written-text-font-size: 19px;\n}\n\n/* Dark mode defaults */\n:where(.magicx-aia[data-mode=\"dark\"]) {\n --aia-pill-bg: #bdbdbd;\n --aia-pill-color: #ffffff;\n --aia-pill-font-size: 19px;\n\n --aia-option-bg: transparent;\n --aia-option-color: #ffffff;\n --aia-option-color-selected: #ffffff;\n --aia-option-font-size: 19px;\n\n --aia-written-text-color: #ffffff;\n --aia-written-text-font-size: 19px;\n}\n\n/* optionsPosition: dropdown above the input */\n:where(.magicx-aia[data-options-position=\"above\"]) [data-aia-dropdown] {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: 6px;\n flex-direction: column-reverse;\n}\n\n:where(.magicx-aia[data-options-position=\"above\"]) [data-aia-pillbar] {\n padding: 0 27px 27px 27px;\n}\n\n/* Disable all animations when data-animations=\"off\" */\n:where(.magicx-aia[data-animations=\"off\"]) *,\n:where(.magicx-aia[data-animations=\"off\"]) *::before,\n:where(.magicx-aia[data-animations=\"off\"]) *::after {\n animation-duration: 0s !important;\n transition-duration: 0s !important;\n}\n"],"mappings":"AAWA,OAAO,CAAC,YACR,OAAO,CADC,UACU,CAAC,kBACjB,eAAe,QACf,kBAAkB,QAClB,sBAAsB,KAEtB,iBAAiB,YACjB,oBAAoB,QACpB,6BAA6B,QAC7B,wBAAwB,KAExB,0BAA0B,QAC1B,8BAA8B,IAChC,CAGA,OAAO,CAhBC,UAgBU,CAAC,iBACjB,eAAe,QACf,kBAAkB,QAClB,sBAAsB,KAEtB,iBAAiB,YACjB,oBAAoB,QACpB,6BAA6B,QAC7B,wBAAwB,KAExB,0BAA0B,QAC1B,8BAA8B,IAChC,CAGA,OAAO,CA/BC,UA+BU,CAAC,8BAAgC,CAAC,mBAClD,IAAK,KACL,OAAQ,KACR,WAAY,EACZ,cAAe,IACf,eAAgB,cAClB,CAEA,OAAO,CAvCC,UAuCU,CAAC,8BAAgC,CAAC,kBAlDpD,QAmDW,EAAE,KAAK,IAClB,CAGA,OAAO,CA5CC,UA4CU,CAAC,sBAAwB,EAC3C,OAAO,CA7CC,UA6CU,CAAC,sBAAwB,CAAC,QAC5C,OAAO,CA9CC,UA8CU,CAAC,sBAAwB,CAAC,OAC1C,mBAAoB,aACpB,oBAAqB,YACvB","names":[]}