@homecode/ui 5.1.6 → 5.1.7

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.
@@ -0,0 +1,83 @@
1
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2],"valueProp":[2],"itemsLen":0,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188169406}
2
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2],"selectedLocal":[2]},"timestamp":1778188169410}
3
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2],"valueProp":[2],"itemsLen":0,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188169415}
4
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2],"selectedLocal":[2]},"timestamp":1778188169417}
5
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2],"valueProp":[2],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188169418}
6
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H4","location":"Select2.tsx:onFocus","message":"trigger focus","data":{"ts":1778188170007},"timestamp":1778188170007}
7
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H4","location":"Select2.tsx:onPopupOpen","message":"popup onOpen callback","data":{"ts":1778188170007},"timestamp":1778188170007}
8
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2],"valueProp":[2],"itemsLen":15,"searchVal":"","focusedItemIndex":0},"timestamp":1778188170008}
9
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":true,"tag":"INPUT"},"timestamp":1778188170114}
10
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2],"valueProp":[2],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188170563}
11
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H5","location":"Select2.tsx:onBlur","message":"trigger blur","data":{"ts":1778188170923},"timestamp":1778188170923}
12
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":0,"isMultiple":true,"selectedBefore":[2],"valueProp":[2]},"timestamp":1778188171073}
13
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0],"valueProp":[2,0],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188171074}
14
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0],"selectedLocal":[2,0]},"timestamp":1778188171077}
15
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188171078}
16
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":1,"isMultiple":true,"selectedBefore":[2,0],"valueProp":[2,0]},"timestamp":1778188172039}
17
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1],"valueProp":[2,0,1],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188172040}
18
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1],"selectedLocal":[2,0,1]},"timestamp":1778188172044}
19
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188172045}
20
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":3,"isMultiple":true,"selectedBefore":[2,0,1],"valueProp":[2,0,1]},"timestamp":1778188173122}
21
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3],"valueProp":[2,0,1,3],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188173123}
22
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3],"selectedLocal":[2,0,1,3]},"timestamp":1778188173126}
23
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188173127}
24
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":4,"isMultiple":true,"selectedBefore":[2,0,1,3],"valueProp":[2,0,1,3]},"timestamp":1778188174122}
25
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4],"valueProp":[2,0,1,3,4],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188174123}
26
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3,4],"selectedLocal":[2,0,1,3,4]},"timestamp":1778188174125}
27
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188174125}
28
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4],"valueProp":[2,0,1,3,4],"itemsLen":15,"searchVal":"Ask Alice, I think she know","focusedItemIndex":-1},"timestamp":1778188174421}
29
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H4","location":"Select2.tsx:onFocus","message":"trigger focus","data":{"ts":1778188175531},"timestamp":1778188175531}
30
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":true,"tag":"INPUT"},"timestamp":1778188175622}
31
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:onPopupClose","message":"popup onClose callback","data":{"ts":1778188176693},"timestamp":1778188176693}
32
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4],"valueProp":[2,0,1,3,4],"itemsLen":15,"searchVal":"","focusedItemIndex":0},"timestamp":1778188176694}
33
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H4","location":"Select2.tsx:onPopupOpen","message":"popup onOpen callback","data":{"ts":1778188178359},"timestamp":1778188178359}
34
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4],"valueProp":[2,0,1,3,4],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188178915}
35
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H5","location":"Select2.tsx:onBlur","message":"trigger blur","data":{"ts":1778188180072},"timestamp":1778188180072}
36
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":6,"isMultiple":true,"selectedBefore":[2,0,1,3,4],"valueProp":[2,0,1,3,4]},"timestamp":1778188180155}
37
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4,6],"valueProp":[2,0,1,3,4,6],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188180156}
38
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3,4,6],"selectedLocal":[2,0,1,3,4,6]},"timestamp":1778188180158}
39
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188180158}
40
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":5,"isMultiple":true,"selectedBefore":[2,0,1,3,4,6],"valueProp":[2,0,1,3,4,6]},"timestamp":1778188181522}
41
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4,6,5],"valueProp":[2,0,1,3,4,6,5],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188181523}
42
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3,4,6,5],"selectedLocal":[2,0,1,3,4,6,5]},"timestamp":1778188181525}
43
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188181526}
44
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":6,"isMultiple":true,"selectedBefore":[2,0,1,3,4,6,5],"valueProp":[2,0,1,3,4,6,5]},"timestamp":1778188182906}
45
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4,5],"valueProp":[2,0,1,3,4,5],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188182907}
46
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3,4,5],"selectedLocal":[2,0,1,3,4,5]},"timestamp":1778188182910}
47
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188182910}
48
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":5,"isMultiple":true,"selectedBefore":[2,0,1,3,4,5],"valueProp":[2,0,1,3,4,5]},"timestamp":1778188184139}
49
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,3,4],"valueProp":[2,0,1,3,4],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188184140}
50
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,3,4],"selectedLocal":[2,0,1,3,4]},"timestamp":1778188184142}
51
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188184143}
52
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":3,"isMultiple":true,"selectedBefore":[2,0,1,3,4],"valueProp":[2,0,1,3,4]},"timestamp":1778188185506}
53
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,1,4],"selectedLocal":[2,0,1,4]},"timestamp":1778188185509}
54
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,1,4],"valueProp":[2,0,1,4],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188185507}
55
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188185510}
56
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":1,"isMultiple":true,"selectedBefore":[2,0,1,4],"valueProp":[2,0,1,4]},"timestamp":1778188187039}
57
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4],"valueProp":[2,0,4],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188187041}
58
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4],"selectedLocal":[2,0,4]},"timestamp":1778188187045}
59
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188187045}
60
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":3,"isMultiple":true,"selectedBefore":[2,0,4],"valueProp":[2,0,4]},"timestamp":1778188187980}
61
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3],"valueProp":[2,0,4,3],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188187981}
62
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3],"selectedLocal":[2,0,4,3]},"timestamp":1778188187983}
63
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188187983}
64
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":8,"isMultiple":true,"selectedBefore":[2,0,4,3],"valueProp":[2,0,4,3]},"timestamp":1778188189264}
65
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8],"valueProp":[2,0,4,3,8],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188189265}
66
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3,8],"selectedLocal":[2,0,4,3,8]},"timestamp":1778188189267}
67
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188189268}
68
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":9,"isMultiple":true,"selectedBefore":[2,0,4,3,8],"valueProp":[2,0,4,3,8]},"timestamp":1778188189855}
69
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9],"valueProp":[2,0,4,3,8,9],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188189856}
70
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3,8,9],"selectedLocal":[2,0,4,3,8,9]},"timestamp":1778188189857}
71
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188189858}
72
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:onItemToggle","message":"item toggle","data":{"id":13,"isMultiple":true,"selectedBefore":[2,0,4,3,8,9],"valueProp":[2,0,4,3,8,9]},"timestamp":1778188191022}
73
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188191023}
74
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3,8,9,13],"selectedLocal":[2,0,4,3,8,9,13]},"timestamp":1778188191026}
75
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H3","location":"Select2.tsx:docClick","message":"document click","data":{"inside":true,"willClose":false,"isOpen":true,"isFocused":false,"tag":"DIV"},"timestamp":1778188191027}
76
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188214752}
77
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3,8,9,13],"selectedLocal":[2,0,4,3,8,9,13]},"timestamp":1778188214754}
78
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"Ask Alice, I think she know","focusedItemIndex":-1},"timestamp":1778188214755}
79
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"Ask Alice, I think she know","focusedItemIndex":-1},"timestamp":1778188215245}
80
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H2","location":"Select2.tsx:valueSelectedSync","message":"value vs selected snapshot","data":{"mult":true,"valueProp":[2,0,4,3,8,9,13],"selectedLocal":[2,0,4,3,8,9,13]},"timestamp":1778188215247}
81
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":0,"searchVal":"","focusedItemIndex":-1},"timestamp":1778188215970}
82
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"Ask Alice, I think she know","focusedItemIndex":-1},"timestamp":1778188215975}
83
+ {"sessionId":"e1fd63","runId":"pre-fix","hypothesisId":"H1","location":"Select2.tsx:optionsListMemo","message":"optionsList useMemo factory ran","data":{"selectedSnapshot":[2,0,4,3,8,9,13],"valueProp":[2,0,4,3,8,9,13],"itemsLen":15,"searchVal":"Ask Alice, I think she know","focusedItemIndex":-1},"timestamp":1778188217390}
@@ -1,6 +1,6 @@
1
1
  import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = ".Select_root__mjOjv{max-height:200px;max-width:100%;position:relative}.Select_root__mjOjv.Select_disabled__AlOQi{opacity:.4;pointer-events:none}.Select_additionalLabel__K0--Z{flex-grow:1;overflow:hidden;text-align:left;text-overflow:ellipsis}.Select_trigger__OH48f{position:relative;z-index:1}.Select_triggerArrow__1LEop{flex-shrink:0;margin-left:.3em;margin-right:.7em;transition:transform .2s ease-out}.Select_triggerArrow__1LEop.Select_isOpen__WlMUH{transform:rotateX(-180deg)}.Select_disabled__AlOQi .Select_triggerArrow__1LEop{color:var(--text3-color)}.Select_triggerButton__lErtt{justify-content:space-between;text-align:left;width:100%}.Select_triggerButton__lErtt.Select_hasTriggerArrow__vPLad>span{max-width:calc(100% - 22px)}.Select_triggerButton__lErtt.Select_isError__WJJLq{box-shadow:inset 0 0 0 2px var(--danger-color)}.Select_triggerButton__lErtt .Select_triggerButtonLabel__XXLzh{line-height:1.2em;opacity:0;overflow:hidden;text-overflow:ellipsis}.Select_triggerButton__lErtt .Select_triggerButtonLabel__XXLzh.Select_hasSelected__zQhBV{opacity:1}.Select_presetPanel__Yu94r{box-shadow:inset 0 -1px 0 var(--decent-color-alpha-100);display:flex;padding:5px}.Select_presetButton__BAl0q{flex-grow:1;justify-content:center}.Select_presetButton__BAl0q+.Select_presetButton__BAl0q{margin-left:8px}.Select_options__3C0-v{max-height:200px;overflow-y:auto}.keyboard .Select_options__3C0-v{pointer-events:none}.Select_option__iJkfJ{align-items:center;cursor:pointer;display:flex;overflow:hidden;padding-bottom:0!important;padding-top:0!important;position:relative;text-align:left;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;width:100%}.Select_isTree__SiTaD .Select_option__iJkfJ{min-height:36px}.Select_size-xs__2lZQY .Select_option__iJkfJ{font-size:14px;height:22px;padding:0 8px}.Select_size-s__qBK9t .Select_option__iJkfJ{font-size:16px;height:26px;padding:0 12px}.Select_size-m__jp7n- .Select_option__iJkfJ{font-size:18px;height:34px;padding:0 16px}.Select_size-l__b4EEy .Select_option__iJkfJ{font-size:22px;height:42px;padding:0 20px}.Select_size-xl__0OerX .Select_option__iJkfJ{font-size:26px;height:50px;padding:0 24px}.Select_option__iJkfJ:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.Select_option__iJkfJ:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.Select_isTree__SiTaD .Select_option__iJkfJ{padding-left:30px}.Select_option__iJkfJ.Select_isGroup__aP1lY{color:var(--accent-color);font-weight:500;pointer-events:none}.Select_isExpanded__rG8R1>.Select_option__iJkfJ{display:flex}.Select_option__iJkfJ>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Select_option__iJkfJ:before{content:\"\";display:inline-block}.Select_option__iJkfJ.Select_level-0__vu03A:before{content:none}.Select_option__iJkfJ.Select_level-1__ozH2U:before{min-width:24px;width:24px}.Select_option__iJkfJ.Select_level-2__XDqeh:before{min-width:48px;width:48px}.Select_option__iJkfJ.Select_level-3__Bc9XS:before{min-width:72px;width:72px}.Select_option__iJkfJ.Select_level-4__KfQcQ:before{min-width:96px;width:96px}.Select_option__iJkfJ.Select_level-5__DGSDM:before{min-width:120px;width:120px}.Select_option__iJkfJ.Select_level-6__p688A:before{min-width:144px;width:144px}.Select_option__iJkfJ.Select_isIndeterminate__dy-xV,.Select_option__iJkfJ.Select_isSelected__n3ZeN{background-color:var(--active-color-alpha-500)}.keyboard .Select_option__iJkfJ.Select_isFocused__oZSgY,.pointer .Select_option__iJkfJ:hover{box-shadow:inset 100vw 0 0 0 var(--accent-color-alpha-200)}.Select_expandButton__UTwlR{background-color:transparent!important;display:flex;height:100%;justify-content:flex-end;overflow:visible;padding:0;position:relative;width:30px}.Select_expandButton__UTwlR:before{content:\"\";display:block;height:calc(100% + 20px);position:absolute;right:0;top:-10;width:100px}.Select_size-xs__2lZQY .Select_expandButton__UTwlR{margin-left:-34px}.Select_size-s__qBK9t .Select_expandButton__UTwlR{margin-left:-37px}.Select_size-m__jp7n- .Select_expandButton__UTwlR{margin-left:-40px}.Select_size-l__b4EEy .Select_expandButton__UTwlR{margin-left:-46px}.Select_size-xl__0OerX .Select_expandButton__UTwlR{margin-left:-52px}.Select_expandIcon__gWAIB{-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .1s ease-out}.Select_isExpanded__rG8R1 .Select_expandIcon__gWAIB{transform:rotate(90deg) translateZ(0)}.Select_expandButton__UTwlR:hover .Select_expandIcon__gWAIB{color:var(--primary-color)}.Select_chip__FRK2y{margin-left:-.4em}.Select_chipsContainer__JruCi{overflow-y:auto;padding:4px 0}.Select_size-xs__2lZQY .Select_chipsContainer__JruCi{max-height:90px}.Select_size-s__qBK9t .Select_chipsContainer__JruCi{max-height:108px}.Select_size-m__jp7n- .Select_chipsContainer__JruCi{max-height:180px}.Select_size-l__b4EEy .Select_chipsContainer__JruCi{max-height:220px}.Select_size-xl__0OerX .Select_chipsContainer__JruCi{max-height:260px}.Select_chipContainerInner__cYHSk{display:flex;flex-wrap:wrap;gap:4px}.Select_chip__FRK2y{margin:0}@keyframes Select_fadeIn__QpAwZ{0%{opacity:0}10%{opacity:0}to{opacity:1}}";
3
+ var css_248z = ".Select_root__mjOjv{max-height:200px;max-width:100%;position:relative}.Select_root__mjOjv.Select_disabled__AlOQi{opacity:.4;pointer-events:none}.Select_additionalLabel__K0--Z{flex-grow:1;overflow:hidden;text-align:left;text-overflow:ellipsis}.Select_trigger__OH48f{position:relative;z-index:1}.Select_triggerArrow__1LEop{flex-shrink:0;margin-left:.3em;margin-right:.7em;transition:transform .2s ease-out}.Select_triggerArrow__1LEop.Select_isOpen__WlMUH{transform:rotateX(-180deg)}.Select_disabled__AlOQi .Select_triggerArrow__1LEop{color:var(--text3-color)}.Select_triggerButton__lErtt{justify-content:space-between;text-align:left;width:100%}.Select_triggerButton__lErtt.Select_hasTriggerArrow__vPLad{padding-right:0}.Select_triggerButton__lErtt.Select_hasTriggerArrow__vPLad>span{max-width:calc(100% - 22px)}.Select_triggerButton__lErtt.Select_isError__WJJLq{box-shadow:inset 0 0 0 2px var(--danger-color)}.Select_triggerButton__lErtt .Select_triggerButtonLabel__XXLzh{line-height:1.2em;opacity:0;overflow:hidden;text-overflow:ellipsis}.Select_triggerButton__lErtt .Select_triggerButtonLabel__XXLzh.Select_hasSelected__zQhBV{opacity:1}.Select_presetPanel__Yu94r{box-shadow:inset 0 -1px 0 var(--decent-color-alpha-100);display:flex;padding:5px}.Select_presetButton__BAl0q{flex-grow:1;justify-content:center}.Select_presetButton__BAl0q+.Select_presetButton__BAl0q{margin-left:8px}.Select_options__3C0-v{max-height:200px;overflow-y:auto}.keyboard .Select_options__3C0-v{pointer-events:none}.Select_option__iJkfJ{align-items:center;cursor:pointer;display:flex;overflow:hidden;padding-bottom:0!important;padding-top:0!important;position:relative;text-align:left;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;width:100%}.Select_isTree__SiTaD .Select_option__iJkfJ{min-height:36px}.Select_size-xs__2lZQY .Select_option__iJkfJ{font-size:14px;height:22px;padding:0 8px}.Select_size-s__qBK9t .Select_option__iJkfJ{font-size:16px;height:26px;padding:0 12px}.Select_size-m__jp7n- .Select_option__iJkfJ{font-size:18px;height:34px;padding:0 16px}.Select_size-l__b4EEy .Select_option__iJkfJ{font-size:22px;height:42px;padding:0 20px}.Select_size-xl__0OerX .Select_option__iJkfJ{font-size:26px;height:50px;padding:0 24px}.Select_option__iJkfJ:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.Select_option__iJkfJ:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.Select_isTree__SiTaD .Select_option__iJkfJ{padding-left:30px}.Select_option__iJkfJ.Select_isGroup__aP1lY{color:var(--accent-color);font-weight:500;pointer-events:none}.Select_isExpanded__rG8R1>.Select_option__iJkfJ{display:flex}.Select_option__iJkfJ>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Select_option__iJkfJ:before{content:\"\";display:inline-block}.Select_option__iJkfJ.Select_level-0__vu03A:before{content:none}.Select_option__iJkfJ.Select_level-1__ozH2U:before{min-width:24px;width:24px}.Select_option__iJkfJ.Select_level-2__XDqeh:before{min-width:48px;width:48px}.Select_option__iJkfJ.Select_level-3__Bc9XS:before{min-width:72px;width:72px}.Select_option__iJkfJ.Select_level-4__KfQcQ:before{min-width:96px;width:96px}.Select_option__iJkfJ.Select_level-5__DGSDM:before{min-width:120px;width:120px}.Select_option__iJkfJ.Select_level-6__p688A:before{min-width:144px;width:144px}.Select_option__iJkfJ.Select_isIndeterminate__dy-xV,.Select_option__iJkfJ.Select_isSelected__n3ZeN{background-color:var(--active-color-alpha-500)}.keyboard .Select_option__iJkfJ.Select_isFocused__oZSgY,.pointer .Select_option__iJkfJ:hover{box-shadow:inset 100vw 0 0 0 var(--accent-color-alpha-200)}.Select_expandButton__UTwlR{background-color:transparent!important;display:flex;height:100%;justify-content:flex-end;overflow:visible;padding:0;position:relative;width:30px}.Select_expandButton__UTwlR:before{content:\"\";display:block;height:calc(100% + 20px);position:absolute;right:0;top:-10;width:100px}.Select_size-xs__2lZQY .Select_expandButton__UTwlR{margin-left:-34px}.Select_size-s__qBK9t .Select_expandButton__UTwlR{margin-left:-37px}.Select_size-m__jp7n- .Select_expandButton__UTwlR{margin-left:-40px}.Select_size-l__b4EEy .Select_expandButton__UTwlR{margin-left:-46px}.Select_size-xl__0OerX .Select_expandButton__UTwlR{margin-left:-52px}.Select_expandIcon__gWAIB{-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .1s ease-out}.Select_isExpanded__rG8R1 .Select_expandIcon__gWAIB{transform:rotate(90deg) translateZ(0)}.Select_expandButton__UTwlR:hover .Select_expandIcon__gWAIB{color:var(--primary-color)}.Select_chip__FRK2y{margin-left:-.4em}.Select_chipsContainer__JruCi{overflow-y:auto;padding:4px 0}.Select_size-xs__2lZQY .Select_chipsContainer__JruCi{max-height:90px}.Select_size-s__qBK9t .Select_chipsContainer__JruCi{max-height:108px}.Select_size-m__jp7n- .Select_chipsContainer__JruCi{max-height:180px}.Select_size-l__b4EEy .Select_chipsContainer__JruCi{max-height:220px}.Select_size-xl__0OerX .Select_chipsContainer__JruCi{max-height:260px}.Select_chipContainerInner__cYHSk{display:flex;flex-wrap:wrap;gap:4px}.Select_chip__FRK2y{margin:0}@keyframes Select_fadeIn__QpAwZ{0%{opacity:0}10%{opacity:0}to{opacity:1}}";
4
4
  var S = {"root":"Select_root__mjOjv","disabled":"Select_disabled__AlOQi","additionalLabel":"Select_additionalLabel__K0--Z","trigger":"Select_trigger__OH48f","triggerArrow":"Select_triggerArrow__1LEop","isOpen":"Select_isOpen__WlMUH","triggerButton":"Select_triggerButton__lErtt","hasTriggerArrow":"Select_hasTriggerArrow__vPLad","isError":"Select_isError__WJJLq","triggerButtonLabel":"Select_triggerButtonLabel__XXLzh","hasSelected":"Select_hasSelected__zQhBV","presetPanel":"Select_presetPanel__Yu94r","presetButton":"Select_presetButton__BAl0q","options":"Select_options__3C0-v","option":"Select_option__iJkfJ","isTree":"Select_isTree__SiTaD","size-xs":"Select_size-xs__2lZQY","size-s":"Select_size-s__qBK9t","size-m":"Select_size-m__jp7n-","size-l":"Select_size-l__b4EEy","size-xl":"Select_size-xl__0OerX","isGroup":"Select_isGroup__aP1lY","isExpanded":"Select_isExpanded__rG8R1","level-0":"Select_level-0__vu03A","level-1":"Select_level-1__ozH2U","level-2":"Select_level-2__XDqeh","level-3":"Select_level-3__Bc9XS","level-4":"Select_level-4__KfQcQ","level-5":"Select_level-5__DGSDM","level-6":"Select_level-6__p688A","isSelected":"Select_isSelected__n3ZeN","isIndeterminate":"Select_isIndeterminate__dy-xV","isFocused":"Select_isFocused__oZSgY","expandButton":"Select_expandButton__UTwlR","expandIcon":"Select_expandIcon__gWAIB","chip":"Select_chip__FRK2y","chipsContainer":"Select_chipsContainer__JruCi","chipContainerInner":"Select_chipContainerInner__cYHSk","fadeIn":"Select_fadeIn__QpAwZ"};
5
5
  styleInject(css_248z);
6
6
 
@@ -51,11 +51,11 @@ function Select2(props) {
51
51
  variant,
52
52
  ...props.triggerProps,
53
53
  }), [props.triggerProps, label, size, round, variant]);
54
- // Simplified isSelected check
55
- const isSelected = (id) =>
56
- // @ts-ignore
57
- isMultiple$1 ? selected?.includes(id) : selected === id;
58
- const isClickedInside = elem => elem.closest(`.${S.root}`) || elem.closest(`.${S.options}`);
54
+ const isSelected = (id) => isMultiple$1
55
+ ? selected.includes(id)
56
+ : selected[0] === id;
57
+ const isClickedInside = (elem) => !!(elem instanceof Element &&
58
+ (elem.closest(`.${S.root}`) || elem.closest(`.${S.options}`)));
59
59
  const setNewItems = (newItems) => {
60
60
  maxIndex.current = newItems.length - 1;
61
61
  setItems(newItems);
@@ -308,7 +308,7 @@ function Select2(props) {
308
308
  e.stopPropagation();
309
309
  onItemToggle(items[currIndex].id);
310
310
  }
311
- }, [items, focusedItemIndex, isOpen]);
311
+ }, [items, focusedItemIndex, isOpen, selected]);
312
312
  useEvent({
313
313
  event: 'keydown',
314
314
  isActive: isOpen,
@@ -323,7 +323,7 @@ function Select2(props) {
323
323
  }
324
324
  },
325
325
  });
326
- const optionsList = useMemo(() => (jsxs("div", { ref: contentRef, children: [renderPresets(), createElement(Scroll, { y: true, ...scrollProps, offset: { y: { before: 10, after: 10 } }, className: cn(S.options, S[`size-${size}`], scrollProps?.className), onInnerRef: elem => (scrollInnerRef.current = elem), key: "items-scroll" }, renderOptions())] })), [items, searchVal, focusedItemIndex]);
326
+ const optionsList = useMemo(() => (jsxs("div", { ref: contentRef, children: [renderPresets(), createElement(Scroll, { y: true, ...scrollProps, offset: { y: { before: 10, after: 10 } }, className: cn(S.options, S[`size-${size}`], scrollProps?.className), onInnerRef: elem => (scrollInnerRef.current = elem), key: "items-scroll" }, renderOptions())] })), [items, searchVal, focusedItemIndex, selected]);
327
327
  const classes = cn(S.root, className, S[`size-${size}`]);
328
328
  return (jsxs(Fragment, { children: [jsx(Popup, { className: classes, direction: "bottom", size: size, focusControl: true, hoverControl: isFocused, blur: blur, isOpen: isOpen, disabled: disabled, ...popupProps, onOpen: onPopupOpen, onClose: onPopupClose, trigger: renderTrigger(), triggerProps: {
329
329
  onFocus: onFocus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",