@atlaskit/select 16.7.0 → 16.7.1
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/CHANGELOG.md +88 -82
- package/dist/cjs/AsyncCreatableSelect.js +1 -2
- package/dist/cjs/AsyncSelect.js +1 -2
- package/dist/cjs/CheckboxSelect.js +1 -2
- package/dist/cjs/CountrySelect.js +1 -2
- package/dist/cjs/CreatableSelect.js +1 -2
- package/dist/cjs/PopupSelect/PopupSelect.js +5 -6
- package/dist/cjs/PopupSelect/components.js +5 -7
- package/dist/cjs/RadioSelect.js +1 -2
- package/dist/cjs/Select.js +4 -6
- package/dist/cjs/components/index.js +2 -4
- package/dist/cjs/components/indicators.js +4 -7
- package/dist/cjs/components/input-aria-describedby.js +2 -3
- package/dist/cjs/components/input-options.js +3 -5
- package/dist/cjs/data/countries.js +3 -5
- package/dist/cjs/utils/grouped-options-announcement.js +2 -3
- package/dist/es2019/Select.js +1 -1
- package/dist/esm/PopupSelect/PopupSelect.js +4 -4
- package/dist/esm/Select.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,77 +1,83 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 16.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40647](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40647) [`0de92f17021`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0de92f17021) - Bump react-focus-lock to latest version
|
|
8
|
+
|
|
3
9
|
## 16.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
- [`31496cc7c8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31496cc7c8a) - [ux] Adds accessible name to the search input for popup select components via new `label` prop or `placeholder` prop if `label` is not provided.
|
|
13
|
+
- [#40209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40209) [`31496cc7c8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31496cc7c8a) - [ux] Adds accessible name to the search input for popup select components via new `label` prop or `placeholder` prop if `label` is not provided.
|
|
8
14
|
|
|
9
15
|
## 16.6.0
|
|
10
16
|
|
|
11
17
|
### Minor Changes
|
|
12
18
|
|
|
13
|
-
- [`f03e630c03e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f03e630c03e) - [ux] Adds keydown handler to target spread props for better accessibility for keyboard users.
|
|
19
|
+
- [#40039](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40039) [`f03e630c03e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f03e630c03e) - [ux] Adds keydown handler to target spread props for better accessibility for keyboard users.
|
|
14
20
|
|
|
15
21
|
## 16.5.14
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`aee1bdd977d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aee1bdd977d) - Update select checkbox and radio icon to have 1px border under FF
|
|
25
|
+
- [#40096](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40096) [`aee1bdd977d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aee1bdd977d) - Update select checkbox and radio icon to have 1px border under FF
|
|
20
26
|
|
|
21
27
|
## 16.5.13
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
- [`a22d71ff733`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a22d71ff733) - [ux] Select component now respects explicitly passed value set to aria-describedby attribute.
|
|
31
|
+
- [#39015](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39015) [`a22d71ff733`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a22d71ff733) - [ux] Select component now respects explicitly passed value set to aria-describedby attribute.
|
|
26
32
|
|
|
27
33
|
## 16.5.12
|
|
28
34
|
|
|
29
35
|
### Patch Changes
|
|
30
36
|
|
|
31
|
-
- [`872a49e0bd8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/872a49e0bd8) - Fixed color contrast for grouped text label in the Select component
|
|
37
|
+
- [#38708](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38708) [`872a49e0bd8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/872a49e0bd8) - Fixed color contrast for grouped text label in the Select component
|
|
32
38
|
|
|
33
39
|
## 16.5.11
|
|
34
40
|
|
|
35
41
|
### Patch Changes
|
|
36
42
|
|
|
37
|
-
- [`479e6a92e33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/479e6a92e33) - Move css styles out to top-level scope for more consistency.
|
|
43
|
+
- [#38796](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38796) [`479e6a92e33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/479e6a92e33) - Move css styles out to top-level scope for more consistency.
|
|
38
44
|
|
|
39
45
|
## 16.5.10
|
|
40
46
|
|
|
41
47
|
### Patch Changes
|
|
42
48
|
|
|
43
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
49
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
44
50
|
- Updated dependencies
|
|
45
51
|
|
|
46
52
|
## 16.5.9
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
- [`2c77d477cbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c77d477cbb) - Ensures static linting occurs in the techstack, fixes one example's eslint error.
|
|
56
|
+
- [#38520](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38520) [`2c77d477cbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c77d477cbb) - Ensures static linting occurs in the techstack, fixes one example's eslint error.
|
|
51
57
|
|
|
52
58
|
## 16.5.8
|
|
53
59
|
|
|
54
60
|
### Patch Changes
|
|
55
61
|
|
|
56
|
-
- [`5c22f7ade33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c22f7ade33) - Convert CSS tagged templates to explicit function calls with objects.
|
|
62
|
+
- [#38518](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38518) [`5c22f7ade33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c22f7ade33) - Convert CSS tagged templates to explicit function calls with objects.
|
|
57
63
|
|
|
58
64
|
## 16.5.7
|
|
59
65
|
|
|
60
66
|
### Patch Changes
|
|
61
67
|
|
|
62
|
-
- [`919bf219a91`](https://bitbucket.org/atlassian/atlassian-frontend/commits/919bf219a91) - use border token for border width
|
|
68
|
+
- [#36663](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36663) [`919bf219a91`](https://bitbucket.org/atlassian/atlassian-frontend/commits/919bf219a91) - use border token for border width
|
|
63
69
|
|
|
64
70
|
## 16.5.6
|
|
65
71
|
|
|
66
72
|
### Patch Changes
|
|
67
73
|
|
|
68
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
74
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
69
75
|
|
|
70
76
|
## 16.5.5
|
|
71
77
|
|
|
72
78
|
### Patch Changes
|
|
73
79
|
|
|
74
|
-
- [`96ac277d0d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96ac277d0d7) - [ux] - created custom onFocus function, which overwrites built in onFocus method for ariaLiveMessages;
|
|
80
|
+
- [#35267](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35267) [`96ac277d0d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96ac277d0d7) - [ux] - created custom onFocus function, which overwrites built in onFocus method for ariaLiveMessages;
|
|
75
81
|
|
|
76
82
|
- function is conditionally invoked only for grouped select options to enable group label announcement with it's group options;
|
|
77
83
|
|
|
@@ -79,73 +85,73 @@
|
|
|
79
85
|
|
|
80
86
|
### Patch Changes
|
|
81
87
|
|
|
82
|
-
- [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
|
|
88
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111) [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
|
|
83
89
|
|
|
84
90
|
## 16.5.3
|
|
85
91
|
|
|
86
92
|
### Patch Changes
|
|
87
93
|
|
|
88
|
-
- [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
|
|
94
|
+
- [#34881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34881) [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
|
|
89
95
|
|
|
90
96
|
## 16.5.2
|
|
91
97
|
|
|
92
98
|
### Patch Changes
|
|
93
99
|
|
|
94
|
-
- [`449ab6d341b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ab6d341b) - Clear control keyboard access for Select component
|
|
100
|
+
- [#33774](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33774) [`449ab6d341b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ab6d341b) - Clear control keyboard access for Select component
|
|
95
101
|
|
|
96
102
|
## 16.5.1
|
|
97
103
|
|
|
98
104
|
### Patch Changes
|
|
99
105
|
|
|
100
|
-
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
106
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
101
107
|
|
|
102
108
|
## 16.5.0
|
|
103
109
|
|
|
104
110
|
### Minor Changes
|
|
105
111
|
|
|
106
|
-
- [`3c38b01cfd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c38b01cfd9) - Added screen reader text to announce multi selects support multiple options. This will be announced prior to any placeholder text.
|
|
112
|
+
- [#34303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34303) [`3c38b01cfd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c38b01cfd9) - Added screen reader text to announce multi selects support multiple options. This will be announced prior to any placeholder text.
|
|
107
113
|
|
|
108
114
|
## 16.4.0
|
|
109
115
|
|
|
110
116
|
### Minor Changes
|
|
111
117
|
|
|
112
|
-
- [`45bcfb68efb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45bcfb68efb) - Testing behind a feature flag: reduce re-renders in `<PopupSelect>` by using an available renderProps to both disable and block scrolling at the right time as well as avoid rendering the `<Select>` to a portal not visible to the user.
|
|
118
|
+
- [#34251](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34251) [`45bcfb68efb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45bcfb68efb) - Testing behind a feature flag: reduce re-renders in `<PopupSelect>` by using an available renderProps to both disable and block scrolling at the right time as well as avoid rendering the `<Select>` to a portal not visible to the user.
|
|
113
119
|
|
|
114
120
|
## 16.3.1
|
|
115
121
|
|
|
116
122
|
### Patch Changes
|
|
117
123
|
|
|
118
|
-
- [`1cd0d824b3c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cd0d824b3c) - NO-ISSUE Add basic memoization on CheckboxSelect and RadioSelect to avoid unnecessary re-renders with otherwise static references.
|
|
124
|
+
- [#34230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34230) [`1cd0d824b3c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cd0d824b3c) - NO-ISSUE Add basic memoization on CheckboxSelect and RadioSelect to avoid unnecessary re-renders with otherwise static references.
|
|
119
125
|
|
|
120
126
|
## 16.3.0
|
|
121
127
|
|
|
122
128
|
### Minor Changes
|
|
123
129
|
|
|
124
|
-
- [`6e51e0d5358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e51e0d5358) - [ux] update border width from 2px to 1px and add 1px box-shadow when focus or error
|
|
130
|
+
- [#33475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33475) [`6e51e0d5358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e51e0d5358) - [ux] update border width from 2px to 1px and add 1px box-shadow when focus or error
|
|
125
131
|
|
|
126
132
|
## 16.2.3
|
|
127
133
|
|
|
128
134
|
### Patch Changes
|
|
129
135
|
|
|
130
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
136
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
131
137
|
|
|
132
138
|
## 16.2.2
|
|
133
139
|
|
|
134
140
|
### Patch Changes
|
|
135
141
|
|
|
136
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
142
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
137
143
|
|
|
138
144
|
## 16.2.1
|
|
139
145
|
|
|
140
146
|
### Patch Changes
|
|
141
147
|
|
|
142
|
-
- [`ffeeae59446`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffeeae59446) - Migrates unit tests from enzyme to RTL.
|
|
148
|
+
- [#32947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32947) [`ffeeae59446`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffeeae59446) - Migrates unit tests from enzyme to RTL.
|
|
143
149
|
|
|
144
150
|
## 16.2.0
|
|
145
151
|
|
|
146
152
|
### Minor Changes
|
|
147
153
|
|
|
148
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
154
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
149
155
|
|
|
150
156
|
### Patch Changes
|
|
151
157
|
|
|
@@ -155,31 +161,31 @@
|
|
|
155
161
|
|
|
156
162
|
### Patch Changes
|
|
157
163
|
|
|
158
|
-
- [`79ddcb13067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79ddcb13067) - [ux] style(select): update fallback of select placeholder to N200'
|
|
164
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`79ddcb13067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79ddcb13067) - [ux] style(select): update fallback of select placeholder to N200'
|
|
159
165
|
|
|
160
166
|
## 16.1.8
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
- [`8a8aac2b848`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a8aac2b848) - [ux] Adds proper disabled styling to the isMulti component.
|
|
170
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`8a8aac2b848`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a8aac2b848) - [ux] Adds proper disabled styling to the isMulti component.
|
|
165
171
|
|
|
166
172
|
## 16.1.7
|
|
167
173
|
|
|
168
174
|
### Patch Changes
|
|
169
175
|
|
|
170
|
-
- [`c3a92e0b058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3a92e0b058) - Export placeholder props from figma plugin
|
|
176
|
+
- [#31495](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31495) [`c3a92e0b058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3a92e0b058) - Export placeholder props from figma plugin
|
|
171
177
|
|
|
172
178
|
## 16.1.6
|
|
173
179
|
|
|
174
180
|
### Patch Changes
|
|
175
181
|
|
|
176
|
-
- [`74c1b81a476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74c1b81a476) - Replaces use of `gridSize` with space tokens. There is no expected visual change.
|
|
182
|
+
- [#31338](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31338) [`74c1b81a476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74c1b81a476) - Replaces use of `gridSize` with space tokens. There is no expected visual change.
|
|
177
183
|
|
|
178
184
|
## 16.1.5
|
|
179
185
|
|
|
180
186
|
### Patch Changes
|
|
181
187
|
|
|
182
|
-
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
188
|
+
- [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125) [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
183
189
|
|
|
184
190
|
## 16.1.4
|
|
185
191
|
|
|
@@ -191,26 +197,26 @@
|
|
|
191
197
|
|
|
192
198
|
### Patch Changes
|
|
193
199
|
|
|
194
|
-
- [`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement `utilities.UNSAFE.transparent`
|
|
200
|
+
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement `utilities.UNSAFE.transparent`
|
|
195
201
|
- Updated dependencies
|
|
196
202
|
|
|
197
203
|
## 16.1.2
|
|
198
204
|
|
|
199
205
|
### Patch Changes
|
|
200
206
|
|
|
201
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
207
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
202
208
|
|
|
203
209
|
## 16.1.1
|
|
204
210
|
|
|
205
211
|
### Patch Changes
|
|
206
212
|
|
|
207
|
-
- [`81bb765f055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81bb765f055) - Missing export for type MultiValueRemoveProps added
|
|
213
|
+
- [#29396](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29396) [`81bb765f055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81bb765f055) - Missing export for type MultiValueRemoveProps added
|
|
208
214
|
|
|
209
215
|
## 16.1.0
|
|
210
216
|
|
|
211
217
|
### Minor Changes
|
|
212
218
|
|
|
213
|
-
- [`017e3dccdf3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/017e3dccdf3) - Add SelectInstance for export
|
|
219
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`017e3dccdf3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/017e3dccdf3) - Add SelectInstance for export
|
|
214
220
|
- [`2368982b4d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2368982b4d2) - Add MultiValueRemoveProps, SelectInstance to export
|
|
215
221
|
|
|
216
222
|
### Patch Changes
|
|
@@ -233,7 +239,7 @@
|
|
|
233
239
|
|
|
234
240
|
### Patch Changes
|
|
235
241
|
|
|
236
|
-
- [`e7046ed0fb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7046ed0fb1) - - Add MultiValueRemoveProps to export
|
|
242
|
+
- [#27813](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27813) [`e7046ed0fb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7046ed0fb1) - - Add MultiValueRemoveProps to export
|
|
237
243
|
- Add SelectInstance for export
|
|
238
244
|
- Revert the onOpen and onClose logic in PopupSelect
|
|
239
245
|
|
|
@@ -241,7 +247,7 @@
|
|
|
241
247
|
|
|
242
248
|
### Major Changes
|
|
243
249
|
|
|
244
|
-
- [`95b3630e9b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95b3630e9b5) - Update `@atlaskit/select` to use react-select v5, and update types
|
|
250
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`95b3630e9b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95b3630e9b5) - Update `@atlaskit/select` to use react-select v5, and update types
|
|
245
251
|
|
|
246
252
|
Use forwardRef for all wrapped components - this means that if you were accessing anything on the Select instance using a ref, the ref will now reference the internal Select directly (see below for how to upgrade)
|
|
247
253
|
|
|
@@ -340,7 +346,7 @@
|
|
|
340
346
|
|
|
341
347
|
### Patch Changes
|
|
342
348
|
|
|
343
|
-
- [`8048ae661df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8048ae661df) - [ux] Fixed bug where consumers extending the styles of PopupSelect would not receive the correct base styles in their custom styles functions.
|
|
349
|
+
- [#27523](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27523) [`8048ae661df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8048ae661df) - [ux] Fixed bug where consumers extending the styles of PopupSelect would not receive the correct base styles in their custom styles functions.
|
|
344
350
|
|
|
345
351
|
## 15.7.6
|
|
346
352
|
|
|
@@ -352,38 +358,38 @@
|
|
|
352
358
|
|
|
353
359
|
### Patch Changes
|
|
354
360
|
|
|
355
|
-
- [`a0bf7e532ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0bf7e532ff) - Fix validationState taking precedent over isInvalid
|
|
361
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`a0bf7e532ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0bf7e532ff) - Fix validationState taking precedent over isInvalid
|
|
356
362
|
- Updated dependencies
|
|
357
363
|
|
|
358
364
|
## 15.7.4
|
|
359
365
|
|
|
360
366
|
### Patch Changes
|
|
361
367
|
|
|
362
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
368
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
363
369
|
|
|
364
370
|
## 15.7.3
|
|
365
371
|
|
|
366
372
|
### Patch Changes
|
|
367
373
|
|
|
368
|
-
- [`5e578b89178`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e578b89178) - Fixed an issue in PopupSelect that caused the page to scroll to the top.
|
|
374
|
+
- [#25307](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25307) [`5e578b89178`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e578b89178) - Fixed an issue in PopupSelect that caused the page to scroll to the top.
|
|
369
375
|
|
|
370
376
|
## 15.7.2
|
|
371
377
|
|
|
372
378
|
### Patch Changes
|
|
373
379
|
|
|
374
|
-
- [`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update hover state appearance of subtle Textarea, Textfield and Select components to match the hover states of their default counterparts.
|
|
380
|
+
- [#25314](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25314) [`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update hover state appearance of subtle Textarea, Textfield and Select components to match the hover states of their default counterparts.
|
|
375
381
|
|
|
376
382
|
## 15.7.1
|
|
377
383
|
|
|
378
384
|
### Patch Changes
|
|
379
385
|
|
|
380
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
386
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
381
387
|
|
|
382
388
|
## 15.7.0
|
|
383
389
|
|
|
384
390
|
### Minor Changes
|
|
385
391
|
|
|
386
|
-
- [`0fbb2840aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fbb2840aba) - Add isInvalid prop to `@atlastkit/Select`. The prop indicates whether if the component is in the error state. If true, it visually shows a red border around the input.
|
|
392
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`0fbb2840aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fbb2840aba) - Add isInvalid prop to `@atlastkit/Select`. The prop indicates whether if the component is in the error state. If true, it visually shows a red border around the input.
|
|
387
393
|
|
|
388
394
|
This replaces validationState to make Select more consistent like other components that uses isInvalid prop.
|
|
389
395
|
|
|
@@ -401,25 +407,25 @@
|
|
|
401
407
|
|
|
402
408
|
### Patch Changes
|
|
403
409
|
|
|
404
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
410
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
405
411
|
|
|
406
412
|
## 15.6.1
|
|
407
413
|
|
|
408
414
|
### Patch Changes
|
|
409
415
|
|
|
410
|
-
- [`d9f112c7b09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f112c7b09) - Reverts change to multiSelect's remove behaviour when using tokens, fixing issue with a pointer-events: none style
|
|
416
|
+
- [#24436](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24436) [`d9f112c7b09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f112c7b09) - Reverts change to multiSelect's remove behaviour when using tokens, fixing issue with a pointer-events: none style
|
|
411
417
|
|
|
412
418
|
## 15.6.0
|
|
413
419
|
|
|
414
420
|
### Minor Changes
|
|
415
421
|
|
|
416
|
-
- [`68cc8008851`](https://bitbucket.org/atlassian/atlassian-frontend/commits/68cc8008851) - [ux] Introduces appearance prop to component, with 'default', 'subtle' and 'none' variants
|
|
422
|
+
- [#24008](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24008) [`68cc8008851`](https://bitbucket.org/atlassian/atlassian-frontend/commits/68cc8008851) - [ux] Introduces appearance prop to component, with 'default', 'subtle' and 'none' variants
|
|
417
423
|
|
|
418
424
|
## 15.5.0
|
|
419
425
|
|
|
420
426
|
### Minor Changes
|
|
421
427
|
|
|
422
|
-
- [`c17c6943be2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c17c6943be2) - Updated appearance of multi-select tags; when delete button is hovered, the appearance now matches @atlaskit/tag. The change is only visible with design token CSS enabled (in light or dark mode)
|
|
428
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`c17c6943be2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c17c6943be2) - Updated appearance of multi-select tags; when delete button is hovered, the appearance now matches @atlaskit/tag. The change is only visible with design token CSS enabled (in light or dark mode)
|
|
423
429
|
- [`45cae79ec0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45cae79ec0f) - [ux] Internal changes to <CountrySelect /> to no longer override container and menu width. The behaviour is now the same as the default Select component. Visual changes are possible if the <CountrySelect /> is being used in an unconstrained container (it will now expand to fill as is the default).
|
|
424
430
|
|
|
425
431
|
Component now also uses the correct types (previously set to `any`). Props are still passed through so there is no runtime effect, but this may effect compilation for users providing props that are unsupported by the runtime.
|
|
@@ -436,26 +442,26 @@
|
|
|
436
442
|
|
|
437
443
|
### Minor Changes
|
|
438
444
|
|
|
439
|
-
- [`4609a8a733a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4609a8a733a) - Made SelectWithoutAnalytics component and InputActionMeta type available from @atlaskit/select
|
|
445
|
+
- [#22818](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22818) [`4609a8a733a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4609a8a733a) - Made SelectWithoutAnalytics component and InputActionMeta type available from @atlaskit/select
|
|
440
446
|
|
|
441
447
|
## 15.3.2
|
|
442
448
|
|
|
443
449
|
### Patch Changes
|
|
444
450
|
|
|
445
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
451
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614) [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
446
452
|
|
|
447
453
|
## 15.3.1
|
|
448
454
|
|
|
449
455
|
### Patch Changes
|
|
450
456
|
|
|
451
|
-
- [`8f6f225ac11`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f6f225ac11) - Updated prop types for Popup Select
|
|
457
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`8f6f225ac11`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f6f225ac11) - Updated prop types for Popup Select
|
|
452
458
|
- [`e4b612d1c48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4b612d1c48) - Internal migration to bind-event-listener for safer DOM Event cleanup
|
|
453
459
|
|
|
454
460
|
## 15.3.0
|
|
455
461
|
|
|
456
462
|
### Minor Changes
|
|
457
463
|
|
|
458
|
-
- [`145c9cea461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/145c9cea461) - [ux] Added 2 new props for controlling the open state of PopupSelect:
|
|
464
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`145c9cea461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/145c9cea461) - [ux] Added 2 new props for controlling the open state of PopupSelect:
|
|
459
465
|
|
|
460
466
|
- `isOpen` controls whether the popup is open (controlled)
|
|
461
467
|
- `defaultIsOpen` controls whether the popup is initially open on mount (uncontrolled)
|
|
@@ -476,7 +482,7 @@
|
|
|
476
482
|
|
|
477
483
|
### Patch Changes
|
|
478
484
|
|
|
479
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
485
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
480
486
|
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Updated types for @atlaskit/select to support Typescript 4.2.4
|
|
481
487
|
|
|
482
488
|
## 15.2.11
|
|
@@ -489,7 +495,7 @@
|
|
|
489
495
|
|
|
490
496
|
### Patch Changes
|
|
491
497
|
|
|
492
|
-
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
498
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
493
499
|
- Updated dependencies
|
|
494
500
|
|
|
495
501
|
## 15.2.9
|
|
@@ -502,7 +508,7 @@
|
|
|
502
508
|
|
|
503
509
|
### Patch Changes
|
|
504
510
|
|
|
505
|
-
- [`b2c25c19e38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2c25c19e38) - PopupSelect now uses `@atlaskit/visually-hidden` under the hood.
|
|
511
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`b2c25c19e38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2c25c19e38) - PopupSelect now uses `@atlaskit/visually-hidden` under the hood.
|
|
506
512
|
- Updated dependencies
|
|
507
513
|
|
|
508
514
|
## 15.2.7
|
|
@@ -524,27 +530,27 @@
|
|
|
524
530
|
|
|
525
531
|
### Patch Changes
|
|
526
532
|
|
|
527
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
533
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
528
534
|
- Updated dependencies
|
|
529
535
|
|
|
530
536
|
## 15.2.4
|
|
531
537
|
|
|
532
538
|
### Patch Changes
|
|
533
539
|
|
|
534
|
-
- [`401179b652b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/401179b652b) - PopupSelect now returns focus to the "trigger" element on close.
|
|
540
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`401179b652b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/401179b652b) - PopupSelect now returns focus to the "trigger" element on close.
|
|
535
541
|
- Updated dependencies
|
|
536
542
|
|
|
537
543
|
## 15.2.3
|
|
538
544
|
|
|
539
545
|
### Patch Changes
|
|
540
546
|
|
|
541
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
547
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694) [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
542
548
|
|
|
543
549
|
## 15.2.2
|
|
544
550
|
|
|
545
551
|
### Patch Changes
|
|
546
552
|
|
|
547
|
-
- [`6fb4421c4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fb4421c4c1) - Fixed the validation token for Select in the Dark theme.
|
|
553
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`6fb4421c4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fb4421c4c1) - Fixed the validation token for Select in the Dark theme.
|
|
548
554
|
- Updated dependencies
|
|
549
555
|
|
|
550
556
|
## 15.2.1
|
|
@@ -557,7 +563,7 @@
|
|
|
557
563
|
|
|
558
564
|
### Minor Changes
|
|
559
565
|
|
|
560
|
-
- [`f7cbc6631cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7cbc6631cf) - Instrumented select with the new theming package, `@atlaskit/tokens`.
|
|
566
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`f7cbc6631cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7cbc6631cf) - Instrumented select with the new theming package, `@atlaskit/tokens`.
|
|
561
567
|
|
|
562
568
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
563
569
|
|
|
@@ -572,26 +578,26 @@
|
|
|
572
578
|
|
|
573
579
|
### Minor Changes
|
|
574
580
|
|
|
575
|
-
- [`1dfc276fa55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dfc276fa55) - Expose InputActionMeta in atlaskit/select. Convert withSmarts from class to function component. Fix analytics.
|
|
581
|
+
- [#13477](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13477) [`1dfc276fa55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dfc276fa55) - Expose InputActionMeta in atlaskit/select. Convert withSmarts from class to function component. Fix analytics.
|
|
576
582
|
|
|
577
583
|
## 15.0.2
|
|
578
584
|
|
|
579
585
|
### Patch Changes
|
|
580
586
|
|
|
581
|
-
- [`ce350569ced`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce350569ced) - The `aria-live` prop is now `assertive` by default to help option selection to stay in sync with screen reader announcements.
|
|
587
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`ce350569ced`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce350569ced) - The `aria-live` prop is now `assertive` by default to help option selection to stay in sync with screen reader announcements.
|
|
582
588
|
- Updated dependencies
|
|
583
589
|
|
|
584
590
|
## 15.0.1
|
|
585
591
|
|
|
586
592
|
### Patch Changes
|
|
587
593
|
|
|
588
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
594
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
589
595
|
|
|
590
596
|
## 15.0.0
|
|
591
597
|
|
|
592
598
|
### Major Changes
|
|
593
599
|
|
|
594
|
-
- [`8c9055949d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9055949d4) - [ux] Options and Placeholders are now easier to see for users with low vision. We have also improved the experience in Windows High Contrast Mode.
|
|
600
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`8c9055949d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9055949d4) - [ux] Options and Placeholders are now easier to see for users with low vision. We have also improved the experience in Windows High Contrast Mode.
|
|
595
601
|
|
|
596
602
|
### Patch Changes
|
|
597
603
|
|
|
@@ -602,7 +608,7 @@
|
|
|
602
608
|
|
|
603
609
|
### Minor Changes
|
|
604
610
|
|
|
605
|
-
- [`1ffa16e7d54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ffa16e7d54) - [ux] An argument of `PopupSelect`'s `target` render props was extended with `aria-haspopup`, `aria-expanded`, and `aria-controls` fields . You should pass this fields to custom trigger like `({isOpen, ...triggerProps}) => <button {...triggerProps}>Trigger</button>`. Provided aria attributes help users who use assistive technologies understand a component better.
|
|
611
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`1ffa16e7d54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ffa16e7d54) - [ux] An argument of `PopupSelect`'s `target` render props was extended with `aria-haspopup`, `aria-expanded`, and `aria-controls` fields . You should pass this fields to custom trigger like `({isOpen, ...triggerProps}) => <button {...triggerProps}>Trigger</button>`. Provided aria attributes help users who use assistive technologies understand a component better.
|
|
606
612
|
|
|
607
613
|
### Patch Changes
|
|
608
614
|
|
|
@@ -612,13 +618,13 @@
|
|
|
612
618
|
|
|
613
619
|
### Patch Changes
|
|
614
620
|
|
|
615
|
-
- [`76f16d562bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76f16d562bc) - Removed styled-components as a peerDependency
|
|
621
|
+
- [#12205](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12205) [`76f16d562bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76f16d562bc) - Removed styled-components as a peerDependency
|
|
616
622
|
|
|
617
623
|
## 14.0.0
|
|
618
624
|
|
|
619
625
|
### Major Changes
|
|
620
626
|
|
|
621
|
-
- [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4. This brings some API changes and it uses `emotion` v11.
|
|
627
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4. This brings some API changes and it uses `emotion` v11.
|
|
622
628
|
|
|
623
629
|
### Patch Changes
|
|
624
630
|
|
|
@@ -629,20 +635,20 @@
|
|
|
629
635
|
|
|
630
636
|
### Patch Changes
|
|
631
637
|
|
|
632
|
-
- [`0e3333cd10a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e3333cd10a) - Corrects usage of modal dialog types.
|
|
638
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`0e3333cd10a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e3333cd10a) - Corrects usage of modal dialog types.
|
|
633
639
|
- Updated dependencies
|
|
634
640
|
|
|
635
641
|
## 13.3.0
|
|
636
642
|
|
|
637
643
|
### Minor Changes
|
|
638
644
|
|
|
639
|
-
- [`0115b3b722b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0115b3b722b) - Update PopupSelect dependency `@popperjs/core` to `^2.9.1`, fixing some positioning bugs, such as in parents with `will-change` CSS properties set. For more information on the specific changes, see the popper docs.
|
|
645
|
+
- [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388) [`0115b3b722b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0115b3b722b) - Update PopupSelect dependency `@popperjs/core` to `^2.9.1`, fixing some positioning bugs, such as in parents with `will-change` CSS properties set. For more information on the specific changes, see the popper docs.
|
|
640
646
|
|
|
641
647
|
## 13.2.0
|
|
642
648
|
|
|
643
649
|
### Minor Changes
|
|
644
650
|
|
|
645
|
-
- [`c50a63f9f72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50a63f9f72) - Upgrade `@types/react-select` to `v3.1.2` and fix type breaks
|
|
651
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`c50a63f9f72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50a63f9f72) - Upgrade `@types/react-select` to `v3.1.2` and fix type breaks
|
|
646
652
|
|
|
647
653
|
### Patch Changes
|
|
648
654
|
|
|
@@ -653,19 +659,19 @@
|
|
|
653
659
|
|
|
654
660
|
### Patch Changes
|
|
655
661
|
|
|
656
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
662
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
657
663
|
|
|
658
664
|
## 13.1.0
|
|
659
665
|
|
|
660
666
|
### Minor Changes
|
|
661
667
|
|
|
662
|
-
- [`c3d2088249`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3d2088249) - expose GroupedOptionsType type
|
|
668
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`c3d2088249`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3d2088249) - expose GroupedOptionsType type
|
|
663
669
|
|
|
664
670
|
## 13.0.6
|
|
665
671
|
|
|
666
672
|
### Patch Changes
|
|
667
673
|
|
|
668
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
674
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
669
675
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
670
676
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
671
677
|
|
|
@@ -679,19 +685,19 @@
|
|
|
679
685
|
|
|
680
686
|
### Patch Changes
|
|
681
687
|
|
|
682
|
-
- [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix codemod utilities being exposed through the codemod cli
|
|
688
|
+
- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346) [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix codemod utilities being exposed through the codemod cli
|
|
683
689
|
|
|
684
690
|
## 13.0.3
|
|
685
691
|
|
|
686
692
|
### Patch Changes
|
|
687
693
|
|
|
688
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
694
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
689
695
|
|
|
690
696
|
## 13.0.2
|
|
691
697
|
|
|
692
698
|
### Patch Changes
|
|
693
699
|
|
|
694
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
700
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
695
701
|
|
|
696
702
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
697
703
|
to prevent duplicates of tslib being bundled.
|
|
@@ -700,13 +706,13 @@
|
|
|
700
706
|
|
|
701
707
|
### Patch Changes
|
|
702
708
|
|
|
703
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
709
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
704
710
|
|
|
705
711
|
## 13.0.0
|
|
706
712
|
|
|
707
713
|
### Major Changes
|
|
708
714
|
|
|
709
|
-
- [`b85482c030`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85482c030) - Upgraded Popper JS to version 2.2.3, which comes with bug fixes, performance improvements and a reduced bundle size when combined with @popperjs/core. As a result, PopupSelect has some changes to the values accepted by the `popperProps` prop.
|
|
715
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`b85482c030`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85482c030) - Upgraded Popper JS to version 2.2.3, which comes with bug fixes, performance improvements and a reduced bundle size when combined with @popperjs/core. As a result, PopupSelect has some changes to the values accepted by the `popperProps` prop.
|
|
710
716
|
|
|
711
717
|
Changes labelled with ⚙️ have codemod support:
|
|
712
718
|
|
|
@@ -735,7 +741,7 @@
|
|
|
735
741
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
736
742
|
|
|
737
743
|
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
738
|
-
For Atlassians, refer to [this doc](https://
|
|
744
|
+
For Atlassians, refer to [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
739
745
|
|
|
740
746
|
### Patch Changes
|
|
741
747
|
|
|
@@ -746,19 +752,19 @@
|
|
|
746
752
|
|
|
747
753
|
### Patch Changes
|
|
748
754
|
|
|
749
|
-
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
755
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
750
756
|
|
|
751
757
|
## 12.0.1
|
|
752
758
|
|
|
753
759
|
### Patch Changes
|
|
754
760
|
|
|
755
|
-
- [`5ccf97c849`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ccf97c849) - Popup Select click and keydown events would not bubble if parent element stopped propagation. Have changed these events to use capture mode instead.
|
|
761
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`5ccf97c849`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ccf97c849) - Popup Select click and keydown events would not bubble if parent element stopped propagation. Have changed these events to use capture mode instead.
|
|
756
762
|
|
|
757
763
|
## 12.0.0
|
|
758
764
|
|
|
759
765
|
### Major Changes
|
|
760
766
|
|
|
761
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
767
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
762
768
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
763
769
|
|
|
764
770
|
### Patch Changes
|
|
@@ -775,13 +781,13 @@
|
|
|
775
781
|
|
|
776
782
|
### Patch Changes
|
|
777
783
|
|
|
778
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
784
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
779
785
|
|
|
780
786
|
## 11.0.12
|
|
781
787
|
|
|
782
788
|
### Patch Changes
|
|
783
789
|
|
|
784
|
-
- [`6aec273747`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6aec273747) - FIX: Dropdown chevron fixed to reflect ADG spec
|
|
790
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`6aec273747`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6aec273747) - FIX: Dropdown chevron fixed to reflect ADG spec
|
|
785
791
|
- Updated dependencies
|
|
786
792
|
|
|
787
793
|
## 11.0.11
|
|
@@ -7,5 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _asyncCreatable = _interopRequireDefault(require("react-select/async-creatable"));
|
|
9
9
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
10
|
-
var _default = (0, _createSelect.default)(_asyncCreatable.default);
|
|
11
|
-
exports.default = _default;
|
|
10
|
+
var _default = exports.default = (0, _createSelect.default)(_asyncCreatable.default);
|
package/dist/cjs/AsyncSelect.js
CHANGED
|
@@ -7,5 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _async = _interopRequireDefault(require("react-select/async"));
|
|
9
9
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
10
|
-
var _default = (0, _createSelect.default)(_async.default);
|
|
11
|
-
exports.default = _default;
|
|
10
|
+
var _default = exports.default = (0, _createSelect.default)(_async.default);
|
|
@@ -7,5 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _creatable = _interopRequireDefault(require("react-select/creatable"));
|
|
9
9
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
10
|
-
var _default = (0, _createSelect.default)(_creatable.default);
|
|
11
|
-
exports.default = _default;
|
|
10
|
+
var _default = exports.default = (0, _createSelect.default)(_creatable.default);
|
|
@@ -69,7 +69,7 @@ var defaultPopperProps = {
|
|
|
69
69
|
var isEmpty = function isEmpty(obj) {
|
|
70
70
|
return Object.keys(obj).length === 0;
|
|
71
71
|
};
|
|
72
|
-
var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
72
|
+
var PopupSelect = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
73
73
|
(0, _inherits2.default)(PopupSelect, _PureComponent);
|
|
74
74
|
var _super = _createSuper(PopupSelect);
|
|
75
75
|
function PopupSelect() {
|
|
@@ -234,7 +234,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
234
234
|
if (typeof window === 'undefined') {
|
|
235
235
|
return;
|
|
236
236
|
}
|
|
237
|
-
(_this$unbindWindowKey = (_this2 = _this).unbindWindowKeydown) === null || _this$unbindWindowKey === void 0
|
|
237
|
+
(_this$unbindWindowKey = (_this2 = _this).unbindWindowKeydown) === null || _this$unbindWindowKey === void 0 || _this$unbindWindowKey.call(_this2);
|
|
238
238
|
_this.unbindWindowKeydown = null;
|
|
239
239
|
});
|
|
240
240
|
// Refs
|
|
@@ -359,7 +359,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
359
359
|
onFirstUpdate: function onFirstUpdate(state) {
|
|
360
360
|
var _mergedPopperProps$on;
|
|
361
361
|
_this.handleFirstPopperUpdate();
|
|
362
|
-
(_mergedPopperProps$on = mergedPopperProps.onFirstUpdate) === null || _mergedPopperProps$on === void 0
|
|
362
|
+
(_mergedPopperProps$on = mergedPopperProps.onFirstUpdate) === null || _mergedPopperProps$on === void 0 || _mergedPopperProps$on.call(mergedPopperProps, state);
|
|
363
363
|
}
|
|
364
364
|
}), function (_ref2) {
|
|
365
365
|
var placement = _ref2.placement,
|
|
@@ -433,9 +433,9 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
433
433
|
if (typeof window === 'undefined') {
|
|
434
434
|
return;
|
|
435
435
|
}
|
|
436
|
-
(_this$unbindWindowCli = this.unbindWindowClick) === null || _this$unbindWindowCli === void 0
|
|
436
|
+
(_this$unbindWindowCli = this.unbindWindowClick) === null || _this$unbindWindowCli === void 0 || _this$unbindWindowCli.call(this);
|
|
437
437
|
this.unbindWindowClick = null;
|
|
438
|
-
(_this$unbindWindowKey2 = this.unbindWindowKeydown) === null || _this$unbindWindowKey2 === void 0
|
|
438
|
+
(_this$unbindWindowKey2 = this.unbindWindowKeydown) === null || _this$unbindWindowKey2 === void 0 || _this$unbindWindowKey2.call(this);
|
|
439
439
|
this.unbindWindowKeydown = null;
|
|
440
440
|
}
|
|
441
441
|
}, {
|
|
@@ -496,7 +496,6 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
496
496
|
}]);
|
|
497
497
|
return PopupSelect;
|
|
498
498
|
}(_react.PureComponent);
|
|
499
|
-
exports.default = PopupSelect;
|
|
500
499
|
(0, _defineProperty2.default)(PopupSelect, "defaultProps", {
|
|
501
500
|
closeMenuOnSelect: true,
|
|
502
501
|
components: {},
|
|
@@ -25,7 +25,7 @@ var menuDialogStyles = (0, _react.css)({
|
|
|
25
25
|
boxShadow: "var(--ds-shadow-overlay, ".concat("0 0 0 1px ".concat(_colors.N40A, ", 0 4px 11px ").concat(_colors.N40A), ")"),
|
|
26
26
|
zIndex: _constants.layers.modal()
|
|
27
27
|
});
|
|
28
|
-
var MenuDialog = function MenuDialog(_ref) {
|
|
28
|
+
var MenuDialog = exports.MenuDialog = function MenuDialog(_ref) {
|
|
29
29
|
var maxWidth = _ref.maxWidth,
|
|
30
30
|
minWidth = _ref.minWidth,
|
|
31
31
|
children = _ref.children,
|
|
@@ -50,7 +50,7 @@ var MenuDialog = function MenuDialog(_ref) {
|
|
|
50
50
|
// ==============================
|
|
51
51
|
// Custom Components
|
|
52
52
|
// ==============================
|
|
53
|
-
|
|
53
|
+
|
|
54
54
|
var dropdownStyles = (0, _react.css)({
|
|
55
55
|
marginRight: "var(--ds-space-025, 2px)",
|
|
56
56
|
textAlign: 'center',
|
|
@@ -77,21 +77,19 @@ var Control = function Control(_ref2) {
|
|
|
77
77
|
innerProps: innerProps
|
|
78
78
|
})));
|
|
79
79
|
};
|
|
80
|
-
var DummyControl = function DummyControl(props) {
|
|
80
|
+
var DummyControl = exports.DummyControl = function DummyControl(props) {
|
|
81
81
|
return (0, _react.jsx)(_visuallyHidden.default, null, (0, _react.jsx)(_reactSelect.components.Control, props));
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
// NOTE `props` intentionally omitted from `Fragment`
|
|
85
|
-
exports.DummyControl = DummyControl;
|
|
86
85
|
var Menu = function Menu(_ref3) {
|
|
87
86
|
var children = _ref3.children,
|
|
88
87
|
innerProps = _ref3.innerProps,
|
|
89
88
|
props = (0, _objectWithoutProperties2.default)(_ref3, _excluded2);
|
|
90
89
|
return (0, _react.jsx)("div", innerProps, children);
|
|
91
90
|
};
|
|
92
|
-
var defaultComponents = {
|
|
91
|
+
var defaultComponents = exports.defaultComponents = {
|
|
93
92
|
Control: Control,
|
|
94
93
|
DropdownIndicator: DropdownIndicator,
|
|
95
94
|
Menu: Menu
|
|
96
|
-
};
|
|
97
|
-
exports.defaultComponents = defaultComponents;
|
|
95
|
+
};
|
package/dist/cjs/RadioSelect.js
CHANGED
package/dist/cjs/Select.js
CHANGED
|
@@ -9,11 +9,10 @@ var _reactSelect = _interopRequireDefault(require("react-select"));
|
|
|
9
9
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
10
10
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
11
11
|
var packageName = "@atlaskit/select";
|
|
12
|
-
var packageVersion = "16.7.
|
|
13
|
-
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
14
|
-
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
12
|
+
var packageVersion = "16.7.1";
|
|
13
|
+
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
15
14
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
16
|
-
var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
15
|
+
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
17
16
|
componentName: 'select',
|
|
18
17
|
packageName: packageName,
|
|
19
18
|
packageVersion: packageVersion
|
|
@@ -27,5 +26,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
|
27
26
|
packageVersion: packageVersion
|
|
28
27
|
}
|
|
29
28
|
})
|
|
30
|
-
})(SelectWithoutAnalytics));
|
|
31
|
-
exports.default = _default;
|
|
29
|
+
})(SelectWithoutAnalytics));
|
|
@@ -36,7 +36,7 @@ var disabledStyles = (0, _react.css)({
|
|
|
36
36
|
var enabledStyles = (0, _react.css)({
|
|
37
37
|
display: 'inherit'
|
|
38
38
|
});
|
|
39
|
-
var MultiValueRemove = function MultiValueRemove(props) {
|
|
39
|
+
var MultiValueRemove = exports.MultiValueRemove = function MultiValueRemove(props) {
|
|
40
40
|
var isDisabled = props.selectProps.isDisabled;
|
|
41
41
|
return (0, _react.jsx)(_reactSelect.components.MultiValueRemove, props, (0, _react.jsx)("div", {
|
|
42
42
|
css: isDisabled ? disabledStyles : enabledStyles,
|
|
@@ -48,6 +48,4 @@ var MultiValueRemove = function MultiValueRemove(props) {
|
|
|
48
48
|
secondaryColor: "inherit"
|
|
49
49
|
})));
|
|
50
50
|
};
|
|
51
|
-
exports.
|
|
52
|
-
var IndicatorSeparator = null;
|
|
53
|
-
exports.IndicatorSeparator = IndicatorSeparator;
|
|
51
|
+
var IndicatorSeparator = exports.IndicatorSeparator = null;
|
|
@@ -20,7 +20,7 @@ var iconContainerStyles = (0, _react.css)({
|
|
|
20
20
|
display: 'flex',
|
|
21
21
|
alignItems: 'center'
|
|
22
22
|
});
|
|
23
|
-
var ClearIndicator = function ClearIndicator(props) {
|
|
23
|
+
var ClearIndicator = exports.ClearIndicator = function ClearIndicator(props) {
|
|
24
24
|
return (0, _react.jsx)(_reactSelect.components.ClearIndicator, _objectSpread(_objectSpread({}, props), {}, {
|
|
25
25
|
innerProps: _objectSpread(_objectSpread({}, props.innerProps), {}, {
|
|
26
26
|
'aria-hidden': 'false'
|
|
@@ -34,14 +34,12 @@ var ClearIndicator = function ClearIndicator(props) {
|
|
|
34
34
|
label: "clear"
|
|
35
35
|
})));
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
var DropdownIndicator = function DropdownIndicator(props) {
|
|
37
|
+
var DropdownIndicator = exports.DropdownIndicator = function DropdownIndicator(props) {
|
|
39
38
|
return (0, _react.jsx)(_reactSelect.components.DropdownIndicator, props, (0, _react.jsx)(_chevronDown.default, {
|
|
40
39
|
label: "open"
|
|
41
40
|
}));
|
|
42
41
|
};
|
|
43
|
-
exports.
|
|
44
|
-
var LoadingIndicator = function LoadingIndicator(props) {
|
|
42
|
+
var LoadingIndicator = exports.LoadingIndicator = function LoadingIndicator(props) {
|
|
45
43
|
var loadingStyles = (0, _react.css)(props.getStyles('loadingIndicator', props));
|
|
46
44
|
return (
|
|
47
45
|
// This *must* be constructed this way because this is being consumed by
|
|
@@ -53,5 +51,4 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
53
51
|
size: "small"
|
|
54
52
|
}))
|
|
55
53
|
);
|
|
56
|
-
};
|
|
57
|
-
exports.LoadingIndicator = LoadingIndicator;
|
|
54
|
+
};
|
|
@@ -8,11 +8,10 @@ exports.Input = void 0;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _reactSelect = require("react-select");
|
|
11
|
-
var Input = function Input(props) {
|
|
11
|
+
var Input = exports.Input = function Input(props) {
|
|
12
12
|
var passed_describedby = props.selectProps['aria-describedby'];
|
|
13
13
|
var describedby = props['aria-describedby'] + (passed_describedby ? ' ' + passed_describedby : '');
|
|
14
14
|
return /*#__PURE__*/_react.default.createElement(_reactSelect.components.Input, (0, _extends2.default)({}, props, {
|
|
15
15
|
"aria-describedby": describedby
|
|
16
16
|
}));
|
|
17
|
-
};
|
|
18
|
-
exports.Input = Input;
|
|
17
|
+
};
|
|
@@ -286,15 +286,13 @@ var ControlOption = /*#__PURE__*/function (_Component) {
|
|
|
286
286
|
}]);
|
|
287
287
|
return ControlOption;
|
|
288
288
|
}(_react2.Component);
|
|
289
|
-
var CheckboxOption = function CheckboxOption(props) {
|
|
289
|
+
var CheckboxOption = exports.CheckboxOption = function CheckboxOption(props) {
|
|
290
290
|
return (0, _react.jsx)(ControlOption, (0, _extends2.default)({
|
|
291
291
|
Icon: _checkbox.default
|
|
292
292
|
}, props));
|
|
293
293
|
};
|
|
294
|
-
exports.
|
|
295
|
-
var RadioOption = function RadioOption(props) {
|
|
294
|
+
var RadioOption = exports.RadioOption = function RadioOption(props) {
|
|
296
295
|
return (0, _react.jsx)(ControlOption, (0, _extends2.default)({
|
|
297
296
|
Icon: _radio.default
|
|
298
297
|
}, props));
|
|
299
|
-
};
|
|
300
|
-
exports.RadioOption = RadioOption;
|
|
298
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.groupedCountries = exports.allCountries = void 0;
|
|
7
|
-
var allCountries = [{
|
|
7
|
+
var allCountries = exports.allCountries = [{
|
|
8
8
|
icon: '🇦🇫',
|
|
9
9
|
name: 'Afghanistan',
|
|
10
10
|
abbr: 'AF',
|
|
@@ -1253,8 +1253,7 @@ var allCountries = [{
|
|
|
1253
1253
|
}];
|
|
1254
1254
|
|
|
1255
1255
|
// separate countries into groups
|
|
1256
|
-
exports.
|
|
1257
|
-
var groupedCountries = [{
|
|
1256
|
+
var groupedCountries = exports.groupedCountries = [{
|
|
1258
1257
|
label: 'Suggested',
|
|
1259
1258
|
options: allCountries.filter(function (c) {
|
|
1260
1259
|
return c.suggested;
|
|
@@ -1264,5 +1263,4 @@ var groupedCountries = [{
|
|
|
1264
1263
|
options: allCountries.filter(function (c) {
|
|
1265
1264
|
return !c.suggested;
|
|
1266
1265
|
})
|
|
1267
|
-
}];
|
|
1268
|
-
exports.groupedCountries = groupedCountries;
|
|
1266
|
+
}];
|
|
@@ -23,9 +23,8 @@ function onFocus(props) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// Helper function which identifies if options are grouped.
|
|
26
|
-
var isOptionsGrouped = function isOptionsGrouped(arr) {
|
|
26
|
+
var isOptionsGrouped = exports.isOptionsGrouped = function isOptionsGrouped(arr) {
|
|
27
27
|
return arr === null || arr === void 0 ? void 0 : arr.every(function (obj) {
|
|
28
28
|
return obj.hasOwnProperty('options');
|
|
29
29
|
});
|
|
30
|
-
};
|
|
31
|
-
exports.isOptionsGrouped = isOptionsGrouped;
|
|
30
|
+
};
|
package/dist/es2019/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
const packageName = "@atlaskit/select";
|
|
5
|
-
const packageVersion = "16.7.
|
|
5
|
+
const packageVersion = "16.7.1";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -224,7 +224,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
224
224
|
if (typeof window === 'undefined') {
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
(_this$unbindWindowKey = (_this2 = _this).unbindWindowKeydown) === null || _this$unbindWindowKey === void 0
|
|
227
|
+
(_this$unbindWindowKey = (_this2 = _this).unbindWindowKeydown) === null || _this$unbindWindowKey === void 0 || _this$unbindWindowKey.call(_this2);
|
|
228
228
|
_this.unbindWindowKeydown = null;
|
|
229
229
|
});
|
|
230
230
|
// Refs
|
|
@@ -349,7 +349,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
349
349
|
onFirstUpdate: function onFirstUpdate(state) {
|
|
350
350
|
var _mergedPopperProps$on;
|
|
351
351
|
_this.handleFirstPopperUpdate();
|
|
352
|
-
(_mergedPopperProps$on = mergedPopperProps.onFirstUpdate) === null || _mergedPopperProps$on === void 0
|
|
352
|
+
(_mergedPopperProps$on = mergedPopperProps.onFirstUpdate) === null || _mergedPopperProps$on === void 0 || _mergedPopperProps$on.call(mergedPopperProps, state);
|
|
353
353
|
}
|
|
354
354
|
}), function (_ref2) {
|
|
355
355
|
var placement = _ref2.placement,
|
|
@@ -423,9 +423,9 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
423
423
|
if (typeof window === 'undefined') {
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
426
|
-
(_this$unbindWindowCli = this.unbindWindowClick) === null || _this$unbindWindowCli === void 0
|
|
426
|
+
(_this$unbindWindowCli = this.unbindWindowClick) === null || _this$unbindWindowCli === void 0 || _this$unbindWindowCli.call(this);
|
|
427
427
|
this.unbindWindowClick = null;
|
|
428
|
-
(_this$unbindWindowKey2 = this.unbindWindowKeydown) === null || _this$unbindWindowKey2 === void 0
|
|
428
|
+
(_this$unbindWindowKey2 = this.unbindWindowKeydown) === null || _this$unbindWindowKey2 === void 0 || _this$unbindWindowKey2.call(this);
|
|
429
429
|
this.unbindWindowKeydown = null;
|
|
430
430
|
}
|
|
431
431
|
}, {
|
package/dist/esm/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
var packageName = "@atlaskit/select";
|
|
5
|
-
var packageVersion = "16.7.
|
|
5
|
+
var packageVersion = "16.7.1";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "16.7.
|
|
3
|
+
"version": "16.7.1",
|
|
4
4
|
"description": "Select allows users to make a single selection or multiple selections from a list of options.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
42
42
|
"@atlaskit/icon": "^21.12.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
44
|
-
"@atlaskit/spinner": "^15.
|
|
44
|
+
"@atlaskit/spinner": "^15.6.0",
|
|
45
45
|
"@atlaskit/theme": "^12.6.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
46
|
+
"@atlaskit/tokens": "^1.25.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^1.2.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"bind-event-listener": "^2.1.1",
|
|
52
52
|
"memoize-one": "^6.0.0",
|
|
53
53
|
"react-fast-compare": "^3.2.0",
|
|
54
|
-
"react-focus-lock": "^2.5
|
|
54
|
+
"react-focus-lock": "^2.9.5",
|
|
55
55
|
"react-node-resolver": "^1.0.1",
|
|
56
56
|
"react-popper": "^2.2.3",
|
|
57
57
|
"react-select": "^5.4.0",
|