@atlaskit/media-test-helpers 34.2.2 → 34.4.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,25 @@
1
1
  # @atlaskit/media-test-helpers
2
2
 
3
+ ## 34.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#141754](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/141754)
8
+ [`71bcccc5aa956`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/71bcccc5aa956) -
9
+ Enable new icons behind a feature flag.
10
+
11
+ ## 34.3.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#140915](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140915)
16
+ [`36b5acc412af5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36b5acc412af5) -
17
+ Design system typography uplift
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 34.2.2
4
24
 
5
25
  ### Patch Changes
@@ -13,8 +13,8 @@ var _primitives = require("@atlaskit/primitives");
13
13
  var _react = _interopRequireWildcard(require("react"));
14
14
  var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
15
15
  var _helpers = require("./helpers");
16
- var _selectClear = _interopRequireDefault(require("@atlaskit/icon/glyph/select-clear"));
17
- var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/hipchat/chevron-down"));
16
+ var _crossCircleSelectClear = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross-circle--select-clear"));
17
+ var _chevronDownHipchatChevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down"));
18
18
  var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
19
19
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
20
20
  var _styled = _interopRequireDefault(require("@emotion/styled"));
@@ -136,9 +136,10 @@ var MediaFeatureFlagsDropdown = function MediaFeatureFlagsDropdown(_ref6) {
136
136
  onClick: function onClick() {
137
137
  return setIsOpen(!isOpen);
138
138
  },
139
- iconAfter: /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
139
+ iconAfter: /*#__PURE__*/_react.default.createElement(_chevronDownHipchatChevronDown.default, {
140
+ color: "currentColor",
140
141
  label: "",
141
- size: "small"
142
+ LEGACY_size: "small"
142
143
  })
143
144
  }), "Media Feature Flags");
144
145
  }
@@ -150,9 +151,10 @@ var MediaFeatureFlagsDropdown = function MediaFeatureFlagsDropdown(_ref6) {
150
151
  style: {
151
152
  marginLeft: 10
152
153
  },
153
- iconBefore: /*#__PURE__*/_react.default.createElement(_selectClear.default, {
154
+ iconBefore: /*#__PURE__*/_react.default.createElement(_crossCircleSelectClear.default, {
155
+ color: "currentColor",
154
156
  label: "Star icon",
155
- size: "small"
157
+ LEGACY_size: "small"
156
158
  }),
157
159
  onClick: function onClick() {
158
160
  (0, _helpers.clearAllLocalFeatureFlags)();
@@ -8,7 +8,7 @@ exports.Matrix = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
 
11
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
12
  var Matrix = exports.Matrix = _styled.default.table({
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
14
  thead: {
@@ -3,8 +3,8 @@ import { Stack, xcss } from '@atlaskit/primitives';
3
3
  import React, { useState } from 'react';
4
4
  import Textfield from '@atlaskit/textfield';
5
5
  import { getMediaFeatureFlags, clearAllLocalFeatureFlags, setLocalFeatureFlag } from './helpers';
6
- import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
7
- import HipchatChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
6
+ import SelectClearIcon from '@atlaskit/icon/core/migration/cross-circle--select-clear';
7
+ import HipchatChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
8
8
  import Button from '@atlaskit/button/standard-button';
9
9
  import Tooltip from '@atlaskit/tooltip';
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -111,8 +111,9 @@ const MediaFeatureFlagsDropdown = ({
111
111
  isSelected: isOpen,
112
112
  onClick: () => setIsOpen(!isOpen),
113
113
  iconAfter: /*#__PURE__*/React.createElement(HipchatChevronDownIcon, {
114
+ color: "currentColor",
114
115
  label: "",
115
- size: "small"
116
+ LEGACY_size: "small"
116
117
  })
117
118
  }), "Media Feature Flags")
118
119
  }), /*#__PURE__*/React.createElement(Tooltip, {
@@ -124,8 +125,9 @@ const MediaFeatureFlagsDropdown = ({
124
125
  marginLeft: 10
125
126
  },
126
127
  iconBefore: /*#__PURE__*/React.createElement(SelectClearIcon, {
128
+ color: "currentColor",
127
129
  label: "Star icon",
128
- size: "small"
130
+ LEGACY_size: "small"
129
131
  }),
130
132
  onClick: () => {
131
133
  clearAllLocalFeatureFlags();
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import styled from '@emotion/styled';
3
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
4
  export const Matrix = styled.table({
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
6
6
  thead: {
@@ -5,8 +5,8 @@ import { Stack, xcss } from '@atlaskit/primitives';
5
5
  import React, { useState } from 'react';
6
6
  import Textfield from '@atlaskit/textfield';
7
7
  import { getMediaFeatureFlags, clearAllLocalFeatureFlags, setLocalFeatureFlag } from './helpers';
8
- import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
9
- import HipchatChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
8
+ import SelectClearIcon from '@atlaskit/icon/core/migration/cross-circle--select-clear';
9
+ import HipchatChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
10
10
  import Button from '@atlaskit/button/standard-button';
11
11
  import Tooltip from '@atlaskit/tooltip';
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -126,8 +126,9 @@ var MediaFeatureFlagsDropdown = function MediaFeatureFlagsDropdown(_ref6) {
126
126
  return setIsOpen(!isOpen);
127
127
  },
128
128
  iconAfter: /*#__PURE__*/React.createElement(HipchatChevronDownIcon, {
129
+ color: "currentColor",
129
130
  label: "",
130
- size: "small"
131
+ LEGACY_size: "small"
131
132
  })
132
133
  }), "Media Feature Flags");
133
134
  }
@@ -140,8 +141,9 @@ var MediaFeatureFlagsDropdown = function MediaFeatureFlagsDropdown(_ref6) {
140
141
  marginLeft: 10
141
142
  },
142
143
  iconBefore: /*#__PURE__*/React.createElement(SelectClearIcon, {
144
+ color: "currentColor",
143
145
  label: "Star icon",
144
- size: "small"
146
+ LEGACY_size: "small"
145
147
  }),
146
148
  onClick: function onClick() {
147
149
  clearAllLocalFeatureFlags();
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import styled from '@emotion/styled';
3
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
4
  export var Matrix = styled.table({
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
6
6
  thead: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "34.2.2",
3
+ "version": "34.4.0",
4
4
  "description": "Collection of test helpers used in media component stories and specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/locale": "^2.8.0",
33
33
  "@atlaskit/media-client": "^28.0.0",
34
34
  "@atlaskit/media-common": "^11.4.0",
35
- "@atlaskit/media-ui": "^25.11.0",
35
+ "@atlaskit/media-ui": "^25.14.0",
36
36
  "@atlaskit/popup": "^1.25.0",
37
37
  "@atlaskit/primitives": "12.1.2",
38
38
  "@atlaskit/tabs": "^16.4.0",