@magicx-eng/ai-autocomplete-react 0.67.0 → 0.67.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/LICENSE +21 -0
- package/REFERENCE.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MagicX Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/REFERENCE.md
CHANGED
|
@@ -638,7 +638,7 @@ calendar, the text is treated as a new query.
|
|
|
638
638
|
- Select rows to toggle values. Typing filters the options and keeps the current picks.
|
|
639
639
|
- Done joins the picks in selection order with the UI language's word for "and".
|
|
640
640
|
- Each value has its own `completed_params` entry. The input shows one chip for the group.
|
|
641
|
-
-
|
|
641
|
+
- Tap the group chip to change the answer: the checkbox list opens again with the chip's values ticked, and Done replaces the chip and sends one request. Done with every value unticked removes the chip. Leaving the list without Done keeps the answer as it was.
|
|
642
642
|
- Done without picks skips the question. Typing a phrase with no matching options closes the question and keeps that phrase.
|
|
643
643
|
- Space toggles the highlighted row when nothing is typed for the question. Enter commits the picks, or selects the highlighted row when no values are picked.
|
|
644
644
|
- Headless integrations can call `toggleMultiSelectOption(option)` and `commitMultiSelect()`.
|
package/dist/index.d.mts
CHANGED
|
@@ -700,7 +700,7 @@ interface UseAIAutocompleteReturn {
|
|
|
700
700
|
*/
|
|
701
701
|
products: Product[];
|
|
702
702
|
/**
|
|
703
|
-
* The catalog
|
|
703
|
+
* The catalog report the latest response carried, or null when it
|
|
704
704
|
* carried none: which of the query's constraints the catalog applied, which
|
|
705
705
|
* it dropped, and how many items (and which) the applied ones left
|
|
706
706
|
* standing. Null is "no news", not an empty catalog.
|
package/dist/index.d.ts
CHANGED
|
@@ -700,7 +700,7 @@ interface UseAIAutocompleteReturn {
|
|
|
700
700
|
*/
|
|
701
701
|
products: Product[];
|
|
702
702
|
/**
|
|
703
|
-
* The catalog
|
|
703
|
+
* The catalog report the latest response carried, or null when it
|
|
704
704
|
* carried none: which of the query's constraints the catalog applied, which
|
|
705
705
|
* it dropped, and how many items (and which) the applied ones left
|
|
706
706
|
* standing. Null is "no news", not an empty catalog.
|
package/dist/index.js
CHANGED
|
@@ -707,7 +707,7 @@
|
|
|
707
707
|
--aia-confirm-bg-hover: #404040;
|
|
708
708
|
--aia-confirm-color: #ffffff;
|
|
709
709
|
/* The pickers' Done buttons: a soft blue-gray under dark navy text, the
|
|
710
|
-
|
|
710
|
+
pickers' shared Done style (the ticked checkbox keeps the solid
|
|
711
711
|
confirm fill above). */
|
|
712
712
|
--aia-done-bg: #e4e8f0;
|
|
713
713
|
--aia-done-bg-hover: #d8dde8;
|
|
@@ -1361,8 +1361,8 @@
|
|
|
1361
1361
|
opacity: 0;
|
|
1362
1362
|
pointer-events: none;
|
|
1363
1363
|
/* Closed, the panel rests in place, transparent and softly blurred, so it
|
|
1364
|
-
floats in as a dissolve rather than dropping down (the
|
|
1365
|
-
motion
|
|
1364
|
+
floats in as a dissolve rather than dropping down (the panel's dissolve
|
|
1365
|
+
motion): out is 280ms on a soft ease back to opacity 0 and a 2px
|
|
1366
1366
|
blur. */
|
|
1367
1367
|
filter: blur(2px);
|
|
1368
1368
|
/* The 220ms beat before closing covers the gap between a keystroke that
|