@atlaskit/link-datasource 3.2.1 → 3.3.0

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.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#148132](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148132)
8
+ [`48f3efa1e757b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/48f3efa1e757b) -
9
+ [ux] New icon space fix (https://product-fabric.atlassian.net/browse/DSP-19884)
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.2.1
4
16
 
5
17
  ### Patch Changes
@@ -166,7 +166,8 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref) {
166
166
  })), invalidDateRange && /*#__PURE__*/_react.default.createElement(_styled.DateRangeErrorMessage, null, /*#__PURE__*/_react.default.createElement(_error.default, {
167
167
  LEGACY_size: "small",
168
168
  color: "var(--ds-icon-danger, ".concat(_colors.R400, ")"),
169
- label: "Date range error"
169
+ label: "Date range error",
170
+ LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)")
170
171
  }), invalidDateRange), /*#__PURE__*/_react.default.createElement(_styled.SelectDateRangeButton, {
171
172
  "data-testId": "custom-date-range-update-button",
172
173
  disabled: Boolean(invalidDateRange),
@@ -93,6 +93,8 @@ var DateRangeErrorMessage = exports.DateRangeErrorMessage = _styled.default.div(
93
93
  display: 'flex',
94
94
  lineHeight: 1.3333,
95
95
  marginTop: "var(--ds-space-050, 2px)",
96
+ gap: "var(--ds-space-025, 2px)",
97
+ paddingInlineStart: "var(--ds-space-025, 2px)",
96
98
  fontSize: '12px',
97
99
  color: "var(--ds-text-danger, ".concat(_colors.R400, ")"),
98
100
  alignItems: 'center'
@@ -135,7 +135,8 @@ export const DateRangePicker = ({
135
135
  })), invalidDateRange && /*#__PURE__*/React.createElement(DateRangeErrorMessage, null, /*#__PURE__*/React.createElement(ErrorIcon, {
136
136
  LEGACY_size: "small",
137
137
  color: `var(--ds-icon-danger, ${R400})`,
138
- label: "Date range error"
138
+ label: "Date range error",
139
+ LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"}`
139
140
  }), invalidDateRange), /*#__PURE__*/React.createElement(SelectDateRangeButton, {
140
141
  "data-testId": "custom-date-range-update-button",
141
142
  disabled: Boolean(invalidDateRange),
@@ -83,6 +83,8 @@ export const DateRangeErrorMessage = styled.div({
83
83
  display: 'flex',
84
84
  lineHeight: 1.3333,
85
85
  marginTop: "var(--ds-space-050, 2px)",
86
+ gap: "var(--ds-space-025, 2px)",
87
+ paddingInlineStart: "var(--ds-space-025, 2px)",
86
88
  fontSize: '12px',
87
89
  color: `var(--ds-text-danger, ${R400})`,
88
90
  alignItems: 'center'
@@ -156,7 +156,8 @@ export var DateRangePicker = function DateRangePicker(_ref) {
156
156
  })), invalidDateRange && /*#__PURE__*/React.createElement(DateRangeErrorMessage, null, /*#__PURE__*/React.createElement(ErrorIcon, {
157
157
  LEGACY_size: "small",
158
158
  color: "var(--ds-icon-danger, ".concat(R400, ")"),
159
- label: "Date range error"
159
+ label: "Date range error",
160
+ LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)")
160
161
  }), invalidDateRange), /*#__PURE__*/React.createElement(SelectDateRangeButton, {
161
162
  "data-testId": "custom-date-range-update-button",
162
163
  disabled: Boolean(invalidDateRange),
@@ -85,6 +85,8 @@ export var DateRangeErrorMessage = styled.div({
85
85
  display: 'flex',
86
86
  lineHeight: 1.3333,
87
87
  marginTop: "var(--ds-space-050, 2px)",
88
+ gap: "var(--ds-space-025, 2px)",
89
+ paddingInlineStart: "var(--ds-space-025, 2px)",
88
90
  fontSize: '12px',
89
91
  color: "var(--ds-text-danger, ".concat(R400, ")"),
90
92
  alignItems: 'center'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -79,7 +79,7 @@
79
79
  "@atlaskit/textfield": "6.5.2",
80
80
  "@atlaskit/theme": "^13.0.0",
81
81
  "@atlaskit/tokens": "^2.0.0",
82
- "@atlaskit/tooltip": "^18.7.0",
82
+ "@atlaskit/tooltip": "^18.8.0",
83
83
  "@atlaskit/ufo": "^0.3.0",
84
84
  "@atlaskit/width-detector": "^4.3.0",
85
85
  "@babel/runtime": "^7.0.0",