@sproutsocial/seeds-react-menu 1.13.0 → 1.15.10
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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +183 -0
- package/dist/esm/v3/index.js +372 -186
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/v3/index.d.mts +49 -6
- package/dist/v3/index.d.ts +49 -6
- package/dist/v3/index.js +370 -183
- package/dist/v3/index.js.map +1 -1
- package/package.json +14 -14
- package/src/v3/ActionMenuStyles.tsx +11 -10
- package/src/v3/Common/ComboboxStyles.tsx +41 -7
- package/src/v3/Common/SelectStyles.tsx +16 -3
- package/src/v3/Common/useSuppressEscapeClear.ts +20 -0
- package/src/v3/MenuButton.stories.tsx +118 -0
- package/src/v3/MenuButton.tsx +68 -0
- package/src/v3/MenuButtonStyles.tsx +38 -0
- package/src/v3/MultiCombobox.stories.tsx +140 -0
- package/src/v3/MultiCombobox.tsx +25 -7
- package/src/v3/MultiSearchableSelect.stories.tsx +24 -0
- package/src/v3/MultiSearchableSelect.tsx +8 -5
- package/src/v3/MultiSelect.stories.tsx +23 -0
- package/src/v3/MultiSelect.tsx +9 -1
- package/src/v3/SingleCombobox.stories.tsx +19 -0
- package/src/v3/SingleCombobox.tsx +14 -6
- package/src/v3/SingleSearchableSelect.stories.tsx +20 -0
- package/src/v3/SingleSearchableSelect.tsx +12 -6
- package/src/v3/SingleSelect.stories.tsx +19 -0
- package/src/v3/SingleSelect.tsx +9 -1
- package/src/v3/__tests__/MenuButton.test.tsx +80 -0
- package/src/v3/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -9,27 +9,27 @@ $ tsup --dts
|
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[32mCJS[39m [1mdist/index.js [22m[32m92.65 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/v3/index.js [22m[32m120.75 KB[39m
|
|
12
13
|
[32mCJS[39m [1mdist/v2/index.js [22m[32m73.18 KB[39m
|
|
13
|
-
[32mCJS[39m [1mdist/v3/index.js [22m[32m115.61 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m152.19 KB[39m
|
|
15
14
|
[32mCJS[39m [1mdist/index.js.map [22m[32m180.28 KB[39m
|
|
16
|
-
[32mCJS[39m [1mdist/v3/index.js.map [22m[
|
|
17
|
-
[32mCJS[39m
|
|
15
|
+
[32mCJS[39m [1mdist/v3/index.js.map [22m[32m211.25 KB[39m
|
|
16
|
+
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m152.19 KB[39m
|
|
17
|
+
[32mCJS[39m ⚡️ Build success in 126ms
|
|
18
18
|
[32mESM[39m [1mdist/esm/index.js [22m[32m73.60 KB[39m
|
|
19
|
+
[32mESM[39m [1mdist/esm/v3/index.js [22m[32m107.25 KB[39m
|
|
19
20
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js [22m[32m9.15 KB[39m
|
|
20
|
-
[32mESM[39m [1mdist/esm/v3/index.js [22m[32m102.60 KB[39m
|
|
21
21
|
[32mESM[39m [1mdist/esm/v2/index.js [22m[32m62.63 KB[39m
|
|
22
22
|
[32mESM[39m [1mdist/esm/index.js.map [22m[32m156.29 KB[39m
|
|
23
|
+
[32mESM[39m [1mdist/esm/v3/index.js.map [22m[32m211.30 KB[39m
|
|
23
24
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js.map [22m[32m22.93 KB[39m
|
|
24
25
|
[32mESM[39m [1mdist/esm/v2/index.js.map [22m[32m132.57 KB[39m
|
|
25
|
-
[32mESM[39m
|
|
26
|
-
[32mESM[39m ⚡️ Build success in 80ms
|
|
26
|
+
[32mESM[39m ⚡️ Build success in 127ms
|
|
27
27
|
[34mDTS[39m Build start
|
|
28
|
-
[32mDTS[39m ⚡️ Build success in
|
|
28
|
+
[32mDTS[39m ⚡️ Build success in 7046ms
|
|
29
29
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m39.12 KB[39m
|
|
30
30
|
[32mDTS[39m [1mdist/v2/index.d.ts [22m[32m5.55 KB[39m
|
|
31
|
-
[32mDTS[39m [1mdist/v3/index.d.ts [22m[
|
|
31
|
+
[32mDTS[39m [1mdist/v3/index.d.ts [22m[32m23.83 KB[39m
|
|
32
32
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m39.12 KB[39m
|
|
33
33
|
[32mDTS[39m [1mdist/v2/index.d.mts [22m[32m5.55 KB[39m
|
|
34
|
-
[32mDTS[39m [1mdist/v3/index.d.mts [22m[
|
|
35
|
-
Done in
|
|
34
|
+
[32mDTS[39m [1mdist/v3/index.d.mts [22m[32m23.83 KB[39m
|
|
35
|
+
Done in 7.82s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,188 @@
|
|
|
1
1
|
# @sproutsocial/seeds-react-menu
|
|
2
2
|
|
|
3
|
+
## 1.15.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [69c9d02]
|
|
8
|
+
- @sproutsocial/seeds-react-icon@2.4.0
|
|
9
|
+
- @sproutsocial/seeds-react-button@2.2.1
|
|
10
|
+
- @sproutsocial/seeds-react-checkbox@1.3.41
|
|
11
|
+
- @sproutsocial/seeds-react-input@1.5.26
|
|
12
|
+
- @sproutsocial/seeds-react-switch@1.2.39
|
|
13
|
+
- @sproutsocial/seeds-react-token-input@1.4.48
|
|
14
|
+
- @sproutsocial/seeds-react-popout@2.5.9
|
|
15
|
+
|
|
16
|
+
## 1.15.9
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- @sproutsocial/seeds-react-checkbox@1.3.40
|
|
21
|
+
- @sproutsocial/seeds-react-input@1.5.25
|
|
22
|
+
- @sproutsocial/seeds-react-label@1.0.22
|
|
23
|
+
- @sproutsocial/seeds-react-radio@1.3.22
|
|
24
|
+
- @sproutsocial/seeds-react-token-input@1.4.47
|
|
25
|
+
|
|
26
|
+
## 1.15.8
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [456a20f]
|
|
31
|
+
- Updated dependencies [5892f44]
|
|
32
|
+
- @sproutsocial/seeds-react-button@2.2.0
|
|
33
|
+
- @sproutsocial/seeds-react-system-props@3.1.1
|
|
34
|
+
- @sproutsocial/seeds-react-input@1.5.24
|
|
35
|
+
- @sproutsocial/seeds-react-popout@2.5.8
|
|
36
|
+
- @sproutsocial/seeds-react-box@1.1.21
|
|
37
|
+
- @sproutsocial/seeds-react-checkbox@1.3.39
|
|
38
|
+
- @sproutsocial/seeds-react-icon@2.3.13
|
|
39
|
+
- @sproutsocial/seeds-react-label@1.0.21
|
|
40
|
+
- @sproutsocial/seeds-react-radio@1.3.21
|
|
41
|
+
- @sproutsocial/seeds-react-switch@1.2.38
|
|
42
|
+
- @sproutsocial/seeds-react-token-input@1.4.46
|
|
43
|
+
|
|
44
|
+
## 1.15.7
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [5114a32]
|
|
49
|
+
- Updated dependencies [a0fe3d3]
|
|
50
|
+
- @sproutsocial/seeds-react-theme@4.1.0
|
|
51
|
+
- @sproutsocial/seeds-react-button@2.1.3
|
|
52
|
+
- @sproutsocial/seeds-react-box@1.1.20
|
|
53
|
+
- @sproutsocial/seeds-react-icon@2.3.12
|
|
54
|
+
- @sproutsocial/seeds-react-label@1.0.20
|
|
55
|
+
- @sproutsocial/seeds-react-token-input@1.4.45
|
|
56
|
+
- @sproutsocial/seeds-react-input@1.5.23
|
|
57
|
+
- @sproutsocial/seeds-react-popout@2.5.7
|
|
58
|
+
- @sproutsocial/seeds-react-checkbox@1.3.38
|
|
59
|
+
- @sproutsocial/seeds-react-switch@1.2.37
|
|
60
|
+
- @sproutsocial/seeds-react-radio@1.3.20
|
|
61
|
+
|
|
62
|
+
## 1.15.6
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [cb27f07]
|
|
67
|
+
- @sproutsocial/seeds-react-button@2.1.2
|
|
68
|
+
- @sproutsocial/seeds-react-input@1.5.22
|
|
69
|
+
- @sproutsocial/seeds-react-popout@2.5.6
|
|
70
|
+
- @sproutsocial/seeds-react-token-input@1.4.44
|
|
71
|
+
|
|
72
|
+
## 1.15.5
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [40d2dfe]
|
|
77
|
+
- @sproutsocial/seeds-react-button@2.1.1
|
|
78
|
+
- @sproutsocial/seeds-react-input@1.5.21
|
|
79
|
+
- @sproutsocial/seeds-react-popout@2.5.5
|
|
80
|
+
- @sproutsocial/seeds-react-token-input@1.4.43
|
|
81
|
+
|
|
82
|
+
## 1.15.4
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- Updated dependencies [132ef9d]
|
|
87
|
+
- Updated dependencies [132ef9d]
|
|
88
|
+
- Updated dependencies [132ef9d]
|
|
89
|
+
- @sproutsocial/seeds-react-button@2.1.0
|
|
90
|
+
- @sproutsocial/seeds-react-theme@4.0.0
|
|
91
|
+
- @sproutsocial/seeds-react-system-props@3.1.0
|
|
92
|
+
- @sproutsocial/seeds-react-input@1.5.20
|
|
93
|
+
- @sproutsocial/seeds-react-popout@2.5.4
|
|
94
|
+
- @sproutsocial/seeds-react-box@1.1.19
|
|
95
|
+
- @sproutsocial/seeds-react-icon@2.3.11
|
|
96
|
+
- @sproutsocial/seeds-react-label@1.0.19
|
|
97
|
+
- @sproutsocial/seeds-react-token-input@1.4.42
|
|
98
|
+
- @sproutsocial/seeds-react-checkbox@1.3.37
|
|
99
|
+
- @sproutsocial/seeds-react-radio@1.3.19
|
|
100
|
+
- @sproutsocial/seeds-react-switch@1.2.36
|
|
101
|
+
|
|
102
|
+
## 1.15.3
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- @sproutsocial/seeds-react-icon@2.3.10
|
|
107
|
+
- @sproutsocial/seeds-react-popout@2.5.3
|
|
108
|
+
- @sproutsocial/seeds-react-button@2.0.8
|
|
109
|
+
- @sproutsocial/seeds-react-checkbox@1.3.36
|
|
110
|
+
- @sproutsocial/seeds-react-input@1.5.19
|
|
111
|
+
- @sproutsocial/seeds-react-switch@1.2.35
|
|
112
|
+
- @sproutsocial/seeds-react-token-input@1.4.41
|
|
113
|
+
|
|
114
|
+
## 1.15.2
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- Updated dependencies [47c62b3]
|
|
119
|
+
- @sproutsocial/seeds-react-theme@3.7.1
|
|
120
|
+
- @sproutsocial/seeds-react-popout@2.5.2
|
|
121
|
+
- @sproutsocial/seeds-react-box@1.1.18
|
|
122
|
+
- @sproutsocial/seeds-react-icon@2.3.9
|
|
123
|
+
- @sproutsocial/seeds-react-label@1.0.18
|
|
124
|
+
- @sproutsocial/seeds-react-token-input@1.4.40
|
|
125
|
+
- @sproutsocial/seeds-react-input@1.5.18
|
|
126
|
+
- @sproutsocial/seeds-react-checkbox@1.3.35
|
|
127
|
+
- @sproutsocial/seeds-react-button@2.0.7
|
|
128
|
+
- @sproutsocial/seeds-react-switch@1.2.34
|
|
129
|
+
- @sproutsocial/seeds-react-radio@1.3.18
|
|
130
|
+
|
|
131
|
+
## 1.15.1
|
|
132
|
+
|
|
133
|
+
### Patch Changes
|
|
134
|
+
|
|
135
|
+
- Updated dependencies [06da9c2]
|
|
136
|
+
- @sproutsocial/seeds-react-theme@3.7.0
|
|
137
|
+
- @sproutsocial/seeds-react-box@1.1.17
|
|
138
|
+
- @sproutsocial/seeds-react-icon@2.3.8
|
|
139
|
+
- @sproutsocial/seeds-react-label@1.0.17
|
|
140
|
+
- @sproutsocial/seeds-react-token-input@1.4.39
|
|
141
|
+
- @sproutsocial/seeds-react-checkbox@1.3.34
|
|
142
|
+
- @sproutsocial/seeds-react-input@1.5.17
|
|
143
|
+
- @sproutsocial/seeds-react-popout@2.5.1
|
|
144
|
+
- @sproutsocial/seeds-react-button@2.0.6
|
|
145
|
+
- @sproutsocial/seeds-react-switch@1.2.33
|
|
146
|
+
- @sproutsocial/seeds-react-radio@1.3.17
|
|
147
|
+
|
|
148
|
+
## 1.15.0
|
|
149
|
+
|
|
150
|
+
### Minor Changes
|
|
151
|
+
|
|
152
|
+
- 4e5e6a8: Add MenuButton split-button component to the V3 menu package.
|
|
153
|
+
|
|
154
|
+
## 1.14.2
|
|
155
|
+
|
|
156
|
+
### Patch Changes
|
|
157
|
+
|
|
158
|
+
- 35142db: Opt menu popups out of swipe events to prevent parents like Drawer from capturing mouse events
|
|
159
|
+
- be28cf2: Update styling for menu groups in v3 to match old menus more closely
|
|
160
|
+
|
|
161
|
+
## 1.14.1
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- cab0217: sticky filter fix
|
|
166
|
+
|
|
167
|
+
## 1.14.0
|
|
168
|
+
|
|
169
|
+
### Minor Changes
|
|
170
|
+
|
|
171
|
+
- 277bfb0: Fix a batch of UX and accessibility issues in the v3 combobox / searchable-select components (`SingleCombobox`, `MultiCombobox`, `SingleSearchableSelect`, `MultiSearchableSelect`, `SingleSelect`, `MultiSelect`), plus a related Modal v2 fix:
|
|
172
|
+
|
|
173
|
+
- **New `isInvalid` prop** renders the red error border on the input group / trigger and the error color on the chevron, and forwards `aria-invalid` to the underlying input.
|
|
174
|
+
- **`required` is now forwarded as `aria-required`** so screen readers correctly announce required state.
|
|
175
|
+
- **Token chips have a visible gap** (`theme.space[200]`) in `MultiCombobox` instead of butting up against each other.
|
|
176
|
+
- **Escape on a closed combobox no longer clears the input and selection.** A new `useSuppressEscapeClear` hook stops the synthetic Escape event in capture phase when the popup is closed, suppressing Base UI's default clear-on-escape behavior while leaving popup-open Escape and Modal-Escape unaffected.
|
|
177
|
+
- **Escape inside a Modal / Drawer only closes the dropdown**, not the surrounding dialog. Fixed in Modal v2: when an open Base UI popup is detected inside the dialog, the modal's escape handler defers to the popup's own escape handling.
|
|
178
|
+
- **Focus stays on the input when removing a token** in `MultiCombobox` (previously punted to the modal container).
|
|
179
|
+
- **The clear (X) button and token-remove buttons are keyboard-focusable** and render a `:focus-visible` focus ring.
|
|
180
|
+
|
|
181
|
+
### Patch Changes
|
|
182
|
+
|
|
183
|
+
- Updated dependencies [6c3e44e]
|
|
184
|
+
- @sproutsocial/seeds-react-popout@2.5.0
|
|
185
|
+
|
|
3
186
|
## 1.13.0
|
|
4
187
|
|
|
5
188
|
### Minor Changes
|