@atlaskit/link-datasource 3.4.0 → 3.4.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 3.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#143559](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143559)
8
+ [`56dfbfe361f96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56dfbfe361f96) -
9
+ Upgrade react-select from 5.4 to 5.8 and replace it with internal atlaskit/react-select
10
+ - [#143559](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143559)
11
+ [`56dfbfe361f96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56dfbfe361f96) -
12
+ Upgrade react-select from 5.4 to 5.8 and replace it with internal atlaskit/react-select
13
+ - Updated dependencies
14
+
3
15
  ## 3.4.0
4
16
 
5
17
  ### Minor Changes
@@ -184,7 +184,9 @@ var FilterPopupSelect = exports.FilterPopupSelect = function FilterPopupSelect(_
184
184
  shouldCloseMenuOnTab: false,
185
185
  hideSelectedOptions: false,
186
186
  isLoading: showLoading,
187
- placeholder: formatMessage(_messages.asyncPopupSelectMessages.selectPlaceholder),
187
+ placeholder: formatMessage(_messages.asyncPopupSelectMessages.selectPlaceholder)
188
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
189
+ ,
188
190
  menuListProps: menuListProps,
189
191
  components: {
190
192
  Option: _select.CheckboxOption,
@@ -25,7 +25,9 @@ var showMoreButtonBoxStyles = (0, _primitives.xcss)({
25
25
  var CustomMenuList = function CustomMenuList(_ref) {
26
26
  var children = _ref.children,
27
27
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
- var _props$selectProps$me = props.selectProps.menuListProps,
28
+ var _props$selectProps$me =
29
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
30
+ props.selectProps.menuListProps,
29
31
  filterName = _props$selectProps$me.filterName,
30
32
  isLoading = _props$selectProps$me.isLoading,
31
33
  isLoadingMore = _props$selectProps$me.isLoadingMore,
@@ -135,7 +135,9 @@ var ColumnPicker = exports.ColumnPicker = function ColumnPicker(_ref) {
135
135
  ignoreAccents: false
136
136
  }),
137
137
  options: allOptions,
138
- value: selectedOptions,
138
+ value: selectedOptions
139
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
140
+ ,
139
141
  onOpen: handleOpen,
140
142
  closeMenuOnSelect: false,
141
143
  hideSelectedOptions: false,
@@ -145,7 +147,7 @@ var ColumnPicker = exports.ColumnPicker = function ColumnPicker(_ref) {
145
147
  isOptionDisabled: handleIsOptionDisabled,
146
148
  placeholder: intl.formatMessage(_messages.columnPickerMessages.search),
147
149
  onKeyDown: stopEscapePropagationWhenOpen,
148
- "aria-label": "Search for fields",
150
+ label: "Search for fields",
149
151
  onChange: handleChange,
150
152
  isLoading: allOptions.length === 0,
151
153
  target: function target(_ref8) {
@@ -137,7 +137,9 @@ export const FilterPopupSelect = ({
137
137
  shouldCloseMenuOnTab: false,
138
138
  hideSelectedOptions: false,
139
139
  isLoading: showLoading,
140
- placeholder: formatMessage(asyncPopupSelectMessages.selectPlaceholder),
140
+ placeholder: formatMessage(asyncPopupSelectMessages.selectPlaceholder)
141
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
142
+ ,
141
143
  menuListProps: menuListProps,
142
144
  components: {
143
145
  Option: CheckboxOption,
@@ -26,7 +26,9 @@ const CustomMenuList = ({
26
26
  errors,
27
27
  showMore,
28
28
  handleShowMore
29
- } = props.selectProps.menuListProps;
29
+ } =
30
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
31
+ props.selectProps.menuListProps;
30
32
  const shouldDisplayShowMore = showMore && !isLoadingMore;
31
33
  const isLoadingMoreData = !shouldDisplayShowMore && isLoadingMore;
32
34
  const InlineSpinner = () => /*#__PURE__*/React.createElement(Flex, {
@@ -111,7 +111,9 @@ export const ColumnPicker = ({
111
111
  ignoreAccents: false
112
112
  }),
113
113
  options: allOptions,
114
- value: selectedOptions,
114
+ value: selectedOptions
115
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
116
+ ,
115
117
  onOpen: handleOpen,
116
118
  closeMenuOnSelect: false,
117
119
  hideSelectedOptions: false,
@@ -121,7 +123,7 @@ export const ColumnPicker = ({
121
123
  isOptionDisabled: handleIsOptionDisabled,
122
124
  placeholder: intl.formatMessage(columnPickerMessages.search),
123
125
  onKeyDown: stopEscapePropagationWhenOpen,
124
- "aria-label": "Search for fields",
126
+ label: "Search for fields",
125
127
  onChange: handleChange,
126
128
  isLoading: allOptions.length === 0,
127
129
  target: ({
@@ -174,7 +174,9 @@ export var FilterPopupSelect = function FilterPopupSelect(_ref) {
174
174
  shouldCloseMenuOnTab: false,
175
175
  hideSelectedOptions: false,
176
176
  isLoading: showLoading,
177
- placeholder: formatMessage(asyncPopupSelectMessages.selectPlaceholder),
177
+ placeholder: formatMessage(asyncPopupSelectMessages.selectPlaceholder)
178
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
179
+ ,
178
180
  menuListProps: menuListProps,
179
181
  components: {
180
182
  Option: CheckboxOption,
@@ -18,7 +18,9 @@ var showMoreButtonBoxStyles = xcss({
18
18
  var CustomMenuList = function CustomMenuList(_ref) {
19
19
  var children = _ref.children,
20
20
  props = _objectWithoutProperties(_ref, _excluded);
21
- var _props$selectProps$me = props.selectProps.menuListProps,
21
+ var _props$selectProps$me =
22
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
23
+ props.selectProps.menuListProps,
22
24
  filterName = _props$selectProps$me.filterName,
23
25
  isLoading = _props$selectProps$me.isLoading,
24
26
  isLoadingMore = _props$selectProps$me.isLoadingMore,
@@ -129,7 +129,9 @@ export var ColumnPicker = function ColumnPicker(_ref) {
129
129
  ignoreAccents: false
130
130
  }),
131
131
  options: allOptions,
132
- value: selectedOptions,
132
+ value: selectedOptions
133
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
134
+ ,
133
135
  onOpen: handleOpen,
134
136
  closeMenuOnSelect: false,
135
137
  hideSelectedOptions: false,
@@ -139,7 +141,7 @@ export var ColumnPicker = function ColumnPicker(_ref) {
139
141
  isOptionDisabled: handleIsOptionDisabled,
140
142
  placeholder: intl.formatMessage(columnPickerMessages.search),
141
143
  onKeyDown: stopEscapePropagationWhenOpen,
142
- "aria-label": "Search for fields",
144
+ label: "Search for fields",
143
145
  onChange: handleChange,
144
146
  isLoading: allOptions.length === 0,
145
147
  target: function target(_ref8) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -71,12 +71,12 @@
71
71
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.2.0",
72
72
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
73
73
  "@atlaskit/primitives": "^12.2.0",
74
- "@atlaskit/select": "^17.19.0",
74
+ "@atlaskit/select": "^18.0.0",
75
75
  "@atlaskit/smart-card": "^29.0.0",
76
- "@atlaskit/smart-user-picker": "6.10.2",
76
+ "@atlaskit/smart-user-picker": "6.10.3",
77
77
  "@atlaskit/spinner": "^16.3.0",
78
78
  "@atlaskit/tag": "^12.6.0",
79
- "@atlaskit/textfield": "6.5.2",
79
+ "@atlaskit/textfield": "6.5.3",
80
80
  "@atlaskit/theme": "^13.0.0",
81
81
  "@atlaskit/tokens": "^2.0.0",
82
82
  "@atlaskit/tooltip": "^18.8.0",