@atlaskit/select 21.3.3 → 21.3.5
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 +12 -35
- package/dist/cjs/PopupSelect/PopupSelect.js +1 -1
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/input-options.js +2 -6
- package/dist/cjs/createSelect.js +1 -3
- package/dist/es2019/PopupSelect/PopupSelect.js +0 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/input-options.js +2 -6
- package/dist/es2019/createSelect.js +0 -1
- package/dist/esm/PopupSelect/PopupSelect.js +0 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/input-options.js +2 -6
- package/dist/esm/createSelect.js +0 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 21.3.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 21.3.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 21.3.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -283,7 +295,6 @@
|
|
|
283
295
|
- [#138461](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138461)
|
|
284
296
|
[`455c7f648d71a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/455c7f648d71a) -
|
|
285
297
|
Internal refactor to PopupSelect behind a feature flag.
|
|
286
|
-
|
|
287
298
|
- No longer closing the popup when the internal select menu's onMenuClose is called.
|
|
288
299
|
- It now registers with the experimental open layer observer, allowing it to close when the
|
|
289
300
|
observer gives the close signal (e.g. when resizing a page layout slot).
|
|
@@ -1388,7 +1399,6 @@
|
|
|
1388
1399
|
- [#35267](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35267)
|
|
1389
1400
|
[`96ac277d0d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96ac277d0d7) - [ux] -
|
|
1390
1401
|
created custom onFocus function, which overwrites built in onFocus method for ariaLiveMessages;
|
|
1391
|
-
|
|
1392
1402
|
- function is conditionally invoked only for grouped select options to enable group label
|
|
1393
1403
|
announcement with it's group options;
|
|
1394
1404
|
|
|
@@ -1897,7 +1907,6 @@
|
|
|
1897
1907
|
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
1898
1908
|
[`145c9cea461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/145c9cea461) - [ux]
|
|
1899
1909
|
Added 2 new props for controlling the open state of PopupSelect:
|
|
1900
|
-
|
|
1901
1910
|
- `isOpen` controls whether the popup is open (controlled)
|
|
1902
1911
|
- `defaultIsOpen` controls whether the popup is initially open on mount (uncontrolled)
|
|
1903
1912
|
|
|
@@ -2234,7 +2243,6 @@
|
|
|
2234
2243
|
values accepted by the `popperProps` prop.
|
|
2235
2244
|
|
|
2236
2245
|
Changes labelled with ⚙️ have codemod support:
|
|
2237
|
-
|
|
2238
2246
|
- ⚙️ the `positionFixed` prop has been replaced with `strategy`, which takes either `"fixed"` or
|
|
2239
2247
|
`"absolute"`
|
|
2240
2248
|
- the `modifiers` prop has been significantly updated:
|
|
@@ -2434,7 +2442,6 @@
|
|
|
2434
2442
|
|
|
2435
2443
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
2436
2444
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2437
|
-
|
|
2438
2445
|
- @atlaskit/docs@8.3.2
|
|
2439
2446
|
- @atlaskit/visual-regression@0.1.9
|
|
2440
2447
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -2838,7 +2845,6 @@
|
|
|
2838
2845
|
## 9.1.3
|
|
2839
2846
|
|
|
2840
2847
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
2841
|
-
|
|
2842
2848
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
2843
2849
|
Request #5942 for details
|
|
2844
2850
|
|
|
@@ -2865,19 +2871,16 @@
|
|
|
2865
2871
|
## 9.1.0
|
|
2866
2872
|
|
|
2867
2873
|
- [minor][3d5ab16856](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3d5ab16856):
|
|
2868
|
-
|
|
2869
2874
|
- Add missing dependency @emotion/core
|
|
2870
2875
|
|
|
2871
2876
|
## 9.0.1
|
|
2872
2877
|
|
|
2873
2878
|
- [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
|
|
2874
|
-
|
|
2875
2879
|
- Clean couple of TODO's that were already done
|
|
2876
2880
|
|
|
2877
2881
|
## 9.0.0
|
|
2878
2882
|
|
|
2879
2883
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2880
|
-
|
|
2881
2884
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
2882
2885
|
this package, please ensure you use at least this version of react and react-dom.
|
|
2883
2886
|
|
|
@@ -2899,7 +2902,6 @@
|
|
|
2899
2902
|
## 8.1.0
|
|
2900
2903
|
|
|
2901
2904
|
- [minor][b50c289008](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b50c289008):
|
|
2902
|
-
|
|
2903
2905
|
- Don't close popup select when cleared.
|
|
2904
2906
|
|
|
2905
2907
|
## 8.0.5
|
|
@@ -2921,7 +2923,6 @@
|
|
|
2921
2923
|
## 8.0.4
|
|
2922
2924
|
|
|
2923
2925
|
- [patch][2a90c65e27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a90c65e27):
|
|
2924
|
-
|
|
2925
2926
|
- Fix, and guard against, missing refs
|
|
2926
2927
|
|
|
2927
2928
|
## 8.0.3
|
|
@@ -2943,20 +2944,17 @@
|
|
|
2943
2944
|
## 8.0.2
|
|
2944
2945
|
|
|
2945
2946
|
- [patch][87808b7791](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87808b7791):
|
|
2946
|
-
|
|
2947
2947
|
- AK-5973 expose handleKeyDown as prop for PopupSelect
|
|
2948
2948
|
|
|
2949
2949
|
## 8.0.1
|
|
2950
2950
|
|
|
2951
2951
|
- [patch][69c6f6acb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/69c6f6acb7):
|
|
2952
|
-
|
|
2953
2952
|
- Minor bug fixes in 2.4.2 react-select patch. See the release notes for details here
|
|
2954
2953
|
https://github.com/JedWatson/react-select/releases/tag/v2.4.2
|
|
2955
2954
|
|
|
2956
2955
|
## 8.0.0
|
|
2957
2956
|
|
|
2958
2957
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
2959
|
-
|
|
2960
2958
|
- Drop ES5 from all the flow modules
|
|
2961
2959
|
|
|
2962
2960
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -3001,38 +2999,32 @@
|
|
|
3001
2999
|
## 7.2.2
|
|
3002
3000
|
|
|
3003
3001
|
- [patch][39850f9615](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/39850f9615):
|
|
3004
|
-
|
|
3005
3002
|
- Popup select set focus to selected option, instead of the first option, when the menu opens
|
|
3006
3003
|
|
|
3007
3004
|
## 7.2.1
|
|
3008
3005
|
|
|
3009
3006
|
- [patch][37c2eeec43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/37c2eeec43):
|
|
3010
|
-
|
|
3011
3007
|
- Added possibility to add compact styling for multi select component
|
|
3012
3008
|
|
|
3013
3009
|
## 7.2.0
|
|
3014
3010
|
|
|
3015
3011
|
- [minor][46ffd45f21](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/46ffd45f21):
|
|
3016
|
-
|
|
3017
3012
|
- Added ability to toggle animations in atlaskit/select, updated UserPicker to disable animations
|
|
3018
3013
|
using this new behaviour
|
|
3019
3014
|
|
|
3020
3015
|
## 7.1.2
|
|
3021
3016
|
|
|
3022
3017
|
- [patch][bcdb413cb4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bcdb413cb4):
|
|
3023
|
-
|
|
3024
3018
|
- Encapsulate checkbox/radio option styles inside the primitive
|
|
3025
3019
|
|
|
3026
3020
|
## 7.1.1
|
|
3027
3021
|
|
|
3028
3022
|
- [patch][896bf5bef9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/896bf5bef9):
|
|
3029
|
-
|
|
3030
3023
|
- Fix bug breaking mobile UX, and causing menu to not be openable on touch
|
|
3031
3024
|
|
|
3032
3025
|
## 7.1.0
|
|
3033
3026
|
|
|
3034
3027
|
- [minor][571ec20522](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/571ec20522):
|
|
3035
|
-
|
|
3036
3028
|
- Updated react-select to 2.4.0, includes updates to BEM modifiers in options, for more
|
|
3037
3029
|
information see the react-select release notes
|
|
3038
3030
|
https://github.com/JedWatson/react-select/releases/tag/v2.4.0
|
|
@@ -3043,13 +3035,11 @@
|
|
|
3043
3035
|
## 7.0.0
|
|
3044
3036
|
|
|
3045
3037
|
- [major][06713e0a0c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06713e0a0c):
|
|
3046
|
-
|
|
3047
3038
|
- popup select "target" is now a function that must resolve to a node
|
|
3048
3039
|
|
|
3049
3040
|
## 6.1.20
|
|
3050
3041
|
|
|
3051
3042
|
- [patch][957778f085](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/957778f085):
|
|
3052
|
-
|
|
3053
3043
|
- Expose CheckboxOption and RadioOption from select package
|
|
3054
3044
|
|
|
3055
3045
|
## 6.1.19
|
|
@@ -3067,31 +3057,26 @@
|
|
|
3067
3057
|
## 6.1.18
|
|
3068
3058
|
|
|
3069
3059
|
- [patch][6148c6c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6148c6c):
|
|
3070
|
-
|
|
3071
3060
|
- AK-5693 apply styles to loading indicator
|
|
3072
3061
|
|
|
3073
3062
|
## 6.1.17
|
|
3074
3063
|
|
|
3075
3064
|
- [patch][e9ccac7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e9ccac7):
|
|
3076
|
-
|
|
3077
3065
|
- pin react-select at 2.1.x to avoid SSR issues in 2.2.0
|
|
3078
3066
|
|
|
3079
3067
|
## 6.1.16
|
|
3080
3068
|
|
|
3081
3069
|
- [patch][b9b1900](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9b1900):
|
|
3082
|
-
|
|
3083
3070
|
- Use @atlaskit/select instead of @atlaskit/single-select on the Fullscreen examples on website
|
|
3084
3071
|
|
|
3085
3072
|
## 6.1.15
|
|
3086
3073
|
|
|
3087
3074
|
- [patch][6195ac3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6195ac3):
|
|
3088
|
-
|
|
3089
3075
|
- remove animated functionality to temporarily resolve blocking issue with portal
|
|
3090
3076
|
|
|
3091
3077
|
## 6.1.14
|
|
3092
3078
|
|
|
3093
3079
|
- [patch][a048a85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a048a85):
|
|
3094
|
-
|
|
3095
3080
|
- Updated to be compatible with new Forms API
|
|
3096
3081
|
|
|
3097
3082
|
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
@@ -3115,13 +3100,11 @@
|
|
|
3115
3100
|
## 6.1.12
|
|
3116
3101
|
|
|
3117
3102
|
- [patch][82fc5f5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/82fc5f5):
|
|
3118
|
-
|
|
3119
3103
|
- Pinning react-popper to 1.0.2 to avoid recursive bug
|
|
3120
3104
|
|
|
3121
3105
|
## 6.1.11
|
|
3122
3106
|
|
|
3123
3107
|
- [patch][bfc508c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bfc508c):
|
|
3124
|
-
|
|
3125
3108
|
- CheckboxSelect options now have correct flex styles on the option value
|
|
3126
3109
|
|
|
3127
3110
|
## 6.1.10
|
|
@@ -3167,39 +3150,33 @@
|
|
|
3167
3150
|
## 6.1.7
|
|
3168
3151
|
|
|
3169
3152
|
- [patch][1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
|
|
3170
|
-
|
|
3171
3153
|
- Fixed issue where tooltips and modals would initially render in the wrong location
|
|
3172
3154
|
|
|
3173
3155
|
## 6.1.6
|
|
3174
3156
|
|
|
3175
3157
|
- [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
|
|
3176
|
-
|
|
3177
3158
|
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
|
|
3178
3159
|
to type check properly
|
|
3179
3160
|
|
|
3180
3161
|
## 6.1.5
|
|
3181
3162
|
|
|
3182
3163
|
- [patch][fcf97d8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fcf97d8):
|
|
3183
|
-
|
|
3184
3164
|
- Fix countries and mismatched flags
|
|
3185
3165
|
|
|
3186
3166
|
## 6.1.4
|
|
3187
3167
|
|
|
3188
3168
|
- [patch][6ab8e95](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ab8e95" d):
|
|
3189
|
-
|
|
3190
3169
|
- Removed wrapping div from around selects as it is no longer needed when using the latest
|
|
3191
3170
|
inline-dialog component.
|
|
3192
3171
|
|
|
3193
3172
|
## 6.1.3
|
|
3194
3173
|
|
|
3195
3174
|
- [patch][dab963b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dab963b" d):
|
|
3196
|
-
|
|
3197
3175
|
- Make sure portal binds to DOM only
|
|
3198
3176
|
|
|
3199
3177
|
## 6.1.2
|
|
3200
3178
|
|
|
3201
3179
|
- [patch][0782e03](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0782e03" d):
|
|
3202
|
-
|
|
3203
3180
|
- bumped react-select to 2.1.1 minor bug fixes including mirroring the logic for the backspace key
|
|
3204
3181
|
to delete, and stripping theme props from Input and GroupHeading dom elements. See
|
|
3205
3182
|
https://github.com/JedWatson/react-select/releases/tag/v2.1.1 for details
|
|
@@ -32,7 +32,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
32
32
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
33
33
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34
34
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
35
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
35
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
36
36
|
/**
|
|
37
37
|
* Are we rendering on the client or server?
|
|
38
38
|
*/
|
package/dist/cjs/Select.js
CHANGED
|
@@ -11,7 +11,7 @@ var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
|
11
11
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
12
12
|
|
|
13
13
|
var packageName = "@atlaskit/select";
|
|
14
|
-
var packageVersion = "
|
|
14
|
+
var packageVersion = "21.3.4";
|
|
15
15
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_async.default);
|
|
16
16
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
17
17
|
var Select = (0, _analyticsNext.withAnalyticsContext)({
|
|
@@ -168,9 +168,7 @@ var NewRadioIcon = function NewRadioIcon(props) {
|
|
|
168
168
|
*/
|
|
169
169
|
var CheckboxOption = exports.CheckboxOption = function CheckboxOption(props) {
|
|
170
170
|
return /*#__PURE__*/React.createElement(ControlOption, (0, _extends2.default)({
|
|
171
|
-
Icon:
|
|
172
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
173
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
171
|
+
Icon: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
174
172
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
175
173
|
_checkbox.default
|
|
176
174
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -185,9 +183,7 @@ var RadioOption = exports.RadioOption = function RadioOption(props) {
|
|
|
185
183
|
/*#__PURE__*/
|
|
186
184
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
187
185
|
React.createElement(ControlOption, (0, _extends2.default)({
|
|
188
|
-
Icon:
|
|
189
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
190
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
186
|
+
Icon: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
191
187
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
192
188
|
_radio.default
|
|
193
189
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
package/dist/cjs/createSelect.js
CHANGED
|
@@ -9,9 +9,7 @@ exports.default = createSelect;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"];
|
|
13
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
14
|
-
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
12
|
+
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"]; // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
15
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
14
|
function createSelect(WrappedComponent) {
|
|
17
15
|
var AtlaskitSelect = /*#__PURE__*/(0, _react.forwardRef)(function AtlaskitSelect(props, forwardedRef) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
4
3
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
5
4
|
import React, { PureComponent } from 'react';
|
|
6
5
|
import { bind } from 'bind-event-listener';
|
package/dist/es2019/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
const packageName = "@atlaskit/select";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "21.3.4";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
|
@@ -146,9 +146,7 @@ React.createElement(PrimitiveSVGIcon, props, /*#__PURE__*/React.createElement("g
|
|
|
146
146
|
* __Checkbox option__
|
|
147
147
|
*/
|
|
148
148
|
export const CheckboxOption = props => /*#__PURE__*/React.createElement(ControlOption, _extends({
|
|
149
|
-
Icon:
|
|
150
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
151
|
-
fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
149
|
+
Icon: fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
152
150
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
153
151
|
CheckboxIcon
|
|
154
152
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -161,9 +159,7 @@ export const RadioOption = props =>
|
|
|
161
159
|
/*#__PURE__*/
|
|
162
160
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
163
161
|
React.createElement(ControlOption, _extends({
|
|
164
|
-
Icon:
|
|
165
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
166
|
-
fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
162
|
+
Icon: fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
167
163
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
168
164
|
RadioIcon
|
|
169
165
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
3
2
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
4
3
|
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
5
4
|
export default function createSelect(WrappedComponent) {
|
|
@@ -11,7 +11,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
15
14
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
16
15
|
import React, { PureComponent } from 'react';
|
|
17
16
|
import { bind } from 'bind-event-listener';
|
package/dist/esm/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
var packageName = "@atlaskit/select";
|
|
6
|
-
var packageVersion = "
|
|
6
|
+
var packageVersion = "21.3.4";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
|
@@ -159,9 +159,7 @@ var NewRadioIcon = function NewRadioIcon(props) {
|
|
|
159
159
|
*/
|
|
160
160
|
export var CheckboxOption = function CheckboxOption(props) {
|
|
161
161
|
return /*#__PURE__*/React.createElement(ControlOption, _extends({
|
|
162
|
-
Icon:
|
|
163
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
164
|
-
fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
162
|
+
Icon: fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
165
163
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
166
164
|
CheckboxIcon
|
|
167
165
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -176,9 +174,7 @@ export var RadioOption = function RadioOption(props) {
|
|
|
176
174
|
/*#__PURE__*/
|
|
177
175
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
178
176
|
React.createElement(ControlOption, _extends({
|
|
179
|
-
Icon:
|
|
180
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
181
|
-
fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
177
|
+
Icon: fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
182
178
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
183
179
|
RadioIcon
|
|
184
180
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
package/dist/esm/createSelect.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"];
|
|
4
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
5
4
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
5
|
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
7
6
|
export default function createSelect(WrappedComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.5",
|
|
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/"
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
37
|
-
"@atlaskit/icon": "^28.
|
|
37
|
+
"@atlaskit/icon": "^28.5.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
|
-
"@atlaskit/primitives": "^
|
|
40
|
-
"@atlaskit/react-select": "^3.
|
|
39
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
40
|
+
"@atlaskit/react-select": "^3.8.0",
|
|
41
41
|
"@atlaskit/spinner": "^19.0.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
43
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
44
44
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
|
-
"@compiled/react": "^0.18.
|
|
46
|
+
"@compiled/react": "^0.18.6",
|
|
47
47
|
"@popperjs/core": "^2.11.8",
|
|
48
48
|
"bind-event-listener": "^3.0.0",
|
|
49
49
|
"react-focus-lock": "^2.9.5",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"@af/accessibility-testing": "workspace:^",
|
|
59
59
|
"@af/integration-testing": "workspace:^",
|
|
60
60
|
"@af/visual-regression": "workspace:^",
|
|
61
|
-
"@atlaskit/button": "^23.
|
|
61
|
+
"@atlaskit/button": "^23.5.0",
|
|
62
62
|
"@atlaskit/checkbox": "^17.1.0",
|
|
63
|
-
"@atlaskit/docs": "^11.
|
|
63
|
+
"@atlaskit/docs": "^11.2.0",
|
|
64
64
|
"@atlaskit/drawer": "^11.0.0",
|
|
65
65
|
"@atlaskit/form": "^14.2.0",
|
|
66
66
|
"@atlaskit/link": "^3.2.0",
|
|
67
|
-
"@atlaskit/logo": "^19.
|
|
68
|
-
"@atlaskit/modal-dialog": "^14.
|
|
67
|
+
"@atlaskit/logo": "^19.9.0",
|
|
68
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
69
69
|
"@atlaskit/radio": "^8.3.0",
|
|
70
70
|
"@atlaskit/section-message": "^8.7.0",
|
|
71
71
|
"@atlassian/ssr-tests": "^0.3.0",
|